dealii, Added comment
Added comment for why step-40 is done differently for dealii 8.4.0 and later
This commit is contained in:
parent
4f591a6fe3
commit
c4d5bd13c7
1 changed files with 4 additions and 0 deletions
|
@ -244,6 +244,8 @@ def install(self, spec, prefix):
|
|||
print('========= Step-40 Trilinos ==========')
|
||||
print('=====================================')
|
||||
# change Linear Algebra to Trilinos
|
||||
# The below filter_file should be different for versions
|
||||
# before and after 8.4.0
|
||||
if spec.satisfies('@8.4.0:'):
|
||||
filter_file(r'(\/\/ #define FORCE_USE_OF_TRILINOS.*)',
|
||||
('#define FORCE_USE_OF_TRILINOS'), 'step-40.cc')
|
||||
|
@ -254,6 +256,8 @@ def install(self, spec, prefix):
|
|||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
# the rest of the tests on step 40 only works for
|
||||
# dealii version 8.4.0 and after
|
||||
if spec.satisfies('@8.4.0:'):
|
||||
print('=====================================')
|
||||
print('=== Step-40 Trilinos SuperluDist ====')
|
||||
|
|
Loading…
Reference in a new issue