Installing GUROBI 902 in LINUX server



  • Gwyneth Butera

    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!

    Comment actions Permalink
  • Diego Ruiz-Hernandez


    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]$ ./

    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, 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  2020-06-26  2020-04-27

    Many thanks for your help,


    Comment actions Permalink
  • Gwyneth Butera

    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 for obtaining one. 


    Comment actions Permalink
  • Diego Ruiz-Hernandez

    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,



    Comment actions Permalink
  • Silke Horn

    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").


    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk