UCL-RITS / rcps-buildscripts

Scripts to automate package builds on RC Platforms
MIT License
39 stars 26 forks source link

Gurobi: update the UCL LM to support version 11.0 and install 11.0 on Myriad [IN06491450] #566

Open balston opened 9 months ago

balston commented 9 months ago

The update to the LM has been requested to support Gruobi 11.0 on the EEE Cluster but it makes sense to install the latest version on Myriad as well.

balston commented 8 months ago

Downloaded _gurobi11.0.0linux64.tar.gz from the Gurobi download portal and installed on lic-rhel01.ad.ucl.ac.uk using as ccsplma:

cd /usr/local/Gurobi
tar -xvf ~/Gurobi/gurobi11.0.0_linux64.tar.gz

Updated the versions of start-gurobi and stop-gurobi and ran a test of the new LM.

The test failed :

Gurobi Token Server version 11.0.0

Version number is 11.0, license is for version 10.0
Problem with Gurobi license - unable to start token server
Gurobi license file: /usr/local/Gurobi/gurobi.lic

will need to order a new license file from Gurobi.

balston commented 8 months ago

I've submitted a support request to request an updated license file.

balston commented 8 months ago

I've received the following reply:

Here are the steps for updating your token server to the latest version:

  1. Stop the Gurobi token server (grb_ts)
  2. Install Gurobi Optimizer 11.0.1
  3. Retrieve the updated license file: login to the Gurobi Website www.gurobi.com -> Downloads & Licenses menu -> Your Gurobi Licenses -> click on Licenses -> click on "Install" next to License ID 192045 -> run the grbgetkey <your-license-code> command to retrieve the license file (or follow the instructions to manually retrieve the gurobi.lic license file). Note: if you use the grbgetkey command to retrieve the license please ensure you are using the version 11.0.1 grbgetkey to retrieve the license.
  4. Start the Gurobi token server

I'm not sure if this will work because of the complex nature of the UCL network bit will try it.

balston commented 8 months ago

As I thought running:

./grbgetkey <UCL license key from [www.gurobi.com]>

fails with:

info  : grbgetkey version 11.0.0, build v11.0.0rc2
info  : Platform is linux64 (linux) - "Red Hat Enterprise Linux 8.9 (Ootpa)"
info  : Contacting Gurobi license server...
info  : Communication failed, check your network connection or set variable HTTPS_PROXY if you need a proxy
info  : Run 'grbgetkey --help' for more details
error : dial tcp 3.120.46.120:443: i/o timeout
balston commented 8 months ago

Instead I've used to option to download the gurobi.lic file direct from the license portal. This may work.

balston commented 8 months ago

I've uploaded the downloaded license file to the RH8 license server, put it in /usr/local/gurobi/gurobi.lic, stopped the LM and started the 11.0 LM.

A test job running version 9.2.x on Myriad has worked so the new LM and license file is woking for the curent version of Gurobi.

Next step is to install 11.0 on Myriad.

balston commented 8 months ago

Build script _Gurobi-11.0.0install ready in GitHub buildscripts repo and pulled onto Myriad. Ran on Myriad OK.

Next step is to produce a module file.

balston commented 8 months ago

module file done and pulled onto Myriad.

Test Gurobi 11.0.0 job successfully run on Myriad,

balston commented 8 months ago

User informed.

balston commented 8 months ago

user responded with thanks. Assuming everything is working.