1#!/usr/bin/env python 2 3configure_options = [ 4 'CFLAGS=-std=c89 -pedantic -Wno-long-long -Wno-overlength-strings', 5 '--with-cc=/home/petsc/soft/mpich-3.3b1/bin/mpicc', 6 '--with-fc=/home/petsc/soft/mpich-3.3b1/bin/mpif90', 7 '--with-cxx=/home/petsc/soft/mpich-3.3b1/bin/mpicxx', 8 '--with-precision=single', 9 '--with-debugging=0', 10 'DATAFILESPATH=/home/petsc/datafiles', 11 ] 12 13if __name__ == '__main__': 14 import sys,os 15 sys.path.insert(0,os.path.abspath('config')) 16 import configure 17 configure.petsc_configure(configure_options) 18