Skip to main content

Installing GUROBI 902 in LINUX server

Answered

Comments

5 comments

  • Gwyneth Butera
    Gurobi Staff Gurobi Staff

    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
  • Diego Ruiz-Hernandez
    Gurobi-versary
    First Comment
    First Question

    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.log

    No 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.2rc0

    Enter 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 key

    This 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
  • Gwyneth Butera
    Gurobi Staff Gurobi Staff

    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
  • Diego Ruiz-Hernandez
    Gurobi-versary
    First Comment
    First Question

    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
  • Silke Horn
    Gurobi Staff Gurobi Staff

    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.