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=1', 9 'COPTFLAGS=-g -O', 10 'FOPTFLAGS=-g -O', 11 'CXXOPTFLAGS=-g -O', 12 '--with-clanguage=cxx', 13 '--with-scalar-type=complex', 14 '--with-64-bit-indices=1', 15 '--download-mpich', 16 '--download-revolve=1', 17 ] 18 19if __name__ == '__main__': 20 import sys,os 21 sys.path.insert(0,os.path.abspath('config')) 22 import configure 23 configure.petsc_configure(configure_options) 24