Skip to main content

GurobiError: HostID mismatch (licensed to 5dc163b3, hostid is 5dc16bc8) in WSL

Answered

Comments

4 comments

  • Dan Steffy
    Gurobi Staff Gurobi Staff

    Hello Vigneshwaran, 

    Thank you for posting your question. You are getting this error because each standard free academic license is associated with a specific HostID. However, rebooting your machine can change the HostID within WSL. Instructions for setting up Gurobi in WSL2 can be found in the following article:

    How do I set up Gurobi in WSL2 (Windows Subsystem for Linux)?

    I hope that this article helps you solve your problem. If you are still experiencing issues with your license and installation after following these instructions, you may open a support request through the Gurobi Help Center.

    Thanks,

    -Dan

    0
  • vigneshwaran kannan
    Gurobi-versary
    Curious
    Conversationalist

    What is a floating license?  I am using Gurobi 9.5 and wls (floating license) academic license for WSL is only for Gurobi version 10. 

    0
  • lucas parada

    Hello, 

    Same problem here with WSL.

    From the article "Option 2: Using an single-machine individual Gurobi License" where can I find the information for the grbgetkey command?

    grbgetkey xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx --input wsl2-hostinfo.txt

    The user portal does not have the string to call the command.

    0
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Just in case someone else faces the same problem:

    On the Licenses page in the user portal, you should see your licenses. You should also see an "Install" button on the right. Clicking this should show you the code for the grbgetkey command.

    Cheers,
    Matthias

    0

Please sign in to leave a comment.