1#!/usr/bin/env python3 2 3import os 4petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs') 5 6configure_options = [ 7 '--package-prefix-hash='+petsc_hash_pkgs, 8 '--download-triangle', # for TRIANGLE_HDF5 test (with trilinos chaco) 9 '--download-triangle-build-exec', 10 '--download-mpich=1', 11 '--download-mpich-device=ch3:sock', 12 '--with-debugging=0', 13 '--download-metis=1', 14 '--download-suitesparse=1', 15 '--with-shared-libraries=0', 16 '--download-eigen', 17 #'--with-coverage', 18 '--with-strict-petscerrorcode=0', 19 ] 20 21if __name__ == '__main__': 22 import sys,os 23 sys.path.insert(0,os.path.abspath('config')) 24 import configure 25 configure.petsc_configure(configure_options) 26