Skip to content

Instantly share code, notes, and snippets.

@wence-
Created October 3, 2014 13:59
Show Gist options
  • Select an option

  • Save wence-/6d9974127fd8f9429efd to your computer and use it in GitHub Desktop.

Select an option

Save wence-/6d9974127fd8f9429efd to your computer and use it in GitHub Desktop.
#!/usr/bin/python
if __name__ == '__main__':
import sys
import os
sys.path.insert(0, os.path.abspath('config'))
import configure
configure_options = [
'--download-chaco=1',
'--download-ctetgen=1',
'--download-exodusii=1',
'--download-hypre=1',
'--download-metis=1',
'--download-ml=1',
'--download-mumps=1',
'--download-parmetis=1',
'--download-ptscotch=1',
'--download-scalapack=1',
'--download-superlu=1',
'--download-superlu_dist=1',
'--download-triangle=1',
'--with-c2html=0',
'--with-debugging=0',
'--with-hdf5-dir=/usr',
'--with-hdf5=1',
'--with-make-np=24',
'--with-netcdf-dir=/usr',
'--with-netcdf=1',
'--with-openmp',
'--with-pthreadclasses',
'--with-shared-libraries=1',
'--with-threadcomm',
'PETSC_ARCH=arch-linux2-c-opt',
]
configure.petsc_configure(configure_options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment