From b9b47a69a70d663f202795458f75c843f3a4323d Mon Sep 17 00:00:00 2001 From: Simon Pinches Date: Mon, 17 Jun 2024 18:16:14 +0200 Subject: [PATCH] adding easyconfigs: SCOTCH-7.0.4-iimpi-2023b.eb, PaStiX-6.3.2-intel-2023b.eb --- .../p/PaStiX/PaStiX-6.3.2-intel-2023b.eb | 46 +++++++++++++++++++ .../s/SCOTCH/SCOTCH-7.0.4-iimpi-2023b.eb | 26 +++++++++++ 2 files changed, 72 insertions(+) create mode 100644 easybuild/easyconfigs/p/PaStiX/PaStiX-6.3.2-intel-2023b.eb create mode 100644 easybuild/easyconfigs/s/SCOTCH/SCOTCH-7.0.4-iimpi-2023b.eb diff --git a/easybuild/easyconfigs/p/PaStiX/PaStiX-6.3.2-intel-2023b.eb b/easybuild/easyconfigs/p/PaStiX/PaStiX-6.3.2-intel-2023b.eb new file mode 100644 index 00000000000..e302309df9a --- /dev/null +++ b/easybuild/easyconfigs/p/PaStiX/PaStiX-6.3.2-intel-2023b.eb @@ -0,0 +1,46 @@ +easyblock = 'CMakeMake' + +name = 'PaStiX' +version = '6.3.2' + +homepage = 'http://pastix.gforge.inria.fr/' +description = """PaStiX (Parallel Sparse matriX package) is a scientific library that provides a high performance + parallel solver for very large sparse linear systems based on direct methods.""" + +toolchain = {'name': 'intel', 'version': '2023b'} +toolchainopts = {'pic': True} + +source_urls = ['https://files.inria.fr/pastix/releases/v6/'] +sources = ['%(namelower)s-%(version)s.tar.gz'] +checksums = ['c4da8802d1933eecf8c09d7e63c014c81ccf353fe623142e9f5c5fc65ed82ee0'] + +builddependencies = [ + ('CMake', '3.27.6'), +] + +dependencies = [ + ('hwloc', '2.9.2'), + ('SCOTCH', '7.0.4'), +] + +configopts = [ + '-DBUILD_SHARED_LIBS=OFF -DPASTIX_INT64=OFF -DPASTIX_WITH_MPI=ON', + '-DBUILD_SHARED_LIBS=ON -DPASTIX_INT64=OFF -DPASTIX_WITH_MPI=ON' +] + +sanity_check_paths = { + 'files': ['bin/pastix_env.sh', + 'bin/spm_env.sh', + 'lib/libpastix.a', + 'lib/libpastixf.a', + 'lib/libpastix.%s' % SHLIB_EXT, + 'lib/libpastixf.%s' % SHLIB_EXT, + 'lib/libspm.a', + 'lib/libspmf.a', + 'lib/libspm.%s' % SHLIB_EXT, + 'lib/libspmf.%s' % SHLIB_EXT, + ], + 'dirs': ['bin', 'include', 'lib/pkgconfig', 'share'], +} + +moduleclass = 'math' diff --git a/easybuild/easyconfigs/s/SCOTCH/SCOTCH-7.0.4-iimpi-2023b.eb b/easybuild/easyconfigs/s/SCOTCH/SCOTCH-7.0.4-iimpi-2023b.eb new file mode 100644 index 00000000000..03292d90476 --- /dev/null +++ b/easybuild/easyconfigs/s/SCOTCH/SCOTCH-7.0.4-iimpi-2023b.eb @@ -0,0 +1,26 @@ +name = 'SCOTCH' +version = '7.0.4' + +homepage = 'https://www.labri.fr/perso/pelegrin/scotch/' +description = """Software package and libraries for sequential and parallel graph partitioning, +static mapping, and sparse matrix block ordering, and sequential mesh and hypergraph partitioning.""" + +toolchain = {'name': 'iimpi', 'version': '2023b'} +toolchainopts = {'pic': True} + +source_urls = ['https://gitlab.inria.fr/scotch/scotch/-/archive/v%(version)s/'] +sources = ['%(namelower)s-v%(version)s.tar.gz'] +checksums = ['8ef4719d6a3356e9c4ca7fefd7e2ac40deb69779a5c116f44da75d13b3d2c2c3'] + +threadedmpi = False + +builddependencies = [ + ('Bison', '3.8.2'), + ('flex', '2.6.4'), +] + +dependencies = [ + ('zlib', '1.2.13'), +] + +moduleclass = 'math'