Gurobi

In your home directory, using the vi or nano editor on the HPC, create a file called gurobi.lic, that contains one line:

TOKENSERVER=oit205lic.oit.ncsu.edu

Then, on a new login node (log out and log in) do these tests:

  module load gurobi
  gurobi_cl --tokens

This should show that there are 4096 total tokens

How to integrate a check for token availability: https://support.gurobi.com/hc/en-us/articles/360029879251-How-do-I-check-the-availability-of-floating-license-tokens

gurobi_cl --license
should give:
License file: /home/[user]/gurobi.lic
gurobi.sh
Should give
Python 2.7.13 (default, Sep 4 2017, 15:40:17)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Gurobi Interactive Shell (linux64), Version 8.1.0
Copyright (c) 2018, Gurobi Optimization, LLC
Type "help()" for help
gurobi>
Also check that the value of $GRB_LICENSE_FILE is undefined.
echo $GRB_LICENSE_FILE
GRB_LICENSE_FILE: Undefined variable.

Last modified: June 30 2024 15:04:38.