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