Using specific license file

395 views
Skip to first unread message

Christopher Hagmann

unread,
Feb 11, 2015, 1:31:36 PM2/11/15
to gur...@googlegroups.com
I am running Gurobi on the university's supercomputer. Recently, though, without fail it say

>>>gurobi.sh
Python 2.7.2 (default, Nov 21 2011, 12:59:35)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.


All tokens currently in use


Running grbgetkey...


Gurobi license key client (version 5.6.0)
Copyright (c) 2013, Gurobi Optimization, Inc.


Enter the Key Code for the license you are activating
(format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx):

So I applied and downloaded a free academic license and enter the key code, resulting in 

-------------------------------
Contacting Gurobi key server...
-------------------------------


Key for license ID 83203 was successfully retrieved.
License expires at the end of the day on 2016-02-11.


---------------------
Saving license key...
---------------------


In which directory would you like to store the Gurobi license key file?
[hit Enter to store it in $HOME]:


--> License key saved to file '$HOME/gurobi.lic'.
Restart the Gurobi Interactive Shell to use a newly retrieved license key

with `$HOME` being my home directory path. However if I run `gurobi.sh` again, I get the same message as before.

Is there anyway that I can force gurobi to just use the local `gurobi.lic` file?

T.

unread,
Feb 11, 2015, 2:31:14 PM2/11/15
to gur...@googlegroups.com
Have a look at the environment variable GRB_LICENSE_FILE.
Reply all
Reply to author
Forward
0 new messages