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-mpich-device=ch3:sock', 13 '--download-metis', 14 '--download-parmetis', 15 '--download-scalapack', 16 '--download-mumps', 17 '--download-zlib', 18 '--download-hdf5', 19 '--download-netcdf', 20 '--download-pnetcdf', 21 '--download-exodusii', 22 '--download-ml', 23 '--download-suitesparse', 24 '--download-triangle', 25 '--download-cgns', 26 '--download-chaco', 27 '--download-ctetgen', 28 '--download-cmake', 29 '--download-amrex', 30 '--download-hypre', 31 '--download-ks', 32 '--with-ssl=1', 33] 34 35if __name__ == '__main__': 36 import sys,os 37 sys.path.insert(0,os.path.abspath('config')) 38 import configure 39 configure.petsc_configure(configure_options) 40