Repository navigation
Fix output of full_modulepath - #274
Merged
Merged
Conversation
Signed-off-by: laraPPr <[email protected]>
casparvl
approved these changes
Jul 16, 2025
casparvl
left a comment
Collaborator
There was a problem hiding this comment.
Tested, works like a charm:
(eessi_test_venv) [casparl@tcn339 EESSI]$ cat reframe_runs/report_files/run-report-551.json | grep -i modulepath
"echo \"FULL_MODULEPATH: $(module --location show LAMMPS/29Aug2024-foss-2023b-kokkos)\""
"full_modulepath": "['']",
"echo \"FULL_MODULEPATH: $(module --location show LAMMPS/2Aug2023_update2-foss-2023a-kokkos)\""
"full_modulepath": "['']",
(eessi_test_venv) [casparl@tcn339 EESSI]$ cat reframe_runs/report_files/run-report-552.json | grep -i modulepath
"echo \"FULL_MODULEPATH: $(module --location show LAMMPS/29Aug2024-foss-2023b-kokkos 2>&1)\""
"full_modulepath": "['/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2/modules/all/LAMMPS/29Aug2024-foss-2023b-kokkos.lua']",
"echo \"FULL_MODULEPATH: $(module --location show LAMMPS/2Aug2023_update2-foss-2023a-kokkos 2>&1)\""
"full_modulepath": "['/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2/modules/all/LAMMPS/2Aug2023_update2-foss-2023a-kokkos.lua']",
The first run report is based on the main branch, the second one based on this feature branch. Nice how sometimes only 5 characters can fix things :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Noticed that
module --location show PyTorch/2.1.2-foss-2023awas returning nothing in stdout. Which ment that the full modulepath was missing from the report-fileThis is because the module command prints to stderr when
LMOD_REDIRECT=nowhich is the case for EESSI. This small fix makes sure thatfull_modulepathwill be set either way.