GAMS Gurobi solver issue on linux

I’m having trouble running version gams24.0_linux_x64_64_sfx of GAMS with the gurobi solver.

GAMS begins running then fails with the following when the solver is invoked:

— Executing GUROBI: elapsed 0:00:05.537
*** gevCallSolver: Solve failed (GUROBI,MIP,sl=5)
*** gevCallSolver: rc=1 msg=libgurobi.so: cannot open shared object file: No such file or directory (problem occurred when trying to load libgrbcclib64.so)
*** Failure calling solver: GUROBI (rc=1)


I’ve added the GAMS directory to the PATH and LD_LIBRARY_PATH environment variables without luck. I don’t know why the solver is unable to find the shared library.

I’m running on Ubuntu 12.04 64 bit.

Any ideas?


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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

Earl,

I justed tested GAMS/Gurobi on such a machine:

Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-39-generic x86_64)

I do not have any problems running Gurobi. Also, there should be no reason to set LD_LIBRARY_PATH if you are running regularly the gams executable. Please verify that your installation is not corrupted. In particular check that the following files are there and have good permissions

$ ll libguro*
lrwxrwxrwx 1 distrib distrib 18 Mar 28 05:35 libgurobi.so → libgurobi.so.5.1.0
-rwxr-xr-x 1 distrib distrib 8243549 Jan 16 14:06 libgurobi.so.5.1.0

Also see if there are any issue with resolving Gurobi’s dependencies:

$ ldd libgurobi.so.5.1.0
linux-vdso.so.1 => (0x00007fffa8392000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcfd47e1000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcfd45c4000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcfd4204000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcfd548b000)

Hope this helps,
Michael Bussieck - GAMSWorld Coordinator


On Wednesday, March 27, 2013 6:53:15 PM UTC-4, C. Earl Maresh wrote:

I’m having trouble running version gams24.0_linux_x64_64_sfx of GAMS with the gurobi solver.

GAMS begins running then fails with the following when the solver is invoked:

— Executing GUROBI: elapsed 0:00:05.537
*** gevCallSolver: Solve failed (GUROBI,MIP,sl=5)
*** gevCallSolver: rc=1 msg=libgurobi.so: cannot open shared object file: No such file or directory (problem occurred when trying to load libgrbcclib64.so)
*** Failure calling solver: GUROBI (rc=1)


I’ve added the GAMS directory to the PATH and LD_LIBRARY_PATH environment variables without luck. I don’t know why the solver is unable to find the shared library.

I’m running on Ubuntu 12.04 64 bit.

Any ideas?


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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

Michael,

It was a corrupted installation as I was missing the sym links. The problem was I used the built-in Ubuntu unarchiver to extract the files rather than executing the binary directly. After re-running the installation the solver worked as expected.

Thanks for reply!

On Thursday, March 28, 2013 4:42:36 AM UTC-5, Michael Bussieck wrote:

Earl,

I justed tested GAMS/Gurobi on such a machine:

Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-39-generic x86_64)

I do not have any problems running Gurobi. Also, there should be no reason to set LD_LIBRARY_PATH if you are running regularly the gams executable. Please verify that your installation is not corrupted. In particular check that the following files are there and have good permissions

$ ll libguro*
lrwxrwxrwx 1 distrib distrib 18 Mar 28 05:35 libgurobi.so → libgurobi.so.5.1.0
-rwxr-xr-x 1 distrib distrib 8243549 Jan 16 14:06 libgurobi.so.5.1.0

Also see if there are any issue with resolving Gurobi’s dependencies:

$ ldd libgurobi.so.5.1.0
linux-vdso.so.1 => (0x00007fffa8392000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcfd47e1000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcfd45c4000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcfd4204000)
/lib64/ld-linux-x86-64.so.2 (0x00007fcfd548b000)

Hope this helps,
Michael Bussieck - GAMSWorld Coordinator


On Wednesday, March 27, 2013 6:53:15 PM UTC-4, C. Earl Maresh wrote:

I’m having trouble running version gams24.0_linux_x64_64_sfx of GAMS with the gurobi solver.

GAMS begins running then fails with the following when the solver is invoked:

— Executing GUROBI: elapsed 0:00:05.537
*** gevCallSolver: Solve failed (GUROBI,MIP,sl=5)
*** gevCallSolver: rc=1 msg=libgurobi.so: cannot open shared object file: No such file or directory (problem occurred when trying to load libgrbcclib64.so)
*** Failure calling solver: GUROBI (rc=1)


I’ve added the GAMS directory to the PATH and LD_LIBRARY_PATH environment variables without luck. I don’t know why the solver is unable to find the shared library.

I’m running on Ubuntu 12.04 64 bit.

Any ideas?


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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\