1#!/usr/bin/env python 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-fblaslapack=1', 12 '--download-mpich=1', 13 '--download-cmake=1', 14 '--download-metis=1', 15 '--download-parmetis=1', 16 '--download-triangle=1', 17 #'--download-superlu=1', 18 #'--download-superlu_dist=1', disabled as superlu_dist now requires gnumake - and this build tests freebsd-make 19 '--download-scalapack=1', 20 '--download-mumps=1', 21 '--download-parms=1', 22 # no with-cxx-dialect=C++11 support '--download-elemental=1', 23 #'--download-hdf5', 24 '--download-sundials=1', 25 '--download-hypre=1', 26 #'--download-suitesparse=1', requires gnumake 27 '--download-chaco=1', 28 '--download-spai=1', 29 '--download-concurrencykit=1', 30 '--download-revolve=1', 31 ] 32 33if __name__ == '__main__': 34 import sys,os 35 sys.path.insert(0,os.path.abspath('config')) 36 import configure 37 configure.petsc_configure(configure_options) 38