To obtain a Named-User Gurobi license key file for your computer, you'll need to run the grbgetkey command on your machine to retrieve your Gurobi license key file from the Gurobi User Portal.
The exact grbgetkey command to run for a specific license (e.g., grbgetkey 253e22f3-...) is indicated in the popup window after you select the license from the table of licenses in User Portal > Licenses and click the installation icon . We recommend that you use copy-paste to copy the entire grbgetkey command from our website and paste it into a shell window.
Notes:
- The license should have the TYPE="Free Academic" and PURPOSE="Trial".
- If you have an WLS license, please see How do I set up a Web License Service (WLS) license?
- Your machine must be connected to your academic network in order to run this command. An Internet connection is not required after you have obtained your license key file.
The grbgetkey program passes identifying information about your machine back to our website, and the website responds with your license key file. Once this exchange has occurred, grbgetkey will ask for the name of the directory in which to store your license key file (gurobi.lic). You should see a prompt that looks like this:
info : grbgetkey version 11.0.3, build v11.0.3rc0
info : Platform is <platform> - <specifications>
info : Contacting Gurobi license server...
info : License file for license ID 146542 was successfully retrieved
info : License expires at the end of the day on 2025-02-15
info : Saving license file...
In which directory would you like to store the Gurobi license file?
[hit Enter to store it in /Users/<username>]:
info : License 146542 written to file /opt/gurobi/gurobi.lic
You can store the license key file anywhere, but we strongly recommend that you accept the default location for your system by hitting Enter. Setting up a non-default location is error-prone and a frequent source of trouble. If you do need to store the license file somewhere other than the default location, please see Where do I place the Gurobi license file (gurobi.lic)? for important details.
If you receive an error message at this stage, it typically means that we were unable to validate your academic domain. Please consult How do I resolve an "ERROR 303" when running grbgetkey? for more information.
Further information
- How do I resolve an "ERROR 303" when running grbgetkey?
- How do I resolve an "ERROR 202" when running grbgetkey?
- Where do I place the Gurobi license file (gurobi.lic)?
- How do I obtain a free academic license?
- How do I set up a Web License Service (WLS) license?
Comments
0 comments
Article is closed for comments.