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 '--with-clanguage=c', 9 '--with-shared-libraries=yes', 10 '--with-debugging=no', 11 '--download-mpich', 12 '--download-metis', 13 '--download-parmetis', 14 '--download-scalapack', 15 '--download-mumps', 16 '--download-zlib', 17 '--download-hdf5', 18 '--download-netcdf', 19 '--download-pnetcdf', 20 '--download-exodusii', 21 '--download-ml', 22 '--download-suitesparse', 23 '--download-triangle', 24 '--download-chaco', 25 '--download-ctetgen', 26 '--download-egads', 27 '--download-cmake', 28 '--download-amrex', 29 '--download-hypre', 30] 31 32if __name__ == '__main__': 33 import sys,os 34 sys.path.insert(0,os.path.abspath('config')) 35 import configure 36 configure.petsc_configure(configure_options) 37