Hey everyone!
I have an issue with the Gurobi solver license file. Maybe someone else experienced this issue before? It seems that the Gurobi solver cannot access the “master.cluster” license file.
First, I load the Gurobi solver environment on Baobab
module load Gurobi
Then I check token availability
[sasse@login2 Baobab]$ gurobi_cl --tokens
Failed to connect to token server ‘master.cluster’ (port 41954).
Problem retrieving token server status
Failed to connect to token server ‘master.cluster’ (port 41954) - license file ‘/opt/ebsofts/Core/Gurobi/8.1.1/gurobi.lic’. Consult the Quick Start Guide for instructions on starting a token server.
I also tried to download my own license and specifying it in the .bashrc file
export GRB_LICENSE_FILE=/home/sasse/gurobi.lic
Any advice? As a workaround it would be ok to install another fastt solver like coincbc but here I also have issues installing it. GLPK is quite slow but works.
Dear Jan-Philipp,
it’s corrected.
[sasse@login2 ~]$ module load Gurobi
[sasse@login2 ~]$ gurobi_cl --tokens
Checking status of Gurobi token server 'master.cluster'...
Token server functioning normally.
Maximum allowed uses: 4096, current: 0
Hello @Yann.Sagon,
I am again running into Gurobi issues.
The license server works but it says the license expired.
[sasse@login2]$ module load Gurobi
[sasse@login2]$ gurobi_cl --tokens
Checking status of Gurobi token server ‘master.cluster’…
Token server functioning normally.
Maximum allowed uses: 4096, current: 0
Step 3: RUNNING PyEXPANSE
ERROR: Solver (gurobi) returned non-zero return code (1)
ERROR: Solver log: Traceback (most recent call last):
File “”, line 5, in File
“/home/sasse/baobab_python_NEW/lib/python3.5/site-
packages/pyomo/solvers/plugins/solvers/GUROBI_RUN.py”, line 61, in
gurobi_run
model = read(model_file)
File “gurobi.pxi”, line 2774, in gurobipy.read File “gurobi.pxi”, line
71, in gurobipy.gurobi.read File “gurobi.pxi”, line 23, in
gurobipy.gurobi._getdefaultenv File “env.pxi”, line 48, in
gurobipy.Env.init
gurobipy.GurobiError: Request denied: license expired
Traceback (most recent call last):
File “PyEXPANSE.py”, line 343, in
result = SolverFactory(solver_name).solve(model)
File “/home/sasse/baobab_python_NEW/lib/python3.5/site-packages/pyomo/opt/base/solvers.py”, line 600, in solve
“Solver (%s) did not exit normally” % self.name)
pyutilib.common._exceptions.ApplicationError: Solver (gurobi) did not exit normally
Hello, I checked and the license has expired. It’s valid for one year.
I wrote to Gurobi to ask a new license. I’ll let you know when it’s done.
Best
Hello, I’m also waiting for the update of the Gurobi license.
Dear users, the new Gurobi license is activated.
Best