#!/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-cc=gcc', #'--with-fc=gfortran', # https://brew.sh/ #'--with-cxx=g++', 'COPTFLAGS=-g -O -fsanitize=address', 'FOPTFLAGS=-g -O', 'CXXOPTFLAGS=-g -O -fsanitize=address', #'--download-mpich=1', #'--download-mpich-device=ch3:nemesis', #for some reason runex174_2_elemental takes very long with ch3:p4 '--download-metis=1', '--download-parmetis=1', #'--download-elemental=1', '--download-ptscotch', '--download-bison', '--download-scalapack', '--download-strumpack', #'--download-fblaslapack', #vecLib has incomplete lapack - so unusable by strumpack '--download-f2cblaslapack', '--download-blis', '--download-codipack=1', '--download-adblaslapack=1', '--download-libpng=1', '--download-libjpeg=1', '--download-h2opus=1', '--download-thrust=1', '--download-hcephes=1', '--with-zlib=1', #'--with-coverage', '--with-strict-petscerrorcode', ] if __name__ == '__main__': import sys,os sys.path.insert(0,os.path.abspath('config')) import configure configure.petsc_configure(configure_options)