Skip to content

Add Gurobi v11.0.0 GCCcore-12.2.0

Aurel Istrate requested to merge Gurobi11 into master

Created by: Neves-P

From v11.0.0 Gurobi has changed the way the Python component is installed. Where before installation happened via a setup.py file that was bundled in with the source tarball now the contents of this file simply raise an exception and point the user to install via pip.

Because of this, it's now necessary to fetch the appropriate wheel, and then run the pip install command on said wheel. Gurobi is installed via a custom easyblock file, which I edited from the easybuild-easyblocks repo (and that was originally made by @bedroge). The installation step of the original easyblock file needed to be changed to check if the target installation is >=11.0.0, and if so, the installation must then be handled accordingly.

I think I covered all edge cases, and I'm able to start the gurobi shell and import the module (but haven't ingested the installation yet, hence the draft PR), in case I'm overlooking something.

Merge request reports