Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Sep 19, 2018

The test fails for PrgEnv-cray since the executable gibes a segmentation fault for cray-trilinos/12.12.1.1

Fixes #385
Fixes #363

@teojgo teojgo self-assigned this Sep 19, 2018
@teojgo teojgo requested a review from vkarak September 19, 2018 08:33
@teojgo teojgo changed the title [test] Regression test/trilinos build systems [test] Adapt trilinos regression test to PE18.08 and build systems Sep 19, 2018
@vkarak vkarak added this to the Upcoming sprint milestone Sep 19, 2018
# 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
Copy link
Contributor

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']
Copy link
Contributor

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()
Copy link
Contributor

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-io
Copy link

codecov-io commented Sep 19, 2018

Codecov Report

Merging #466 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #466   +/-   ##
=======================================
  Coverage   91.34%   91.34%           
=======================================
  Files          70       70           
  Lines        8784     8784           
=======================================
  Hits         8024     8024           
  Misses        760      760

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61b9618...d7b550d. Read the comment docs.

@vkarak vkarak merged commit d59bb78 into reframe-hpc:master Sep 20, 2018
@teojgo teojgo deleted the regression_test/trilinos_build_systems branch October 11, 2018 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants