GAMS error: Error: Could not spawn gamscmex, rc = 1

Hi GAMS user,

I recently faced the following error message

Error: Could not spawn gamscmex, rc = 1

using this GAMS script

set i /1*5/
parameter k;
k = 0;
loop(i, k = k +1;);

with GAMS 24.2 on a Linux Server with 2x Intel Xeon E5462 Quad Core, 8x2,80 GHz, FSB 1600 MHz, 16 GB RAM and GNU/Linux auf x86-64 (SLES10SP2, Kernel 2.6.16.60).

To me, this is puzzling.

http://interfaces.gams-software.com/doku.php?id=env:gams_return_codes tells me, that rc=1 should never be returned …???

Any idea is greatly appreciated.

Best
Sven


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Sven,

The message says that gamscmex could not be spawned. If it could not be spawned, then it cannot be returning any code: it never got started. So the rc=1 is coming from the gams executable.

-Steve


On Fri, Jul 25, 2014 at 10:05 AM, svenne wrote:

Hi GAMS user,

I recently faced the following error message

Error: Could not spawn gamscmex, rc = 1

using this GAMS script

set i /1*5/
parameter k;
k = 0;
loop(i, k = k +1;);

with GAMS 24.2 on a Linux Server with 2x Intel Xeon E5462 Quad Core, 8x2,80 GHz, FSB 1600 MHz, 16 GB RAM and GNU/Linux auf x86-64 (SLES10SP2, Kernel 2.6.16.60).

To me, this is puzzling.

http://interfaces.gams-software.com/doku.php?id=env:gams_return_codes tells me, that rc=1 should never be returned …???

Any idea is greatly appreciated.

Best
Sven


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Steven Dirkse, Ph.D.
GAMS Development Corp., Washington DC
Voice: (202)342-0180 Fax: (202)342-0181
sdirkse@gams.com
http://www.gams.com

Steve,

Thank you so much for your post. Meanwhile, I figured out what the underlying issues was. The system I’m using is a Linux cluster. I did not put the GAMS home into my path. So the job that I’ve queued, did not figure out where the .exe and the .gms files where. I guess that caused the problem, that GAMS never got started …

Best
Sven


Am Freitag, 25. Juli 2014 16:59:39 UTC+2 schrieb Steven Dirkse:

Sven,

The message says that gamscmex could not be spawned. If it could not be spawned, then it cannot be returning any code: it never got started. So the rc=1 is coming from the gams executable.

-Steve


On Fri, Jul 25, 2014 at 10:05 AM, svenne wrote:

Hi GAMS user,

I recently faced the following error message

Error: Could not spawn gamscmex, rc = 1

using this GAMS script

set i /1*5/
parameter k;
k = 0;
loop(i, k = k +1;);

with GAMS 24.2 on a Linux Server with 2x Intel Xeon E5462 Quad Core, 8x2,80 GHz, FSB 1600 MHz, 16 GB RAM and GNU/Linux auf x86-64 (SLES10SP2, Kernel 2.6.16.60).

To me, this is puzzling.

http://interfaces.gams-software.com/doku.php?id=env:gams_return_codes tells me, that rc=1 should never be returned …???

Any idea is greatly appreciated.

Best
Sven


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Steven Dirkse, Ph.D.
GAMS Development Corp., Washington DC
Voice: (202)342-0180 Fax: (202)342-0181
sdi...@gams.com
http://www.gams.com


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi Sven,

Did you solve the problem? Coz I have the same problem here. And I set up the directory and gms file right. The error came out after it started generating mip models. I am thinking that it might exceed the memory. But the weird thing is that the error in memory exceeding is different from this “*** Error: Could not spawn gamscmex, rc = 1”. And the line next to it is also connfusing me:

Cmex executable : /nics/b/home/zhj0735/gams/gams24.2_linux_x64_64_sfx/gamscmex.out
System directory: /nics/b/home/zhj0735/gams/gams24.2_linux_x64_64_sfx
What do you think that might cause this issue?

Thanks,
Jia
在 2014年7月25日星期五 UTC-4上午10:05:11,svenne写道:

Hi GAMS user,

I recently faced the following error message

Error: Could not spawn gamscmex, rc = 1

using this GAMS script

set i /1*5/
parameter k;
k = 0;
loop(i, k = k +1;);

with GAMS 24.2 on a Linux Server with 2x Intel Xeon E5462 Quad Core, 8x2,80 GHz, FSB 1600 MHz, 16 GB RAM and GNU/Linux auf x86-64 (SLES10SP2, Kernel 2.6.16.60).

To me, this is puzzling.

http://interfaces.gams-software.com/doku.php?id=env:gams_return_codes tells me, that rc=1 should never be returned …???

Any idea is greatly appreciated.

Best
Sven


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.