mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-19 13:10:50 +01:00

new file: n/numba/numba-0.48.0-Py-3.7.eb modified: p/PETSc/PETSc-3.12.4-intel-2020a.eb new file: p/petsc4py/petsc4py-3.12.0-Py-3.7.eb new file: p/pybind11/pybind11-2.4.3-Py-3.7.eb new file: s/SLEPc/SLEPc-3.12.2-intel-2020a.eb new file: s/scipy/scipy-1.4.1-Py-3.7.eb modified: s/slepc4py/slepc4py-3.12.0-Py-3.7.eb
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# IT4Innovations 2020
|
|
|
|
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': '2020a'}
|
|
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.16.2', '', 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'
|