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