mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: e/ELSI/ELSI-2.5.0-intel-2020b.eb new file: f/FFTW/FFTW-3.3.8-gompi-2020a-amd.eb new file: l/libGridXC/libGridXC-0.8.5-iimpi-2020b.eb new file: l/libPSML/libPSML-1.1.8-iccifort-2020.4.304.eb new file: l/libxc/libxc-4.3.4-intel-2020b.eb new file: p/PETSc/PETSc-3.12.4-intel-2020b.eb new file: s/SLEPc/SLEPc-3.13.3-intel-2020a-Python-3.8.6.eb new file: s/Siesta/Siesta-4.1-Max-1.2.0-intel-2020b.eb new file: s/Siesta/Siesta-4.1-b5-intel-2020b-test.eb new file: t/TotalView/TotalView-2021.2.14.eb new file: x/xmlf90/xmlf90-1.5.4-iccifort-2020.4.304.eb
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# IT4Innovations
|
|
# LK 2021
|
|
|
|
name = 'PETSc'
|
|
version = '3.12.4'
|
|
|
|
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': '2020b'}
|
|
toolchainopts = {'usempi': True, 'pic': True}
|
|
|
|
# https:// does not work here
|
|
source_urls = [
|
|
'http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/',
|
|
'ftp://ftp.mcs.anl.gov/pub/petsc/release-snapshots/',
|
|
]
|
|
sources = [SOURCELOWER_TAR_GZ]
|
|
patches = [
|
|
'PETSc_ranlib-fix.patch',
|
|
]
|
|
checksums = [
|
|
'56a941130da93bbacb3cfa74dcacea1e3cd8e36a0341f9ced09977b1457084c3', # petsc-3.12.4.tar.gz
|
|
'64cf9d5008d5e92117e65bdec5316d991b6a6b8c8ecf7ea46eb790a498266297', # PETSc_ranlib-fix.patch
|
|
]
|
|
|
|
builddependencies = [('CMake', '3.20.1', '', True)]
|
|
|
|
dependencies = [
|
|
('Boost', '1.72.0'),
|
|
('METIS', '5.1.0'),
|
|
('SCOTCH', '6.0.9'),
|
|
('MUMPS', '5.2.1', '-metis'),
|
|
('SuiteSparse', '5.6.0', '-METIS-5.1.0'),
|
|
('Hypre', '2.18.2'),
|
|
]
|
|
|
|
configopts = '--LIBS="$LIBS -lrt" '
|
|
|
|
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'
|