Skip to content

Commit

Permalink
Merge pull request #20959 from SimonPinches/20240703180155_new_pr_STR…
Browse files Browse the repository at this point in the history
…UMPACK710

{numlib}[foss/2023b,intel/2023b] STRUMPACK v7.1.0
  • Loading branch information
verdurin committed Jul 12, 2024
2 parents 25894b5 + 0e25bf8 commit 3f65a04
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
46 changes: 46 additions & 0 deletions easybuild/easyconfigs/s/STRUMPACK/STRUMPACK-7.1.0-foss-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
easyblock = 'CMakeMake'

name = 'STRUMPACK'
version = '7.1.0'

homepage = 'https://fastmath-scidac.llnl.gov/software/strumpack.html'
description = """STRUMPACK - STRUctured Matrix PACKage - Fast linear solvers and preconditioner
for both dense and sparse systems using low-rank structured factorization with randomized sampling."""

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

source_urls = ['https://github.com/pghysels/%(name)s/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['a3e80e0530ea1cc6b62c22699cfe5f02f81794321f225440f0e08bceed69c241']

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

dependencies = [
('zlib', '1.2.13'),
('ParMETIS', '4.0.3'),
('SCOTCH', '7.0.4'),
]

configopts = '-DSTRUMPACK_USE_OPENMP=ON '
configopts += '-DTPL_METIS_INCLUDE_DIRS=${EBROOTPARMETIS}/include '
configopts += '-DTPL_METIS_LIBRARY_DIR=${EBROOTPARMETIS}/lib '
configopts += '-DTPL_ENABLE_PARMETIS=ON '
configopts += '-DTPL_PARMETIS_INCLUDE_DIRS=${EBROOTPARMETIS}/include '
configopts += '-DTPL_PARMETIS_LIBRARY_DIR=${EBROOTPARMETIS}/lib '
configopts += '-DTPL_ENABLE_SCOTCH=ON '
configopts += '-DTPL_SCOTCH_INCLUDE_DIRS=${EBROOTSCOTCH}/include '
configopts += '-DTPL_SCOTCH_LIBRARY_DIR=${EBROOTSCOTCH}/lib '
configopts += '-DTPL_ENABLE_BPACK=OFF '
configopts += '-DTPL_ENABLE_ZFP=OFF '
configopts += '-DTPL_ENABLE_SLATE=OFF '

sanity_check_paths = {
'files': ['lib/libstrumpack.a'],
'dirs': ['include/%s' % x for x in ['BLR', 'clustering', 'dense', 'HSS', 'kernel', 'misc', 'python', 'sparse']] +
['lib'],
}

moduleclass = 'numlib'
47 changes: 47 additions & 0 deletions easybuild/easyconfigs/s/STRUMPACK/STRUMPACK-7.1.0-intel-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
easyblock = 'CMakeMake'

name = 'STRUMPACK'
version = '7.1.0'

homepage = 'https://fastmath-scidac.llnl.gov/software/strumpack.html'
description = """STRUMPACK - STRUctured Matrix PACKage - Fast linear solvers and preconditioner
for both dense and sparse systems using low-rank structured factorization with randomized sampling."""

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

source_urls = ['https://github.com/pghysels/%(name)s/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['a3e80e0530ea1cc6b62c22699cfe5f02f81794321f225440f0e08bceed69c241']

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

dependencies = [
('zlib', '1.2.13'),
('ParMETIS', '4.0.3'),
('SCOTCH', '7.0.4'),
]

configopts = '-DSTRUMPACK_USE_OPENMP=ON '
configopts += '-DTPL_SCALAPACK_LIBRARIES="${LIBSCALAPACK_MT}" '
configopts += '-DTPL_METIS_INCLUDE_DIRS=${EBROOTPARMETIS}/include '
configopts += '-DTPL_METIS_LIBRARY_DIR=${EBROOTPARMETIS}/lib '
configopts += '-DTPL_ENABLE_PARMETIS=ON '
configopts += '-DTPL_PARMETIS_INCLUDE_DIRS=${EBROOTPARMETIS}/include '
configopts += '-DTPL_PARMETIS_LIBRARY_DIR=${EBROOTPARMETIS}/lib '
configopts += '-DTPL_ENABLE_SCOTCH=ON '
configopts += '-DTPL_SCOTCH_INCLUDE_DIRS=${EBROOTSCOTCH}/include '
configopts += '-DTPL_SCOTCH_LIBRARY_DIR=${EBROOTSCOTCH}/lib '
configopts += '-DTPL_ENABLE_BPACK=OFF '
configopts += '-DTPL_ENABLE_ZFP=OFF '
configopts += '-DTPL_ENABLE_SLATE=OFF '

sanity_check_paths = {
'files': ['lib/libstrumpack.a'],
'dirs': ['include/%s' % x for x in ['BLR', 'clustering', 'dense', 'HSS', 'kernel', 'misc', 'python', 'sparse']] +
['lib'],
}

moduleclass = 'numlib'

0 comments on commit 3f65a04

Please sign in to comment.