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-debugging=0', 9 10 '--useThreads=0', # for some reason cmake hangs when invoked from configure on bsd? 11 '--download-netlib-lapack=1', 12 '--with-mpi-dir=/home/svcpetsc/soft/mpich-4.2.2', 13 '--download-metis=1', 14 '--download-parmetis=1', 15 '--download-triangle=1', 16 #'--download-superlu=1', 17 #'--download-superlu_dist=1', disabled as superlu_dist now requires gnumake - and this build tests freebsd-make 18 '--download-scalapack=1', 19 '--download-mumps=1', 20 '--download-parms=1', 21 # no with-cxx-dialect=C++11 support '--download-elemental=1', 22 #'--download-hdf5', 23 '--download-sundials2=1', 24 '--download-hypre=1', 25 #'--download-suitesparse=1', requires gnumake 26 '--download-chaco=1', 27 '--download-spai=1', 28 '--download-concurrencykit=1', 29 '--download-revolve=1', 30 '--with-strict-petscerrorcode', 31 '--with-fortran-bindings-inplace', 32 ] 33 34if __name__ == '__main__': 35 import sys,os 36 sys.path.insert(0,os.path.abspath('config')) 37 import configure 38 configure.petsc_configure(configure_options) 39