easyconfigs-it4i/t/Trilinos/Trilinos-12.12.1-intel-2020a-Py-3.7.eb
Lukáš Krupčík d3593bd9a7 new file: b/Boost/Boost-1.72.0-intel-2020a-Py-3.7.eb
new file:   c/CGAL/CGAL-4.11.1-intel-2020a.eb
	new file:   c/CGAL/CGAL-5.0.2-intel-2020a.eb
	new file:   d/DOLFIN/DOLFIN-2019.1.0-intel-2020a-Py-3.7.eb
	new file:   f/FFC/FFC-2019.1.0-conda.eb
	new file:   m/MATIO/MATIO-1.5.12-intel-2020a.eb
	new file:   m/mshr/mshr-2019.1.0-conda.eb
	modified:   o/OpenMPI/OpenMPI-1.10.7-GCC-6.3.0-2.27-noPBS.eb
	new file:   o/OpenMPI/OpenMPI-3.1.6-GCCcore-8.3.0-noPBS.eb
	new file:   s/SLEPc/SLEPc-3.13.3-intel-2020a.eb
	new file:   s/SLEPc/SLEPc-3.9.2-intel-2020a.eb
	new file:   t/Trilinos/Trilinos-12.12.1-intel-2020a-Py-3.7.eb
2020-07-21 12:50:01 +02:00

65 lines
2.5 KiB
Plaintext

# IT4Innovations 2020
# LK
name = 'Trilinos'
version = '12.12.1'
versionsuffix = '-Py-3.7'
homepage = 'https://trilinos.org'
description = """The Trilinos Project is an effort to develop algorithms and enabling technologies
within an object-oriented software framework for the solution of large-scale, complex multi-physics
engineering and scientific problems. A unique design feature of Trilinos is its focus on packages."""
toolchain = {'name': 'intel', 'version': '2020a'}
toolchainopts = {'usempi': True, 'pic': True, 'strict': True}
source_urls = [
'http://trilinos.csbsju.edu/download/files/',
'https://trilinos.org/oldsite/download/files/',
]
sources = ['%(namelower)s-%(version)s-Source.tar.gz']
patches = [
('Trilinos-%(version)s_fix-CEpetra-LAPACK.patch', 'packages/CTrilinos'),
'Trilinos-%(version)s_fix-Py3.patch',
'Trilinos-%(version)s_muelu-fix-function-signature.patch',
'Trilinos-%(version)s_fix-Sundance.patch',
]
checksums = [
'7c67d83befbeabc773661bcdfee2850c404d249160b755d3f1be2e96f564f9fd', # trilinos-12.12.1-Source.tar.gz
'de2e989bf9e7cbe7cab9126a464b5b1569983de4060956e7a95dccb9e0bad039', # Trilinos-12.12.1_fix-CEpetra-LAPACK.patch
'5505645b712056403263860de86efccfb343cb5e5bf8d65697526d65ea5df099', # Trilinos-12.12.1_fix-Py3.patch
# Trilinos-12.12.1_muelu-fix-function-signature.patch
'253191cc6f6a6ebcc893e2684c64cfefa62c1cd0cc6b03b5f83646856fbdfe8a',
'df7924c207c1fab98d5aeec1333c4e2da5c07117daf2c72279f894552087e391', # Trilinos-12.12.1_fix-Sundance.patch
]
builddependencies = [
('CMake', '3.16.2', '', True),
('SWIG', '3.0.12', versionsuffix, True),
]
dependencies = [
('Py', '3.7', '', True),
('Boost', '1.72.0', versionsuffix),
('SCOTCH', '6.0.9'),
('SuiteSparse', '5.6.0', '-METIS-5.1.0'),
('ParMETIS', '4.0.3'),
('netCDF', '4.7.3'),
('MATIO', '1.5.12'),
# ('GLM', '0.9.9.0'),
('X11', '20190717', '', True),
]
# disable TrilinosCouplings package, doesn't build correctly (examples fail to compile)
skip_exts = ['TrilinosCouplings']
# workaround for Teuchos.pyc not being found during "make install"
# see https://github.com/trilinos/Trilinos/issues/1749
preinstallopts = "cd %(builddir)s/trilinos-%(version)s-Source/packages/PyTrilinos/src/PyTrilinos && "
preinstallopts += "python -m compileall -b -l -f . && cd - && "
# too parallel is too slow because of memory requirements (results in swapping), and may cause build/tests to fail
# building with 20 cores seems to require about 100GB of memory (peak usage)
maxparallel = 10
moduleclass = 'numlib'