#!/usr/bin/env python3 import os petsc_hash_pkgs=os.path.join(os.getenv('HOME'),'petsc-hash-pkgs') configure_options = [ '--package-prefix-hash='+petsc_hash_pkgs, '--with-debugging=0', #'--with-cc=mpicc.openmpi', #'--with-cxx=mpicxx.openmpi', #'--with-fc=mpif90.openmpi', #'--with-mpiexec=mpiexec.openmpi', '--download-openmpi=1', '--download-fblaslapack=1', '--download-hypre=1', '--download-cmake=1', '--download-metis=1', '--download-parmetis=1', '--download-ptscotch=1', '--download-suitesparse=1', '--download-triangle=1', '--download-superlu=1', '--download-superlu_dist=1', '--download-scalapack=1', '--download-mumps=1', '--download-elemental=1', '--download-spai=1', '--download-parms=1', '--download-moab=1', '--download-chaco=1', '--download-fftw=1', '--with-petsc4py=1', '--download-mpi4py=1', '--download-saws', '--download-concurrencykit=1', '--download-revolve=1', '--download-cams=1', '--download-p4est=1', '--with-zlib=1', '--download-mfem=1', '--download-glvis=1', '--with-opengl=1', '--download-libpng=1', '--download-libjpeg=1', '--download-slepc=1', '--download-hpddm=1', '--download-bamg=1', '--download-mmg=1', '--download-parmmg=1', '--download-htool=1', '--download-egads=1', '--download-opencascade=1', '--with-strict-petscerrorcode', ] if __name__ == '__main__': import sys,os sys.path.insert(0,os.path.abspath('config')) import configure configure.petsc_configure(configure_options)