Skip to content

Commit 1096350

Browse files
authored
Merge pull request #22696 from MarieHouillon/20250403090301_new_pr_openCARP170
{bio,numlib}[foss/2023b] openCARP v17.0, PETSc v3.22.5
2 parents 1ff3550 + 621e4b8 commit 1096350

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
easyblock = 'CMakeMake'
2+
3+
name = 'openCARP'
4+
version = '17.0'
5+
6+
homepage = 'https://opencarp.org'
7+
description = "openCARP is an open cardiac electrophysiology simulator for in-silico experiments."
8+
9+
toolchain = {'name': 'foss', 'version': '2023b'}
10+
toolchainopts = {'openmp': True, 'usempi': True}
11+
12+
source_urls = ['https://git.opencarp.org/openCARP/openCARP/-/archive/v%(version)s/']
13+
sources = ['openCARP-v%(version)s.tar.gz']
14+
checksums = [
15+
'6439b6b8e6a265cd6cfe39f59507418739d936de6f6e059b2d0f468df816d26e', # openCARP-v17.0.tar.gz
16+
]
17+
18+
builddependencies = [
19+
('CMake', '3.27.6'),
20+
('gengetopt', '2.23'),
21+
('pkgconf', '2.0.3'),
22+
]
23+
24+
dependencies = [
25+
('PETSc', '3.22.5'),
26+
('zlib', '1.2.13'),
27+
]
28+
# This option turns off irrelevant postinstall steps used for packaging
29+
configopts = "-DSPACK_BUILD=ON "
30+
31+
sanity_check_paths = {
32+
'files': ['bin/%s' % x for x in ['bench', 'igbapd', 'igbextract', 'igbhead', 'igbops', 'mesher', 'openCARP']],
33+
'dirs': [],
34+
}
35+
36+
moduleclass = 'bio'
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
##
2+
# Author: Robert Mijakovic <[email protected]>
3+
# Author: Jasper Grimm (UoY)
4+
##
5+
name = 'PETSc'
6+
version = '3.22.5'
7+
8+
homepage = 'https://www.mcs.anl.gov/petsc'
9+
description = """PETSc, pronounced PET-see (the S is silent), is a suite of data structures and routines for the
10+
scalable (parallel) solution of scientific applications modeled by partial differential equations."""
11+
12+
toolchain = {'name': 'foss', 'version': '2023b'}
13+
toolchainopts = {'openmp': True, 'usempi': True, 'pic': True}
14+
15+
source_urls = [
16+
'https://web.cels.anl.gov/projects/petsc/download/release-snapshots',
17+
]
18+
sources = [SOURCELOWER_TAR_GZ]
19+
checksums = ['984dba48bd26e7b17d42c078fc4f74d59e9cbc437ee25a8635865eeca9f5dd28']
20+
21+
builddependencies = [('CMake', '3.27.6')]
22+
23+
dependencies = [
24+
('Python', '3.11.5'),
25+
('SciPy-bundle', '2023.11'),
26+
('Boost', '1.83.0'),
27+
('METIS', '5.1.0'),
28+
('SCOTCH', '7.0.4'),
29+
('MUMPS', '5.6.1', '-metis'),
30+
('SuiteSparse', '7.7.0'),
31+
('Hypre', '2.31.0'),
32+
('ParMETIS', '4.0.3'),
33+
('SuperLU_DIST', '8.2.1'),
34+
('mpi4py', '3.1.5'),
35+
]
36+
37+
configopts = '--LIBS="$LIBS -lrt" --with-mpi4py=0 '
38+
39+
shared_libs = 1
40+
41+
# only required when building PETSc in a SLURM job environment
42+
# configopts += '--with-batch=1 --known-mpi-shared-libraries=1 --known-64-bit-blas-indices=0 '
43+
# prebuildopts = "srun ./conftest-arch-linux2-c-opt && ./reconfigure-arch-linux2-c-opt.py && "
44+
45+
moduleclass = 'numlib'

0 commit comments

Comments
 (0)