Skip to content
Snippets Groups Projects
Commit adccd180 authored by Denis Davydov's avatar Denis Davydov
Browse files

dealii: add extra test for Petsc+Metis

parent a88c6da9
Branches
Tags
No related merge requests found
...@@ -174,6 +174,19 @@ def install(self, spec, prefix): ...@@ -174,6 +174,19 @@ def install(self, spec, prefix):
make('release') make('release')
make('run',parallel=False) make('run',parallel=False)
# An example which uses Metis + PETSc
# FIXME: switch step-18 to MPI
with working_dir('examples/step-18'):
print('=====================================')
print('============= Step-18 ===============')
print('=====================================')
# list the number of cycles to speed up
filter_file(r'(end_time = 10;)', ('end_time = 3;'), 'step-18.cc')
if '^petsc' in spec and '^metis' in spec:
cmake('.')
make('release')
make('run',parallel=False)
# take step-40 which can use both PETSc and Trilinos # take step-40 which can use both PETSc and Trilinos
# FIXME: switch step-40 to MPI run # FIXME: switch step-40 to MPI run
with working_dir('examples/step-40'): with working_dir('examples/step-40'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment