#!/usr/bin/env python
if __name__ == '__main__':
  import sys
  sys.path.insert(0, '/work/a/ports/math/petsc-mpich/work/petsc-2.3.3-p0/config')
  import configure
  configure_options = ['--with-cc=cc', '--CPPFLAGS=-I/usr/local/include', '--with-umfpack-lib=[/usr/local/lib/libumfpack.so,/usr/local/lib/libamd.so]', '--with-blas-lapack-lib=-L/usr/local/lib -llapack -lblas -lm', '--with-mpi-dir=/usr/local/mpich2', '--FOPTFLAGS=-O -O2', '--CXXOPTFLAGS=-O2 -fno-strict-aliasing -pipe', '--with-shared=1', '--with-x-include=/usr/local/include', '--with-umfpack-include=/usr/local/include/suitesparse', '--COPTFLAGS=-O2 -fno-strict-aliasing -pipe ', '--with-parmetis=0', '-PETSC_ARCH=freebsd', '--prefix=/usr/local/petsc', '--with-blocksolve95-lib=/usr/local/lib/libBS95.a', '--with-x-lib=/usr/local/lib/libX11.so', '--with-blocksolve95-include=/usr/local/mpich2/include', '--with-fc=gfortran42']
  configure.petsc_configure(configure_options)
