Draft
Conversation
…at it now creates files in an actual easystack format and that it only does one write per file instead of one write per easyconfig
bedroge
reviewed
Feb 17, 2026
eessi_software_reproduce_stack.py
Outdated
Comment on lines
166
to
167
| easyblock_path = os.path.join(software_version_dir, "easybuild", "reprod", "easyblocks", "*.py") | ||
| easyconfig_path = os.path.join(software_version_dir, "easybuild", f"{software_name}-{software_version}.eb") |
Contributor
There was a problem hiding this comment.
These paths are not correct, they're missing the timestamped subdir. So I guess we can use datestamp_dir_last_build, but we may have to move it out of the else clause to make sure it's defined.
Contributor
There was a problem hiding this comment.
Maybe we can just move datestamp_dir_last_build up, where datestamp_dir_first_build is also initialized?
Contributor
There was a problem hiding this comment.
And then we can probably just use:
Suggested change
| easyblock_path = os.path.join(software_version_dir, "easybuild", "reprod", "easyblocks", "*.py") | |
| easyconfig_path = os.path.join(software_version_dir, "easybuild", f"{software_name}-{software_version}.eb") | |
| easyblock_path = os.path.join(datestamp_dir_last_build, "easybuild", "reprod", "easyblocks", "*.py") | |
| easyconfig_path = os.path.join(datestamp_dir_last_build, "easybuild", f"{software_name}-{software_version}.eb") |
…dir from the reproduction dir
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.
This script is the result of joint development with @bedroge on implementing what was discussed in https://gitlab.com/eessi/support/-/issues/233
In summary: it generates easystack files that will allow you to replicate the software stack installed for a reference architecture. We will use this in practice to deploy software for
zen5, which will also serve as a test for these scripts.