Skip to content

Conversation

@victorusu
Copy link
Contributor

The executable_opts passed by the tests are overwritten by the library-defined ones. e.g.
For the CSCS checks, instead of generating these command-line options for GROMACs

gmx_mpi mdrun -dlb yes -ntomp 1 -npme -1 -nb cpu -s benchmark.tpr   # correct set

one gets

gmx_mpi mdrun -nb cpu -s benchmark.tpr  # wrong set

This PR fixes this issue.

@victorusu victorusu self-assigned this Dec 6, 2021
@victorusu victorusu requested review from teojgo and vkarak December 6, 2021 12:23
@victorusu victorusu added this to the ReFrame sprint 21.12.1 milestone Dec 6, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #2316 (3d1471d) into master (964dbcf) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2316   +/-   ##
=======================================
  Coverage   86.12%   86.12%           
=======================================
  Files          56       56           
  Lines       10208    10208           
=======================================
  Hits         8792     8792           
  Misses       1416     1416           

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 964dbcf...3d1471d. Read the comment docs.

@vkarak vkarak changed the title Fix variables in Gromacs test library [testlib] Fix variables in Gromacs test library Dec 6, 2021
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that this is a bug of the library or of the test that uses the library. Generally, we should answer the question: what assumptions should the library make and what the test?

@vkarak vkarak changed the title [testlib] Fix variables in Gromacs test library [testlib] Append to executable_opts in Gromacs library test Dec 6, 2021
@vkarak vkarak merged commit 4723ad0 into reframe-hpc:master Dec 6, 2021
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