diff options
author | Denis Davydov <davydden@gmail.com> | 2016-04-02 12:02:59 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-04-02 12:04:18 +0200 |
commit | adccd18015eec2589d69194fa30be45b04cb515e (patch) | |
tree | c82969092e48d7a6d62c5b0c34b2bfac6c024849 /var | |
parent | a88c6da9acc234484d34acf6588c838bef09e8c4 (diff) | |
download | spack-adccd18015eec2589d69194fa30be45b04cb515e.tar.gz spack-adccd18015eec2589d69194fa30be45b04cb515e.tar.bz2 spack-adccd18015eec2589d69194fa30be45b04cb515e.tar.xz spack-adccd18015eec2589d69194fa30be45b04cb515e.zip |
dealii: add extra test for Petsc+Metis
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dealii/package.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py index 0b76db3827..d8a0df643d 100644 --- a/var/spack/repos/builtin/packages/dealii/package.py +++ b/var/spack/repos/builtin/packages/dealii/package.py @@ -174,6 +174,19 @@ class Dealii(Package): make('release') 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 # FIXME: switch step-40 to MPI run with working_dir('examples/step-40'): |