Skip to main content

Running a compute node on academic license

Answered

Comments

5 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Matthias Miltenberger
    • Gurobi Staff Gurobi Staff

    Hi Shlomo,

    To set up a compute cluster with an academic floating license, you need to define every grb_rs process as "worker". This can be done by

    grb_rs --worker

    or by setting the WORKER parameter in the grb_rs.cnf configuration file accordingly. Then, you can let additional workers join this first server by specifying the "--join=<servername>" option when starting them. This is also explained here. All workers need to have the same Token defined in the configuration file.

    The worker nodes do not need to access the token server; only the client needs to acquire a token. To send jobs to such a cluster of workers you also need to specify the WorkerPool parameter when submitting a job via gurobi_cl or the API.

    Best regards,
    Matthias

    0
  • Shlomo Hoch
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks Matthias,

    I've already done that. The issue is that if for some reason LSF decides to kill or suspend the worker job - the solution immediately fails.

    I was hoping using a compute node would help alleviate this issue. From your response I understand academic license cannot be used to start a compute node or that a compute node would solve that issue. Please correct me if I'm wrong or if there is another academic license which does allow for a compute node and that indeed using a compute node would help.

     

    Thank you,

    Shlomo

    0
  • Matthias Miltenberger
    • Gurobi Staff Gurobi Staff

    Hi Shlomo,

    I am not familiar with LSF environments. With an academic license you cannot start a full Compute Server environment but you can still use distributed computing by connecting multiple grb_rs workers as I explained above.

    All this is worthless, though, if your cluster management is randomly killing jobs. You should talk to your system administrator to figure out the reason for this. I don't really know how else we can help you here.

    Cheers,
    Matthias

    0
  • Shlomo Hoch
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks, I'll take this up with our sys admin.

    0

Post is closed for comments.