From 3eeef478c1af3e884744d534b011c92fedfe52c9 Mon Sep 17 00:00:00 2001 From: sassy Date: Wed, 4 Jun 2025 16:14:42 +0100 Subject: [PATCH 1/4] adding easyconfigs: double-down-1.1.0-foss-2024a.eb, MOAB-5.5.0-foss-2024a.eb, Zoltan-3.901-foss-2024a.eb --- .../double-down-1.1.0-foss-2024a.eb | 47 +++++++++++++++ .../m/MOAB/MOAB-5.5.0-foss-2024a.eb | 60 +++++++++++++++++++ .../z/Zoltan/Zoltan-3.901-foss-2024a.eb | 46 ++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 easybuild/easyconfigs/d/double-down/double-down-1.1.0-foss-2024a.eb create mode 100644 easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb create mode 100644 easybuild/easyconfigs/z/Zoltan/Zoltan-3.901-foss-2024a.eb diff --git a/easybuild/easyconfigs/d/double-down/double-down-1.1.0-foss-2024a.eb b/easybuild/easyconfigs/d/double-down/double-down-1.1.0-foss-2024a.eb new file mode 100644 index 00000000000..ef45aca93c3 --- /dev/null +++ b/easybuild/easyconfigs/d/double-down/double-down-1.1.0-foss-2024a.eb @@ -0,0 +1,47 @@ +# Based on the EasyConfig templates provided my Alex Domingo +# Author: J. Saßmannshausen (Imperial College London/UK) + +easyblock = 'CMakeMake' + +name = 'double-down' +version = '1.1.0' + +homepage = 'https://github.com/pshriwise/double-down' +description = """ +double-down : A double precision interface to Embree + +double-down is a double precision interface to Embree via the +Mesh Oriented dAtaBase (MOAB). +""" + +toolchain = {'name': 'foss', 'version': '2024a'} + +github_account = 'pshriwise' +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['427e5e4ba59c53bddb1991cb34d86a52c11162175bfc6f802abccb5745cea3ba'] + +builddependencies = [ + ('binutils', '2.42'), + ('CMake', '3.29.3'), +] + +dependencies = [ + ('Embree', '4.4.0', '', SYSTEM), + ('MOAB', '5.5.0'), +] + +post_install_cmds = ['cd %(installdir)s && ln -s tools bin && cd -'] +post_install_msgs = ['Linking tools to bin'] + +sanity_check_paths = { + 'files': ['tools/closest_to_location', 'tools/ray_fire', + 'lib/libdd.so'], + 'dirs': ['include', 'tools'], +} + +sanity_check_commands = [ + "ray_fire --help", +] + +moduleclass = 'vis' diff --git a/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb new file mode 100644 index 00000000000..9501e58bb4b --- /dev/null +++ b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb @@ -0,0 +1,60 @@ +# Based on the EasyConfig templates provided my Alex Domingo +# Author: J. Saßmannshausen (Imperial College London/UK) + +easyblock = 'CMakeMake' + +name = 'MOAB' +version = '5.5.0' + +homepage = 'https://sigma.mcs.anl.gov/moab-library' +description = """ +MOAB — The Mesh-Oriented datABase + +The Mesh-Oriented datABase (MOAB) is a component for representing and +evaluating mesh data. MOAB can store and represent structured and +unstructured meshes consisting of elements in the finite element “zoo”, +including polygons and polyhedra. +""" + +toolchain = {'name': 'foss', 'version': '2024a'} + +source_urls = ['https://web.cels.anl.gov/projects/sigma/downloads/moab'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['58969f8a1b209ec9036c08c53a6b7078b368eb3bf99d0368a4de5a2f2a8db678'] + +builddependencies = [ + ('binutils', '2.42'), + ('CMake', '3.29.3'), + ('Eigen', '3.4.0'), +] + +dependencies = [ + ('HDF5', '1.14.5'), + ('netCDF', '4.9.2'), + ('PnetCDF', '1.14.0'), + ('METIS', '5.1.0'), + ('ParMETIS', '4.0.3'), + ('SCOTCH', '7.0.6'), + ('Hypre', '2.32.0'), + ('PnetCDF', '1.14.0'), + ('Zoltan', '3.901'), +] + +configopts = '-DENABLE_MPI=ON -DENABLE_HDF5=ON -DENABLE_ZLIB=ON ' +configopts += '-DENABLE_NETCDF=ON -DNETCDF_ROOT=$EBROOTNETCDF ' +configopts += '-DENABLE_PNETCDF=ON -DPNETCDF_ROOT=$EBROOTPNETCDF ' +configopts += '-DENABLE_METIS=ON -DENABLE_PARMETIS=ON ' +configopts += '-DENABLE_ZOLTAN=ON -DZOLTAN_DIR=$EBROOTZOLTAN ' + +sanity_check_paths = { + 'files': ['bin/mbpart', f'lib/lib%(name)s.{SHLIB_EXT}'], + 'dirs': ['include'], +} + +runtest = 'check' + +sanity_check_commands = [ + "mbpart --help", +] + +moduleclass = 'vis' diff --git a/easybuild/easyconfigs/z/Zoltan/Zoltan-3.901-foss-2024a.eb b/easybuild/easyconfigs/z/Zoltan/Zoltan-3.901-foss-2024a.eb new file mode 100644 index 00000000000..f0ab6d6f1f5 --- /dev/null +++ b/easybuild/easyconfigs/z/Zoltan/Zoltan-3.901-foss-2024a.eb @@ -0,0 +1,46 @@ +# This easyconfig was created by the BEAR Software team at the University of Birmingham. +easyblock = 'ConfigureMake' + +name = 'Zoltan' +version = '3.901' + +homepage = "https://sandialabs.github.io/Zoltan/" +description = """Zoltan Dynamic Load Balancing and Graph Algorithm Toolkit""" + +toolchain = {'name': 'foss', 'version': '2024a'} +toolchainopts = {'pic': True} + +github_account = 'sandialabs' +source_urls = [GITHUB_SOURCE] +sources = ['v%(version)s.tar.gz'] +checksums = ['030c22d9f7532d3076e40cba1f03a63b2ee961d8cc9a35149af4a3684922a910'] + +dependencies = [ + ('gzip', '1.13'), + ('SCOTCH', '7.0.6'), + ('ParMETIS', '4.0.3'), +] + +preconfigopts = 'mkdir build && cd build &&' +configure_cmd = '../configure' +configopts = ' '.join([ + '--enable-gzip', + '--with-scotch', + '--with-scotch-incdir=$EBROOTSCOTCH/include', + '--with-scotch-libdir=$EBROOTSCOTCH/lib', + '--with-parmetis', + '--with-parmetis-incdir=$EBROOTPARMETIS/include', + '--with-parmetis-libdir=$EBROOTPARMETIS/lib', + '--disable-examples', + '--disable-tests', +]) +prebuildopts = 'cd build &&' +buildopts = 'everything' +preinstallopts = 'cd build &&' + +sanity_check_paths = { + 'files': ['lib/libzoltan.a', 'include/zoltan.h'], + 'dirs': [], +} + +moduleclass = 'cae' From f526732e8d347b7373769ce9a99067e2a757fe3a Mon Sep 17 00:00:00 2001 From: sassy Date: Mon, 18 Aug 2025 14:41:03 +0100 Subject: [PATCH 2/4] Surplus PnetCDF removed --- easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb | 1 - 1 file changed, 1 deletion(-) diff --git a/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb index 9501e58bb4b..dc47e0f36dc 100644 --- a/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb +++ b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb @@ -36,7 +36,6 @@ dependencies = [ ('ParMETIS', '4.0.3'), ('SCOTCH', '7.0.6'), ('Hypre', '2.32.0'), - ('PnetCDF', '1.14.0'), ('Zoltan', '3.901'), ] From 906f307ff46a1a54074452838c528a490ab84f6b Mon Sep 17 00:00:00 2001 From: sassy Date: Mon, 18 Aug 2025 17:12:08 +0100 Subject: [PATCH 3/4] Automatic download for MOAB fails, so manual required --- easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb index dc47e0f36dc..fa37c5a8cb5 100644 --- a/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb +++ b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb @@ -18,10 +18,18 @@ including polygons and polyhedra. toolchain = {'name': 'foss', 'version': '2024a'} -source_urls = ['https://web.cels.anl.gov/projects/sigma/downloads/moab'] +# This does not seem to work within EasyBuild, so we include download +# instructions instead: +# source_urls = ['https://web.cels.anl.gov/projects/sigma/downloads/moab/'] sources = [SOURCELOWER_TAR_GZ] checksums = ['58969f8a1b209ec9036c08c53a6b7078b368eb3bf99d0368a4de5a2f2a8db678'] +download_instructions = """ +The automatic download does not work, so please manually download that file: +https://web.cels.anl.gov/projects/sigma/downloads/moab/moab-5.5.0.tar.gz +and place it in the correct folder. +""" + builddependencies = [ ('binutils', '2.42'), ('CMake', '3.29.3'), From b47934bb530373a901efdf82a3928fdd28342eaa Mon Sep 17 00:00:00 2001 From: sassy Date: Mon, 18 Aug 2025 17:14:59 +0100 Subject: [PATCH 4/4] Trailing whitespaces removed --- easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb index fa37c5a8cb5..ca1fc77d22c 100644 --- a/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb +++ b/easybuild/easyconfigs/m/MOAB/MOAB-5.5.0-foss-2024a.eb @@ -18,7 +18,7 @@ including polygons and polyhedra. toolchain = {'name': 'foss', 'version': '2024a'} -# This does not seem to work within EasyBuild, so we include download +# This does not seem to work within EasyBuild, so we include download # instructions instead: # source_urls = ['https://web.cels.anl.gov/projects/sigma/downloads/moab/'] sources = [SOURCELOWER_TAR_GZ]