1#!/usr/bin/env python 2 3configure_options = [ 4 '--with-cc=/home/petsc/soft/mpich-3.3b1/bin/mpicc', 5 '--with-fc=/home/petsc/soft/mpich-3.3b1/bin/mpif90', 6 '--with-cxx=/home/petsc/soft/mpich-3.3b1/bin/mpicxx', 7 '--with-debugging=1', 8 'COPTFLAGS=-g -O', 9 'FOPTFLAGS=-g -O', 10 'CXXOPTFLAGS=-g -O', 11 '--with-clanguage=cxx', 12 '--with-scalar-type=complex', 13 '--with-64-bit-indices=1', 14 'DATAFILESPATH=/home/petsc/datafiles', 15 ] 16 17if __name__ == '__main__': 18 import sys,os 19 sys.path.insert(0,os.path.abspath('config')) 20 import configure 21 configure.petsc_configure(configure_options) 22