-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: SUNDIALS-7.0.0-intel-2023b.eb, SuiteSparse-7.7.0-…
…intel-2023b.eb
- Loading branch information
1 parent
3bef86c
commit 11639b1
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
easybuild/easyconfigs/s/SUNDIALS/SUNDIALS-7.0.0-intel-2023b.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'SUNDIALS' | ||
version = '7.0.0' | ||
|
||
homepage = 'https://computing.llnl.gov/projects/sundials' | ||
|
||
description = "SUNDIALS: SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers" | ||
|
||
toolchain = {'name': 'intel', 'version': '2023b'} | ||
toolchainopts = {'openmp': True, 'usempi': True, 'pic': True} | ||
|
||
source_urls = ['https://github.com/LLNL/sundials/releases/download/v%(version)s/'] | ||
sources = [SOURCELOWER_TAR_GZ] | ||
patches = [ | ||
'%(name)s-6.6.0_fix_bad_find_library_calls.patch', | ||
] | ||
checksums = [ | ||
{'sundials-7.0.0.tar.gz': 'd762a7950ef4097fbe9d289f67a8fb717a0b9f90f87ed82170eb5c36c0a07989'}, | ||
{'SUNDIALS-6.6.0_fix_bad_find_library_calls.patch': | ||
'c5e3248bd036fee17436649280ff7156a2722698c33ec20a5e635e3a60d16823'}, | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.27.6'), | ||
] | ||
|
||
dependencies = [ | ||
('SuiteSparse', '7.7.0'), | ||
] | ||
|
||
_copts = [ | ||
'-DENABLE_MPI=ON', | ||
'-DENABLE_OPENMP=ON', | ||
'-DENABLE_LAPACK=ON', | ||
'-DENABLE_KLU=ON', | ||
] | ||
configopts = ' '.join(_copts) | ||
|
||
local_solvers = ['arkode', 'cvode', 'cvodes', 'ida', 'idas', 'kinsol'] | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libsundials_%s.a' % s for s in local_solvers + | ||
['nvecopenmp', 'nvecparallel', 'nvecserial']] + | ||
['lib/libsundials_%s.%s' % (s, SHLIB_EXT) for s in local_solvers + | ||
['nvecopenmp', 'nvecparallel', 'nvecserial']], | ||
'dirs': ['examples/%s' % s for s in local_solvers] + | ||
['include/%s' % s for s in local_solvers] + | ||
['examples/nvector', 'include/nvector', 'include/sundials'], | ||
} | ||
|
||
moduleclass = 'math' |
28 changes: 28 additions & 0 deletions
28
easybuild/easyconfigs/s/SuiteSparse/SuiteSparse-7.7.0-intel-2023b.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |