Skip to content

Commit

Permalink
adding easyconfigs: PETSc-3.22.0-intel-2023b.eb, MUMPS-5.7.2-intel-20…
Browse files Browse the repository at this point in the history
…23b-metis.eb, SuiteSparse-7.7.0-intel-2023b.eb
  • Loading branch information
Louwrensth committed Oct 2, 2024
1 parent 598985f commit 923f709
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 0 deletions.
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/m/MUMPS/MUMPS-5.7.2-intel-2023b-metis.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name = 'MUMPS'
version = '5.7.2'
versionsuffix = '-metis'

homepage = 'https://graal.ens-lyon.fr/MUMPS/'
description = "A parallel sparse direct solver"

toolchain = {'name': 'intel', 'version': '2023b'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['http://mumps-solver.org/']
sources = ['%(name)s_%(version)s.tar.gz']
checksums = ['1362d377ce7422fc886c55212b4a4d2c381918b5ca4478f682a22d0627a8fbf8']

dependencies = [
('SCOTCH', '7.0.4'),
('METIS', '5.1.0'),
]

parallel = 1

# fix 'Type mismatch between actual argument' errors with GCC 10.x
prebuildopts = 'export FFLAGS="$FFLAGS -fallow-argument-mismatch" && '

buildopts = 'all SONAME_VERSION="%(version)s"'

moduleclass = 'math'
45 changes: 45 additions & 0 deletions easybuild/easyconfigs/p/PETSc/PETSc-3.22.0-intel-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
##
# Author: Robert Mijakovic <[email protected]>
# Author: Jasper Grimm (UoY)
##
name = 'PETSc'
version = '3.22.0'

homepage = 'https://www.mcs.anl.gov/petsc'
description = """PETSc, pronounced PET-see (the S is silent), is a suite of data structures and routines for the
scalable (parallel) solution of scientific applications modeled by partial differential equations."""

toolchain = {'name': 'intel', 'version': '2023b'}
toolchainopts = {'openmp': True, 'usempi': True, 'pic': True, 'oneapi': True}

source_urls = [
'https://web.cels.anl.gov/projects/petsc/download/release-snapshots',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['a1ac62b6204bdf2f7f9b637abf45e6cff24d372d4d3d3702c50e157bdb56eb21']

builddependencies = [('CMake', '3.27.6')]

dependencies = [
('Python', '3.11.5'),
('SciPy-bundle', '2023.12'),
('Boost', '1.83.0'),
('METIS', '5.1.0'),
('SCOTCH', '7.0.4'),
('MUMPS', '5.7.2', '-metis'),
('SuiteSparse', '7.7.0'),
('Hypre', '2.31.0'),
('ParMETIS', '4.0.3'),
('SuperLU_DIST', '8.2.1'),
('mpi4py', '3.1.5'),
]

configopts = '--LIBS="$LIBS -lrt" --with-mpi4py=0 '

shared_libs = 1

# only required when building PETSc in a SLURM job environment
# configopts += '--with-batch=1 --known-mpi-shared-libraries=1 --known-64-bit-blas-indices=0 '
# prebuildopts = "srun ./conftest-arch-linux2-c-opt && ./reconfigure-arch-linux2-c-opt.py && "

moduleclass = 'numlib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = 'SuiteSparse'
version = '7.7.0'

homepage = 'https://faculty.cse.tamu.edu/davis/suitesparse.html'
description = """SuiteSparse is a collection of libraries to manipulate sparse matrices."""

toolchain = {'name': 'intel', 'version': '2023b'}
toolchainopts = {'unroll': True, 'pic': True}

source_urls = ['https://github.com/DrTimothyAldenDavis/SuiteSparse/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['529b067f5d80981f45ddf6766627b8fc5af619822f068f342aab776e683df4f3']

builddependencies = [
('CMake', '3.27.6'),
('pkgconf', '2.0.3'),
]

dependencies = [
('MPFR', '4.2.1'),
]

cmake_options = '-DBLA_VENDOR=Intel10_64_dyn'

# make sure that bin/demo can find libsuitesparseconfig.so.5 during build
prebuildopts = "export LD_LIBRARY_PATH=%(builddir)s/SuiteSparse-%(version)s/lib:$LD_LIBRARY_PATH && "

moduleclass = 'numlib'

0 comments on commit 923f709

Please sign in to comment.