Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{math}[GCCcore/13.2.0] Gurobi v12.0.0 #21985

Merged

Conversation

FokkeDijkstra
Copy link
Contributor

(created using eb --new-pr)

@github-actions github-actions bot added the update label Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

Updated software Gurobi-12.0.0-GCCcore-13.2.0.eb

Diff against Gurobi-11.0.2-GCCcore-12.3.0.eb

easybuild/easyconfigs/g/Gurobi/Gurobi-11.0.2-GCCcore-12.3.0.eb

diff --git a/easybuild/easyconfigs/g/Gurobi/Gurobi-11.0.2-GCCcore-12.3.0.eb b/easybuild/easyconfigs/g/Gurobi/Gurobi-12.0.0-GCCcore-13.2.0.eb
index 0e8c4d8115..b677adb6a3 100644
--- a/easybuild/easyconfigs/g/Gurobi/Gurobi-11.0.2-GCCcore-12.3.0.eb
+++ b/easybuild/easyconfigs/g/Gurobi/Gurobi-12.0.0-GCCcore-13.2.0.eb
@@ -1,5 +1,5 @@
 name = 'Gurobi'
-version = '11.0.2'
+version = '12.0.0'
 
 homepage = 'https://www.gurobi.com'
 description = """The Gurobi Optimizer is a state-of-the-art solver for mathematical programming.
@@ -7,15 +7,15 @@ The solvers in the Gurobi Optimizer were designed from the ground up to exploit
 architectures and multi-core processors, using the most advanced implementations of the
 latest algorithms."""
 
-toolchain = {'name': 'GCCcore', 'version': '12.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
 
 source_urls = ['https://packages.gurobi.com/%(version_major_minor)s/']
 local_archs = {'aarch64': 'armlinux64', 'x86_64': 'linux64'}
 sources = ['gurobi%%(version)s_%s.tar.gz' % local_archs[ARCH]]
 patches = ['Gurobi-11.0.0_use-eb-python-gurobi-shell.patch']
 checksums = [
-    {'gurobi11.0.2_linux64.tar.gz': 'f43ac8a3edb987b9a0a61452acd9d8dbe9eb37368c6da7ce36e5247cb2a1a368',
-     'gurobi11.0.2_armlinux64.tar.gz': '311b38a89717e26f3f829479ef8e6776674b2711c427a90b84ac9978acd19ff2'},
+    {'gurobi12.0.0_linux64.tar.gz': 'a2bdc9c1d6bf8eb4e551a184af1ce8d7b0435ea8e7d19a017cc7d53fd5efda12',
+     'gurobi12.0.0_armlinux64.tar.gz': '8e1202cbf0866a16fa78c3e4be0fa32888ec912f8ddf333c29561d057964ef86'},
     {'Gurobi-11.0.0_use-eb-python-gurobi-shell.patch':
      '566473a3ba4e35b0e74595368f9f4133fc4a3c97cca84154c4b938645786e663'},
 ]
@@ -25,7 +25,7 @@ builddependencies = [
 ]
 
 dependencies = [
-    ('Python', '3.11.3'),
+    ('Python', '3.11.5'),
 ]
 
 exts_defaultclass = 'PythonPackage'
@@ -41,9 +41,9 @@ exts_list = [
         'sources': ['gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_%(arch)s.whl'],
         'checksums': [{
             'gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_aarch64.whl':
-                '871e818026c8f288d7440fcd4b842becdf1006f43495fc4f6e3ec6d9b8ba3d7a',
+                'fc3892e3d88d0f8a01da75f12f74023d398ef599a9e1add66ed76313733e30fb',
             'gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl':
-                '86265b7a9a8f3e531c1bbee6e61c1e7d0b68264e976795b4cf7aec68b9e66eb8',
+                'a08fb42a5e7cb02cdb993c1381c8b8c5a3baeedcadd56e7288d8458a57b81442',
         }],
     }),
 ]
Diff against Gurobi-11.0.0-GCCcore-12.3.0.eb

easybuild/easyconfigs/g/Gurobi/Gurobi-11.0.0-GCCcore-12.3.0.eb

diff --git a/easybuild/easyconfigs/g/Gurobi/Gurobi-11.0.0-GCCcore-12.3.0.eb b/easybuild/easyconfigs/g/Gurobi/Gurobi-12.0.0-GCCcore-13.2.0.eb
index 5003e38533..b677adb6a3 100644
--- a/easybuild/easyconfigs/g/Gurobi/Gurobi-11.0.0-GCCcore-12.3.0.eb
+++ b/easybuild/easyconfigs/g/Gurobi/Gurobi-12.0.0-GCCcore-13.2.0.eb
@@ -1,5 +1,5 @@
 name = 'Gurobi'
-version = '11.0.0'
+version = '12.0.0'
 
 homepage = 'https://www.gurobi.com'
 description = """The Gurobi Optimizer is a state-of-the-art solver for mathematical programming.
@@ -7,13 +7,15 @@ The solvers in the Gurobi Optimizer were designed from the ground up to exploit
 architectures and multi-core processors, using the most advanced implementations of the
 latest algorithms."""
 
-toolchain = {'name': 'GCCcore', 'version': '12.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
 
 source_urls = ['https://packages.gurobi.com/%(version_major_minor)s/']
-sources = ['gurobi%(version)s_linux64.tar.gz']
+local_archs = {'aarch64': 'armlinux64', 'x86_64': 'linux64'}
+sources = ['gurobi%%(version)s_%s.tar.gz' % local_archs[ARCH]]
 patches = ['Gurobi-11.0.0_use-eb-python-gurobi-shell.patch']
 checksums = [
-    {'gurobi11.0.0_linux64.tar.gz': '6a1ec7499b230aea0542bc893bf0642ae8ce983dd5ef0c37cb3a253d827ce634'},
+    {'gurobi12.0.0_linux64.tar.gz': 'a2bdc9c1d6bf8eb4e551a184af1ce8d7b0435ea8e7d19a017cc7d53fd5efda12',
+     'gurobi12.0.0_armlinux64.tar.gz': '8e1202cbf0866a16fa78c3e4be0fa32888ec912f8ddf333c29561d057964ef86'},
     {'Gurobi-11.0.0_use-eb-python-gurobi-shell.patch':
      '566473a3ba4e35b0e74595368f9f4133fc4a3c97cca84154c4b938645786e663'},
 ]
@@ -23,7 +25,7 @@ builddependencies = [
 ]
 
 dependencies = [
-    ('Python', '3.11.3'),
+    ('Python', '3.11.5'),
 ]
 
 exts_defaultclass = 'PythonPackage'
@@ -35,13 +37,13 @@ exts_default_options = {
 }
 
 exts_list = [
-    ('gurobipy', '11.0.0', {
+    ('gurobipy', version, {
         'sources': ['gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_%(arch)s.whl'],
         'checksums': [{
             'gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_aarch64.whl':
-                '096f63ca02fbe810bae25311be598c9d8c5874362e85eac46ef0a4fdb3eaf96b',
+                'fc3892e3d88d0f8a01da75f12f74023d398ef599a9e1add66ed76313733e30fb',
             'gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl':
-                'a98abda1cb45f548fff17370eb30cc6e187d04edc5d9984a68d194491598a993',
+                'a08fb42a5e7cb02cdb993c1381c8b8c5a3baeedcadd56e7288d8458a57b81442',
         }],
     }),
 ]
Diff against Gurobi-10.0.1-GCCcore-11.3.0.eb

easybuild/easyconfigs/g/Gurobi/Gurobi-10.0.1-GCCcore-11.3.0.eb

diff --git a/easybuild/easyconfigs/g/Gurobi/Gurobi-10.0.1-GCCcore-11.3.0.eb b/easybuild/easyconfigs/g/Gurobi/Gurobi-12.0.0-GCCcore-13.2.0.eb
index 16411d9bf0..b677adb6a3 100644
--- a/easybuild/easyconfigs/g/Gurobi/Gurobi-10.0.1-GCCcore-11.3.0.eb
+++ b/easybuild/easyconfigs/g/Gurobi/Gurobi-12.0.0-GCCcore-13.2.0.eb
@@ -1,5 +1,5 @@
 name = 'Gurobi'
-version = '10.0.1'
+version = '12.0.0'
 
 homepage = 'https://www.gurobi.com'
 description = """The Gurobi Optimizer is a state-of-the-art solver for mathematical programming.
@@ -7,23 +7,45 @@ The solvers in the Gurobi Optimizer were designed from the ground up to exploit
 architectures and multi-core processors, using the most advanced implementations of the
 latest algorithms."""
 
-toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
 
 source_urls = ['https://packages.gurobi.com/%(version_major_minor)s/']
-sources = ['%(namelower)s%(version)s_linux64.tar.gz']
-patches = ['%(name)s-9.0.1_use-eb-python-gurobi-shell.patch']
+local_archs = {'aarch64': 'armlinux64', 'x86_64': 'linux64'}
+sources = ['gurobi%%(version)s_%s.tar.gz' % local_archs[ARCH]]
+patches = ['Gurobi-11.0.0_use-eb-python-gurobi-shell.patch']
 checksums = [
-    {'gurobi10.0.1_linux64.tar.gz': 'a0b551156df2c94107b3428cae278716a0a6c913f63ac132573852b9725b6c59'},
-    {'Gurobi-9.0.1_use-eb-python-gurobi-shell.patch':
-     'b4a998182d05f969d1de519f4746ac9e0c6646dd35233231b6ab5963dfa67d01'},
+    {'gurobi12.0.0_linux64.tar.gz': 'a2bdc9c1d6bf8eb4e551a184af1ce8d7b0435ea8e7d19a017cc7d53fd5efda12',
+     'gurobi12.0.0_armlinux64.tar.gz': '8e1202cbf0866a16fa78c3e4be0fa32888ec912f8ddf333c29561d057964ef86'},
+    {'Gurobi-11.0.0_use-eb-python-gurobi-shell.patch':
+     '566473a3ba4e35b0e74595368f9f4133fc4a3c97cca84154c4b938645786e663'},
 ]
 
 builddependencies = [
-    ('binutils', '2.38'),
+    ('binutils', '2.40'),
 ]
 
 dependencies = [
-    ('Python', '3.10.4'),
+    ('Python', '3.11.5'),
+]
+
+exts_defaultclass = 'PythonPackage'
+
+exts_default_options = {
+    'source_urls': [PYPI_SOURCE],
+    'download_dep_fail': True,
+    'use_pip': True,
+}
+
+exts_list = [
+    ('gurobipy', version, {
+        'sources': ['gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_%(arch)s.whl'],
+        'checksums': [{
+            'gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_aarch64.whl':
+                'fc3892e3d88d0f8a01da75f12f74023d398ef599a9e1add66ed76313733e30fb',
+            'gurobipy-%(version)s-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl':
+                'a08fb42a5e7cb02cdb993c1381c8b8c5a3baeedcadd56e7288d8458a57b81442',
+        }],
+    }),
 ]
 
 # remove bundled Python interpreter in favour of the dependency in EB
@@ -33,8 +55,6 @@ postinstallcmds = ['rm %(installdir)s/bin/python*']
 # use EB_GUROBI_LICENSE_FILE environment variable, or 
 # uncomment and modify the following variable:
 # license_file = '/path/to/my-license-file'
-license_file = HOME + '/licenses/%(name)s.lic'
-
 
 modloadmsg = """Gurobi shell based on Python %(pyver)s can be launched with command `gurobi.sh`
 Gurobi Python Interface can be loaded in Python %(pyver)s with 'import gurobipy'

Copy link
Contributor

@Micket Micket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Micket Micket added this to the release after 4.9.4 milestone Dec 18, 2024
@Micket
Copy link
Contributor

Micket commented Dec 18, 2024

Test report by @Micket
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
vera-skylake-build - Linux Rocky Linux 8.9, x86_64, Intel Xeon Processor (Skylake, IBRS, no TSX), Python 3.6.8
See https://gist.github.com/Micket/f360804b885179cb162ef724ce04dab4 for a full test report.

@Micket Micket enabled auto-merge December 18, 2024 19:06
@Micket Micket merged commit 45813a2 into easybuilders:develop Dec 18, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants