-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Louis Moresi edited this page Jan 25, 2018
·
2 revisions
The master petsc branch is required with the following configuration options
#!/usr/bin/python
if __name__ == '__main__':
import sys
import os
sys.path.insert(0, os.path.abspath('config'))
import configure
configure_options = [
'--PETSC_ARCH=arch-master-debug',
'--download-chaco',
'--download-cmake',
'--download-ctetgen',
'--download-eigen',
'--download-exodusii',
'--download-fftw',
'--download-gmp',
'--download-hdf5',
'--download-med',
'--download-metis',
'--download-mpfr',
'--download-mpich',
'--download-netcdf',
'--download-p4est',
'--download-parmetis',
'--download-pnetcdf',
'--download-pragmatic',
'--download-triangle',
'--useThreads=1',
'--with-cc=/Users/knepley/MacSoftware/bin/ccache gcc -Qunused-arguments',
'--with-cxx=/Users/knepley/MacSoftware/bin/ccache g++ -Qunused-arguments',
'--with-fc=/Users/knepley/MacSoftware/bin/ccache gfortran',
'--with-shared-libraries',
]
configure.petsc_configure(configure_options)
Ex12 - Poisson Problem in 2d and 3d with simplicial finite elements https://github.com/petsc/petsc/blob/master/src/snes/examples/tutorials/ex12.c Ex62 - Stokes Problem in 2d and 3d with simplicial finite elements https://github.com/petsc/petsc/blob/master/src/snes/examples/tutorials/ex62.c
$ make -f ./gmakefile test globsearch='snes_tutorials-runex62*'