# IT4Innovations 2017 name = 'Trilinos' version = '12.10.1' versionsuffix = '-Python-2.7.11' homepage = 'http://trilinos.sandia.gov/' 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, local_complex multi-physics engineering and scientific problems. A unique design feature of Trilinos is its focus on packages.""" toolchain = {'name': 'intel', 'version': '2017a'} toolchainopts = {'usempi': True, 'pic': True, 'strict': True} source_urls = ['http://trilinos.csbsju.edu/download/files/'] sources = ['%(namelower)s-%(version)s-Source.tar.gz'] patches = ['Trilinos-12.10.1-muelu.patch'] builddependencies = [ ('CMake', '3.5.2', '', True), ] dependencies = [ ('Boost', '1.63.0', '-Python-2.7.11'), ('SCOTCH', '6.0.4'), ('SuiteSparse', '4.5.3', '-ParMETIS-4.0.3'), ('ParMETIS', '4.0.3'), ('netCDF', '4.4.1.1'), ('MATIO', '1.5.2'), ('GLM', '0.9.7.2'), ] # STK Classic is deprecated/broken, STKDoc_tests needs to be disabled too because of it # see https://trilinos.org/oldsite/release_notes-11.10.html and https://github.com/trilinos/Trilinos/issues/19 #skip_exts = ['STKClassic', 'STKDoc_tests'] prebuildopts = 'for NAME in `find -name link.txt`; do cp $NAME $NAME.old; sed -e "s/libcholmod.a/libcholmod.a -lmetis -lcamd -lccolamd/g" $NAME.old | tee $NAME; done &&' # too parallel is too slow, and may cause build/tests to fail maxparallel = 8 moduleclass = 'numlib'