#!/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=gcc45', '--CPPFLAGS=-I/usr/local/include', '--with-umfpack-lib=[/usr/local/lib/libumfpack.so,/usr/local/lib/libamd.so]', '--with-superlu-include=/usr/local/include/superlu', '--prefix=/usr/local/petsc', '--with-blocksolve95-lib=/usr/local/lib/libBS95.a', '--with-superlu-lib=/usr/local/lib/libsuperlu.a', '--with-x-lib=/usr/local/lib/libX11.so', '--with-parmetis-include=/usr/local/include/parmetis', '--with-blocksolve95-include=/usr/local/include', '--with-parmetis=1', '--COPTFLAGS=-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing', '--LDFLAGS=-pthread', '--with-blas-lapack-lib=-L/usr/local/lib -llapack -lblas -lm', '--with-mpi-dir=/usr/local', '--FOPTFLAGS=-O -O2', '--with-x-include=/usr/local/include', '--with-parmetis-lib=[/usr/local/lib/parmetis/libparmetis.a,/usr/local/lib/parmetis/libmetis.a]', '--CXXOPTFLAGS=-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing', '--with-shared=1', '--with-umfpack-include=/usr/local/include/suitesparse', '-PETSC_ARCH=freebsd', '--with-fc=gfortran45']
  configure.petsc_configure(configure_options)
