Installing GUROBI 902 in LINUX server
AnsweredHello,
I am trying to install Gurobi in my university's server based on the rather obscure quickstart_linux.pdf file.
Gurobi was unpacked in
/home/user/gurobi902
I have managed to get to the point where the academic license is installed. The license was written in
/home/user/gurobi.lic
My .bash_profile looks as follows:
PATH=$PATH:$HOME/bin
export PATH
export GUROBI_HOME="/gurobi902/linux64"
export PATH="${PATH}:${GUROBI_HOME}/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
However, when I try and execute
./gurobi902/linux64/bin/gurobi.sh
I get the error message
./gurobi902/linux64/bin/gurobi.sh: line 17: /gurobi902/linux64/bin/python3.7: No such file or directory
Executing python3.7 from /gurobi902/linux902/bin/ runs python smoothly.
I will appreciate any help.
Cheers,
Diego
-
Hi Diego - From your explanation, it looks like your GUROBI_HOME is not set correctly.
If Gurobi is in /home/user/gurobi902
then the GUROBI_HOME variable should be set as :
export GUROBI_HOME="/home/user/gurobi902/linux64"
I hope this helps!
1 -
Hello,
Thanks for your reply.
Unfortunately, there seems to be another problem related to the fact that I am using a computing cluster. After making the correction you suggested, I got the following:
[mg1dr@sharc-login1 bin]$ ./gurobi.sh
Python 3.7.4 (default, Oct 29 2019, 10:15:53)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Using gurobi.env file
Set parameter LogFile to value gurobi.logNo Gurobi license found (user mg1dr, host sharc-login1.shef.ac.uk, hostid 77430218, cores 16)
Running grbgetkey...
info : grbgetkey version 9.0.2, build v9.0.2rc0Enter the Key Code for the license you are activating
(format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx):
<grbgetkey code removed>info : Contacting Gurobi key server...
error : ERROR 405: Cannot reinstall license 443636; get a new license from the Gurobi website
Restart the Gurobi Interactive Shell to use a newly retrieved license keyThis seems to be related to the fact that whenever I connect to the Server, I get allocated to a different node, and the license seems to be associated with certain specific node:
443636 Trial Free Academic 9 sharc-node001.shef.ac.uk 2020-06-26 2020-04-27 Many thanks for your help,
Diego
0 -
Hi Diego -
In this case, you will probably need to use an Educational Site License. Please ask the system administrator to follow the instructions here https://www.gurobi.com/academia/academic-program-and-licenses/ for obtaining one.
Gwyneth
0 -
Dear Gwyneth,
From your reply I gather that you share my opinion that the issue may be the use of different nodes in the cluster. Correct?
As faculty members we are allowed to locally install software that will run in our cluster for individual use. Unfortunately, the administrators do not provide support for software installed by individual users.
Is there any other alternative?
Many thanks,
Diego
0 -
Hi Diego,
You could request a new academic license for each new machine in the cluster you get assigned, but that's not a very elegant solution.
The best solution would be what Gwyneth suggested: Ask your admins to request a site license. They would then have to install and maintain Gurobi and the token server. (So it wouldn't be "software installed by individual users").
Silke
0
Please sign in to leave a comment.
Comments
5 comments