Skip to content

{numlib}[foss/2023b] gmsh v4.12.2 and some dependencies#22084

Merged
bedroge merged 16 commits intoeasybuilders:developfrom
julianmorillo:gmsh
Jun 18, 2025
Merged

{numlib}[foss/2023b] gmsh v4.12.2 and some dependencies#22084
bedroge merged 16 commits intoeasybuilders:developfrom
julianmorillo:gmsh

Conversation

@julianmorillo
Copy link
Copy Markdown
Contributor

Easyconfigs added in this PR:

easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023b.eb
easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-13.2.0.eb
easybuild/easyconfigs/p/PETSc/PETSc-3.20.3-foss-2023b.eb
easybuild/easyconfigs/s/SLEPc/SLEPc-3.20.1-foss-2023b.eb
easybuild/easyconfigs/s/SuiteSparse/SuiteSparse-7.1.0-foss-2023b.eb

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 20, 2024

Updated software gmsh-4.12.2-foss-2023b.eb

Diff against gmsh-4.12.2-foss-2023a.eb

easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023a.eb

diff --git a/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023a.eb b/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023b.eb
index 72f3c6cb8e..922916cc55 100644
--- a/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023a.eb
+++ b/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023b.eb
@@ -6,7 +6,7 @@ version = '4.12.2'
 homepage = 'https://gmsh.info/'
 description = "Gmsh is a 3D finite element grid generator with a build-in CAD engine and post-processor."
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 toolchainopts = {'usempi': True}
 
 source_urls = ['https://%(name)s.info/src/']
@@ -14,16 +14,16 @@ sources = ['%(name)s-%(version)s-source.tgz']
 checksums = ['13e09d9ca8102e5c40171d6ee150c668742b98c3a6ca57f837f7b64e1e2af48f']
 
 builddependencies = [
-    ('CMake', '3.26.3'),
+    ('CMake', '3.27.6'),
     ('SWIG', '4.1.1'),
     ('Eigen', '3.4.0'),
 ]
 
 dependencies = [
-    ('Python', '3.11.3'),
-    ('PETSc', '3.20.3'),
-    ('SLEPc', '3.20.1'),
-    ('FLTK', '1.3.8'),
+    ('Python', '3.11.5'),
+    ('PETSc', '3.22.5'),
+    ('SLEPc', '3.22.2'),
+    ('FLTK', '1.3.9'),
     ('occt', '7.8.0'),
 ]
 
Diff against gmsh-4.11.1-foss-2022a.eb

easybuild/easyconfigs/g/gmsh/gmsh-4.11.1-foss-2022a.eb

diff --git a/easybuild/easyconfigs/g/gmsh/gmsh-4.11.1-foss-2022a.eb b/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023b.eb
index 1ebd80b1fd..922916cc55 100644
--- a/easybuild/easyconfigs/g/gmsh/gmsh-4.11.1-foss-2022a.eb
+++ b/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023b.eb
@@ -1,29 +1,30 @@
 easyblock = 'CMakeMake'
 
 name = 'gmsh'
-version = '4.11.1'
+version = '4.12.2'
 
 homepage = 'https://gmsh.info/'
-description = "Gmsh is a 3D finite element grid generator with a built-in CAD engine and post-processor."
+description = "Gmsh is a 3D finite element grid generator with a build-in CAD engine and post-processor."
 
-toolchain = {'name': 'foss', 'version': '2022a'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 toolchainopts = {'usempi': True}
 
 source_urls = ['https://%(name)s.info/src/']
 sources = ['%(name)s-%(version)s-source.tgz']
-checksums = ['c5fe1b7cbd403888a814929f2fd0f5d69e27600222a18c786db5b76e8005b365']
+checksums = ['13e09d9ca8102e5c40171d6ee150c668742b98c3a6ca57f837f7b64e1e2af48f']
 
 builddependencies = [
-    ('CMake', '3.24.3'),
-    ('SWIG', '4.0.2'),
+    ('CMake', '3.27.6'),
+    ('SWIG', '4.1.1'),
     ('Eigen', '3.4.0'),
 ]
+
 dependencies = [
-    ('Python', '3.10.4'),
-    ('PETSc', '3.17.4'),
-    ('SLEPc', '3.17.2'),
-    ('FLTK', '1.3.8'),
-    ('occt', '7.5.0p1'),
+    ('Python', '3.11.5'),
+    ('PETSc', '3.22.5'),
+    ('SLEPc', '3.22.2'),
+    ('FLTK', '1.3.9'),
+    ('occt', '7.8.0'),
 ]
 
 separate_build_dir = True
Diff against gmsh-4.9.0-foss-2021a.eb

easybuild/easyconfigs/g/gmsh/gmsh-4.9.0-foss-2021a.eb

diff --git a/easybuild/easyconfigs/g/gmsh/gmsh-4.9.0-foss-2021a.eb b/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023b.eb
index 24810970e8..922916cc55 100644
--- a/easybuild/easyconfigs/g/gmsh/gmsh-4.9.0-foss-2021a.eb
+++ b/easybuild/easyconfigs/g/gmsh/gmsh-4.12.2-foss-2023b.eb
@@ -1,43 +1,43 @@
 easyblock = 'CMakeMake'
 
 name = 'gmsh'
-version = '4.9.0'
+version = '4.12.2'
 
 homepage = 'https://gmsh.info/'
-description = """Gmsh is a 3D finite element grid generator with a built-in CAD engine and post-processor."""
+description = "Gmsh is a 3D finite element grid generator with a build-in CAD engine and post-processor."
 
-toolchain = {'name': 'foss', 'version': '2021a'}
-toolchainopts = {"usempi": True}
+toolchain = {'name': 'foss', 'version': '2023b'}
+toolchainopts = {'usempi': True}
 
-source_urls = ['https://gmsh.info/src/']
+source_urls = ['https://%(name)s.info/src/']
 sources = ['%(name)s-%(version)s-source.tgz']
-checksums = ['b8ef133c9b66ffe12df1747e72d4acf19f1eb1e9cd95eb0f577cbc4081d9bea3']
+checksums = ['13e09d9ca8102e5c40171d6ee150c668742b98c3a6ca57f837f7b64e1e2af48f']
 
 builddependencies = [
-    ('CMake', '3.20.1'),
-    ('SWIG', '4.0.2'),
-    ('Eigen', '3.3.9'),
+    ('CMake', '3.27.6'),
+    ('SWIG', '4.1.1'),
+    ('Eigen', '3.4.0'),
 ]
 
 dependencies = [
-    ('Python', '3.9.5'),
-    ('PETSc', '3.15.1'),
-    ('SLEPc', '3.15.1'),
-    ('FLTK', '1.3.6'),
-    ('occt', '7.5.0p1'),
+    ('Python', '3.11.5'),
+    ('PETSc', '3.22.5'),
+    ('SLEPc', '3.22.2'),
+    ('FLTK', '1.3.9'),
+    ('occt', '7.8.0'),
 ]
 
 separate_build_dir = True
 
-configopts = '-DENABLE_BUILD_SHARED=ON -DENABLE_WRAP_PYTHON=ON -DENABLE_METIS=1'
-
-modextrapaths = {'PYTHONPATH': ['lib']}
+configopts = "-DENABLE_BUILD_SHARED=ON -DENABLE_WRAP_PYTHON=ON -DENABLE_METIS=1"
 
 sanity_check_paths = {
-    'files': ['bin/gmsh', 'bin/onelab.py', 'lib/gmsh.py', 'lib/libgmsh.%s' % SHLIB_EXT],
+    'files': ['bin/%(name)s', 'bin/onelab.py', 'lib/%(name)s.py', 'lib/libgmsh.%s' % SHLIB_EXT],
     'dirs': [],
 }
 
-sanity_check_commands = ["gmsh --help"]
+sanity_check_commands = ['%(name)s --help']
+
+modextrapaths = {'PYTHONPATH': ['lib']}
 
 moduleclass = 'math'

Updated software occt-7.8.0-GCCcore-13.2.0.eb

Diff against occt-7.8.0-GCCcore-12.3.0.eb

easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-12.3.0.eb

diff --git a/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-12.3.0.eb b/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-13.2.0.eb
index 336ada327d..59117a5cd2 100644
--- a/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-12.3.0.eb
+++ b/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-13.2.0.eb
@@ -8,28 +8,24 @@ description = """Open CASCADE Technology (OCCT) is an object-oriented C++
 class library designed for rapid production of sophisticated domain-specific
 CAD/CAM/CAE applications."""
 
-toolchain = {'name': 'GCCcore', 'version': '12.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
 
 source_urls = ['https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags']
 sources = ['V7_8_0.tar.gz']
-patches = ['occt-7.8.0_fix-cmake-config.patch']
-checksums = [
-    {'V7_8_0.tar.gz': '096cd0f268fa9f6a50818e1d628ac92ecf87e10fd72187e2e8d6be57dfe12530'},
-    {'occt-7.8.0_fix-cmake-config.patch': 'dae84cd5c9bee1b4272c08366885071498aef6991755b59bf8b64a39738e59b7'},
-]
+checksums = ['096cd0f268fa9f6a50818e1d628ac92ecf87e10fd72187e2e8d6be57dfe12530']
 
 builddependencies = [
-    ('CMake', '3.26.3'),
-    ('Doxygen', '1.9.7'),
+    ('CMake', '3.27.6'),
+    ('Doxygen', '1.9.8'),
     ('binutils', '2.40'),
 ]
 dependencies = [
-    ('Mesa', '23.1.4'),
-    ('freetype', '2.13.0'),
+    ('Mesa', '23.1.9'),
+    ('freetype', '2.13.2'),
     ('Tcl', '8.6.13'),
     ('Tk', '8.6.13'),
     ('FreeImage', '3.18.0'),
-    ('tbb', '2021.11.0'),
+    ('tbb', '2021.13.0'),
 ]
 
 
Diff against occt-7.5.0p1-foss-2022a.eb

easybuild/easyconfigs/o/occt/occt-7.5.0p1-foss-2022a.eb

diff --git a/easybuild/easyconfigs/o/occt/occt-7.5.0p1-foss-2022a.eb b/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-13.2.0.eb
index 40e83e5f3f..59117a5cd2 100644
--- a/easybuild/easyconfigs/o/occt/occt-7.5.0p1-foss-2022a.eb
+++ b/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-13.2.0.eb
@@ -1,31 +1,31 @@
 easyblock = 'CMakeMake'
 
 name = 'occt'
-version = '7.5.0p1'
+version = '7.8.0'
 
 homepage = 'https://www.opencascade.com/'
 description = """Open CASCADE Technology (OCCT) is an object-oriented C++
 class library designed for rapid production of sophisticated domain-specific
 CAD/CAM/CAE applications."""
 
-toolchain = {'name': 'foss', 'version': '2022a'}
-toolchainopts = {'usempi': True}
+toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
 
-source_urls = ['https://files.salome-platform.org/Salome/other']
-sources = ['opencascade-%(version)s.tar.gz']
-checksums = ['c0bbe42f0c41b6dcd6a39a83961ca7e414eb2d5d919f4dcb930096f2a423a578']
+source_urls = ['https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags']
+sources = ['V7_8_0.tar.gz']
+checksums = ['096cd0f268fa9f6a50818e1d628ac92ecf87e10fd72187e2e8d6be57dfe12530']
 
 builddependencies = [
-    ('CMake', '3.24.3'),
-    ('Doxygen', '1.9.4'),
+    ('CMake', '3.27.6'),
+    ('Doxygen', '1.9.8'),
+    ('binutils', '2.40'),
 ]
 dependencies = [
-    ('Mesa', '22.0.3'),
-    ('freetype', '2.12.1'),
-    ('Tcl', '8.6.12'),
-    ('Tk', '8.6.12'),
+    ('Mesa', '23.1.9'),
+    ('freetype', '2.13.2'),
+    ('Tcl', '8.6.13'),
+    ('Tk', '8.6.13'),
     ('FreeImage', '3.18.0'),
-    ('tbb', '2021.5.0'),
+    ('tbb', '2021.13.0'),
 ]
 
 
Diff against occt-7.5.0p1-foss-2021a.eb

easybuild/easyconfigs/o/occt/occt-7.5.0p1-foss-2021a.eb

diff --git a/easybuild/easyconfigs/o/occt/occt-7.5.0p1-foss-2021a.eb b/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-13.2.0.eb
index 7c0a089a24..59117a5cd2 100644
--- a/easybuild/easyconfigs/o/occt/occt-7.5.0p1-foss-2021a.eb
+++ b/easybuild/easyconfigs/o/occt/occt-7.8.0-GCCcore-13.2.0.eb
@@ -1,34 +1,34 @@
 easyblock = 'CMakeMake'
 
 name = 'occt'
-version = '7.5.0p1'
+version = '7.8.0'
 
 homepage = 'https://www.opencascade.com/'
 description = """Open CASCADE Technology (OCCT) is an object-oriented C++
 class library designed for rapid production of sophisticated domain-specific
 CAD/CAM/CAE applications."""
 
-toolchain = {'name': 'foss', 'version': '2021a'}
-toolchainopts = {'usempi': True}
+toolchain = {'name': 'GCCcore', 'version': '13.2.0'}
 
-source_urls = ['https://files.salome-platform.org/Salome/other']
-sources = ['opencascade-%(version)s.tar.gz']
-checksums = ['c0bbe42f0c41b6dcd6a39a83961ca7e414eb2d5d919f4dcb930096f2a423a578']
+source_urls = ['https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags']
+sources = ['V7_8_0.tar.gz']
+checksums = ['096cd0f268fa9f6a50818e1d628ac92ecf87e10fd72187e2e8d6be57dfe12530']
 
 builddependencies = [
-    ('CMake', '3.20.1'),
-    ('Doxygen', '1.9.1'),
+    ('CMake', '3.27.6'),
+    ('Doxygen', '1.9.8'),
+    ('binutils', '2.40'),
 ]
-
 dependencies = [
-    ('Mesa', '21.1.1'),
-    ('freetype', '2.10.4'),
-    ('Tcl', '8.6.11'),
-    ('Tk', '8.6.11'),
+    ('Mesa', '23.1.9'),
+    ('freetype', '2.13.2'),
+    ('Tcl', '8.6.13'),
+    ('Tk', '8.6.13'),
     ('FreeImage', '3.18.0'),
-    ('tbb', '2020.3'),
+    ('tbb', '2021.13.0'),
 ]
 
+
 separate_build_dir = True
 
 configopts = "-DUSE_FREEIMAGE=ON -D3RDPARTY_FREEIMAGE_DIR=$EBROOTFREEIMAGE "

Updated software SLEPc-3.22.2-foss-2023b.eb

Diff against SLEPc-3.20.1-foss-2023a.eb

easybuild/easyconfigs/s/SLEPc/SLEPc-3.20.1-foss-2023a.eb

diff --git a/easybuild/easyconfigs/s/SLEPc/SLEPc-3.20.1-foss-2023a.eb b/easybuild/easyconfigs/s/SLEPc/SLEPc-3.22.2-foss-2023b.eb
index 59c1fa24fe..7aaab3b515 100644
--- a/easybuild/easyconfigs/s/SLEPc/SLEPc-3.20.1-foss-2023a.eb
+++ b/easybuild/easyconfigs/s/SLEPc/SLEPc-3.22.2-foss-2023b.eb
@@ -1,5 +1,5 @@
 name = 'SLEPc'
-version = '3.20.1'
+version = '3.22.2'
 
 homepage = 'https://slepc.upv.es'
 description = """SLEPc (Scalable Library for Eigenvalue Problem Computations) is a software library for the solution
@@ -7,14 +7,14 @@ description = """SLEPc (Scalable Library for Eigenvalue Problem Computations) is
  either standard or generalized eigenproblems, with real or complex arithmetic. It can also be used for computing a
  partial SVD of a large, sparse, rectangular matrix, and to solve quadratic eigenvalue problems."""
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 toolchainopts = {'usempi': True, 'openmp': True}
 
 source_urls = ['https://slepc.upv.es/download/distrib']
 sources = [SOURCELOWER_TAR_GZ]
-checksums = ['5a36b664895881d3858d0644f56bf7bb922bdab70d732fa11cbf6442fec11806']
+checksums = ['b60e58b2fa5eb7db05ce5e3a585811b43b1cc7cf89c32266e37b05f0cefd8899']
 
-dependencies = [('PETSc', '3.20.3')]
+dependencies = [('PETSc', '3.22.5')]
 
 petsc_arch = 'installed-arch-linux2-c-opt'
 
Diff against SLEPc-3.18.2-intel-2021b.eb

easybuild/easyconfigs/s/SLEPc/SLEPc-3.18.2-intel-2021b.eb

diff --git a/easybuild/easyconfigs/s/SLEPc/SLEPc-3.18.2-intel-2021b.eb b/easybuild/easyconfigs/s/SLEPc/SLEPc-3.22.2-foss-2023b.eb
index 1db8a8efa4..7aaab3b515 100644
--- a/easybuild/easyconfigs/s/SLEPc/SLEPc-3.18.2-intel-2021b.eb
+++ b/easybuild/easyconfigs/s/SLEPc/SLEPc-3.22.2-foss-2023b.eb
@@ -1,20 +1,20 @@
 name = 'SLEPc'
-version = '3.18.2'
+version = '3.22.2'
 
-homepage = 'https://www.grycap.upv.es/slepc/'
+homepage = 'https://slepc.upv.es'
 description = """SLEPc (Scalable Library for Eigenvalue Problem Computations) is a software library for the solution
  of large scale sparse eigenvalue problems on parallel computers. It is an extension of PETSc and can be used for
  either standard or generalized eigenproblems, with real or complex arithmetic. It can also be used for computing a
  partial SVD of a large, sparse, rectangular matrix, and to solve quadratic eigenvalue problems."""
 
-toolchain = {'name': 'intel', 'version': '2021b'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 toolchainopts = {'usempi': True, 'openmp': True}
 
 source_urls = ['https://slepc.upv.es/download/distrib']
 sources = [SOURCELOWER_TAR_GZ]
-checksums = ['5bd90a755934e702ab1fdb3320b9fe75ab5fc28c93d364248ea86a372fbe6a62']
+checksums = ['b60e58b2fa5eb7db05ce5e3a585811b43b1cc7cf89c32266e37b05f0cefd8899']
 
-dependencies = [('PETSc', '3.18.4')]
+dependencies = [('PETSc', '3.22.5')]
 
 petsc_arch = 'installed-arch-linux2-c-opt'
 
Diff against SLEPc-3.17.2-foss-2022a.eb

easybuild/easyconfigs/s/SLEPc/SLEPc-3.17.2-foss-2022a.eb

diff --git a/easybuild/easyconfigs/s/SLEPc/SLEPc-3.17.2-foss-2022a.eb b/easybuild/easyconfigs/s/SLEPc/SLEPc-3.22.2-foss-2023b.eb
index 216e5e154d..7aaab3b515 100644
--- a/easybuild/easyconfigs/s/SLEPc/SLEPc-3.17.2-foss-2022a.eb
+++ b/easybuild/easyconfigs/s/SLEPc/SLEPc-3.22.2-foss-2023b.eb
@@ -1,5 +1,5 @@
 name = 'SLEPc'
-version = '3.17.2'
+version = '3.22.2'
 
 homepage = 'https://slepc.upv.es'
 description = """SLEPc (Scalable Library for Eigenvalue Problem Computations) is a software library for the solution
@@ -7,14 +7,14 @@ description = """SLEPc (Scalable Library for Eigenvalue Problem Computations) is
  either standard or generalized eigenproblems, with real or complex arithmetic. It can also be used for computing a
  partial SVD of a large, sparse, rectangular matrix, and to solve quadratic eigenvalue problems."""
 
-toolchain = {'name': 'foss', 'version': '2022a'}
+toolchain = {'name': 'foss', 'version': '2023b'}
 toolchainopts = {'usempi': True, 'openmp': True}
 
 source_urls = ['https://slepc.upv.es/download/distrib']
 sources = [SOURCELOWER_TAR_GZ]
-checksums = ['f784cca83a14156631d6e0f5726ca0778e259e1fe40c927607d5fb12d958d705']
+checksums = ['b60e58b2fa5eb7db05ce5e3a585811b43b1cc7cf89c32266e37b05f0cefd8899']
 
-dependencies = [('PETSc', '3.17.4')]
+dependencies = [('PETSc', '3.22.5')]
 
 petsc_arch = 'installed-arch-linux2-c-opt'
 

@julianmorillo
Copy link
Copy Markdown
Contributor Author

Needs PR #22077 to pass the tests

@Flamefire
Copy link
Copy Markdown
Contributor

Flamefire commented Feb 27, 2025

#20568 has a newer PETSc. Maybe use that? The other ones would be great to have

julianmorillo and others added 2 commits February 28, 2025 17:25
Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com>
Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire left a comment

Choose a reason for hiding this comment

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

2 corrections of my previous suggestions. Can you also remove the SuiteSparse file please?

julianmorillo and others added 2 commits March 3, 2025 12:16
Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com>
Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com>
@Flamefire
Copy link
Copy Markdown
Contributor

Flamefire commented Mar 3, 2025

Test report by @Flamefire
SUCCESS
Build succeeded for 4 out of 5 (5 easyconfigs in total) (petsc4py from other failing)
i8021 - Linux Rocky Linux 8.9 (Green Obsidian), x86_64, AMD EPYC 7352 24-Core Processor (zen2), 8 x NVIDIA NVIDIA A100-SXM4-40GB, 555.42.06, Python 3.8.17
See https://gist.github.com/Flamefire/615cc64a16e26e46245bf7d9be96ffc4 for a full test report.

@gkaf89
Copy link
Copy Markdown
Contributor

gkaf89 commented Mar 3, 2025

We are encountering an issue with SLEPc. After running the configure command manually it reports the required build command, which is:

make SLEPC_DIR=/the/path/to/$EBROOTSLEPC PETSC_DIR=/the/path/to/$EBROOTPETSC

Testing the reported command the program builds successfully. With the easyconfig, the command called is simply make, and the build fails. Maybe the easyblock should be modified?

@Flamefire
Copy link
Copy Markdown
Contributor

Flamefire commented Mar 3, 2025

Both variables are set as environment variables, PETSC_DIR by the module and SLEPC_DIR by the easyblock. The latter points to the source directory, not the install directory (that doesn't exist at that point). Is that maybe the issue?
I haven't seen any issue on both test installs I did

The end of the EB configure says:

 Configure stage complete. Now build the SLEPc library with:
   make SLEPC_DIR=/dev/shm/s3248973-EasyBuild610218/SLEPc/3.20.1/foss-2023b/slepc-3.20.1 PETSC_DIR=/data/horse/ws/s3248973-EasyBuild/easybuild-rome/software/PETSc/3.20.3-foss-2023b

@gkaf89
Copy link
Copy Markdown
Contributor

gkaf89 commented Mar 3, 2025

The end of the EB configure says:

 Configure stage complete. Now build the SLEPc library with:
   make SLEPC_DIR=/dev/shm/s3248973-EasyBuild610218/SLEPc/3.20.1/foss-2023b/slepc-3.20.1 PETSC_DIR=/data/horse/ws/s3248973-EasyBuild/easybuild-rome/software/PETSc/3.20.3-foss-2023b

You are correct, I misread the paths, PETSC_DIR points to the configuration directory. This is the exact error we are getting:

== 2025-03-03 15:46:09,323 run.py:503 INFO Running shell command 'make' in /tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1
== 2025-03-03 15:46:09,511 run.py:618 INFO Output of 'make ...' shell command (stdout + stderr):
/tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/lib/slepc/conf/slepc_rules:14: /tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/installed-arch-linux2-c-opt/lib/slepc/conf/slepcrules: No such file or directory
gmake[1]: *** No rule to make target '/tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/installed-arch-linux2-c-opt/lib/slepc/conf/slepcrules'.  Stop.
/tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/lib/slepc/conf/slepc_variables:58: /tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/installed-arch-linux2-c-opt/lib/slepc/conf/slepcvariables: No such file or directory
make: *** [GNUmakefile:12: /tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/installed-arch-linux2-c-opt/lib/slepc/conf/slepcvariables] Error 2

We are building with v5.0.0beta1 at the moment. I will dig a little bit to find out what it going wrong.

@Flamefire
Copy link
Copy Markdown
Contributor

Test report by @Flamefire
SUCCESS
Build succeeded for 8 out of 8 (5 easyconfigs in total)
n1607 - Linux RHEL 8.9 (Ootpa), x86_64, Intel(R) Xeon(R) Platinum 8470 (icelake), Python 3.8.17
See https://gist.github.com/Flamefire/c75e5758c2f89bf9d49b7d21e850bffc for a full test report.

@Flamefire
Copy link
Copy Markdown
Contributor

Flamefire commented Mar 4, 2025

@gkaf89

/tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/lib/slepc/conf/slepc_rules:14: /tmp/easybuild/aion/2023b/epyc/build/SLEPc/3.20.1/foss-2023b/slepc-3.20.1/installed-arch-linux2-c-opt/lib/slepc/conf/slepcrules: No such file or directory

It is missing an ARM folder for a build on EPYC, do I read that right? And this does work when you pass the install folder as SLEPC_DIR instead of the source folder?

Edit: Checking PETSc build: We do pass PETSC_DIR (build dir) as an env variable AND as an argument to make (via buildopts)

So just to be sure: If you pass PETSC_DIR and SLEPC_DIR as set by easybuild as arguments to make it works for you but doesn't without (only set as env variables)? Because it looks like the path to the failing folder is correct in that it points to what SLEPC_DIR would likely be/do.

@Flamefire
Copy link
Copy Markdown
Contributor

Assuming PETSc and SLEPc build processes are similar enough I opened a PR to pass SLEPC_DIR & PETSC_DIR to the make of SLEPc to mirror what we do for PETSc. Can you test if that resolves the issue for you: easybuilders/easybuild-easyblocks#3656

@Flamefire
Copy link
Copy Markdown
Contributor

Flamefire commented Mar 17, 2025

Test report by @Flamefire
SUCCESS
Build succeeded for 15 out of 16 (16 easyconfigs in total)
i7008 - Linux Rocky Linux 8.9 (Green Obsidian), x86_64, AMD EPYC 7702 64-Core Processor (zen2), Python 3.8.17
See https://gist.github.com/Flamefire/8e87174bc9222f4480ba683673e0f914 for a full test report.

Co-authored-by: Bob Dröge <b.e.droge@rug.nl>
@bedroge bedroge changed the title Add easyconfig gmsh-4.12.2-foss-2023b.eb and some dependencies {numlib}[foss/2023b] gmsh v4.12.2 and some dependencies Jun 16, 2025
@bedroge
Copy link
Copy Markdown
Contributor

bedroge commented Jun 17, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@bedroge: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=22084 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_22084 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 6827

Test results coming soon (I hope)...

Details

- notification for comment with ID 2979298618 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
jsczen3c3.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/9e453775d7ac4068723e401be916da91 for a full test report.

@bedroge
Copy link
Copy Markdown
Contributor

bedroge commented Jun 18, 2025

Test report by @bedroge
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in total)
bob-Latitude-5300 - Linux Ubuntu 24.04.2 LTS (Noble Numbat), x86_64, Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz, Python 3.12.3
See https://gist.github.com/bedroge/974f7105924a21d86c4452926ee06d55 for a full test report.

@bedroge
Copy link
Copy Markdown
Contributor

bedroge commented Jun 18, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@bedroge: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=22084 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_22084 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 6882

Test results coming soon (I hope)...

Details

- notification for comment with ID 2983759673 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 3 out of 3 (3 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/40b425cbc967b22fa864b5a05af6f434 for a full test report.

@bedroge
Copy link
Copy Markdown
Contributor

bedroge commented Jun 18, 2025

Test report by @bedroge
SUCCESS
Build succeeded for 3 out of 3 (3 easyconfigs in total)
bob-Latitude-5300 - Linux Ubuntu 24.04.2 LTS (Noble Numbat), x86_64, Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz, Python 3.12.3
See https://gist.github.com/bedroge/762109d25727a2cb84b43b6890523b3f for a full test report.

Copy link
Copy Markdown
Contributor

@bedroge bedroge left a comment

Choose a reason for hiding this comment

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

Looks good to me

@bedroge bedroge added this to the next release (5.1.1?) milestone Jun 18, 2025
@bedroge bedroge added the 2023b label Jun 18, 2025
@bedroge bedroge dismissed Flamefire’s stale review June 18, 2025 17:42

Comments addressed.

@bedroge
Copy link
Copy Markdown
Contributor

bedroge commented Jun 18, 2025

Going in, thanks @julianmorillo!

@bedroge bedroge merged commit 046708d into easybuilders:develop Jun 18, 2025
8 checks passed
@julianmorillo julianmorillo deleted the gmsh branch June 19, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants