-
Notifications
You must be signed in to change notification settings - Fork 117
[test] Adapt trilinos regression test to PE18.08 and build systems #466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[test] Adapt trilinos regression test to PE18.08 and build systems #466
Conversation
| # Removed CRAY env in dynamic because of CrayBug/809265 | ||
| if linkage == 'dynamic': | ||
| # NOTE: PrgEnv-cray in dynamic does not work because of CrayBug/809265 | ||
| # PrgEnv-cray seg faults for cray-trilinos/12.12.1.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this note has to be in this test, since you are not doing anything special for it, do you? If the bug is fixed, the test will pass automatically. I suggest putting this note in the PR description instead.
| self.build_system = 'SingleSource' | ||
| self.build_system.ldflags = ['-%s' % linkage] | ||
| self.build_system.cppflags = ['-DHAVE_MPI', '-DEPETRA_MPI'] | ||
| self.build_system.cxxflags = ['-lparmetis'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This belongs to ldflags.
| self.sourcepath = 'example_AmesosFactory_HB.cpp' | ||
| input_file = os.path.join(self.current_system.resourcesdir, | ||
| 'Trilinos', 'trilinos_compile_run.rua') | ||
| self.executable_opts = input_file.split() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This split here is kind of strange, isn't it? I don't think it's needed: [input_file] should be fine.
Codecov Report
@@ Coverage Diff @@
## master #466 +/- ##
=======================================
Coverage 91.34% 91.34%
=======================================
Files 70 70
Lines 8784 8784
=======================================
Hits 8024 8024
Misses 760 760Continue to review full report at Codecov.
|
The test fails for
PrgEnv-craysince the executable gibes a segmentation fault for cray-trilinos/12.12.1.1Fixes #385
Fixes #363