Skip to content

also bwrap module installpath - #5214

Open
smoors wants to merge 16 commits into
easybuilders:developfrom
smoors:bwrap-modules
Open

also bwrap module installpath#5214
smoors wants to merge 16 commits into
easybuilders:developfrom
smoors:bwrap-modules

Conversation

@smoors

@smoors smoors commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

this PR also bwraps the module installpath (and removes --installpath-modules from bwrap_eb_options as it's no longer needed).

this change is required for making bwrap work with HMNS: for a compiler module the HMNS has to know the non-bwrapped location, instead of what is passed to --installpath-modules

the main issue blocking this change was that bwrapping a module installpath causes the already installed modules to become unavailable. this is solved by copying the full module installpath to the bwrap module installpath (with overlayfs this is not necessary). the overhead of this should be fairly limited - on our systems the size is < 25MB and <2000 files.

other changes:

  • update the bwrap github action to print success/failure for each individual check.
  • avoid creating the modulepath directory when in --bwrap mode (before actually running with bwrap) in case the user does not have write permissions.
  • avoid adding duplicate bwrap binds (with e.g. easystacks).

@smoors smoors added the bug fix label Jun 30, 2026
@smoors smoors added this to the next release (5.3.2?) milestone Jun 30, 2026
@smoors
smoors marked this pull request as draft June 30, 2026 08:53
@smoors
smoors marked this pull request as ready for review June 30, 2026 18:31
@smoors
smoors requested a review from bartoldeman June 30, 2026 19:01
@smoors
smoors marked this pull request as draft July 1, 2026 21:32
@smoors smoors changed the title also bwrap module directories also bwrap module installpath Jul 3, 2026
@smoors
smoors marked this pull request as ready for review July 3, 2026 18:41
@smoors
smoors marked this pull request as draft July 3, 2026 19:12
@smoors
smoors marked this pull request as ready for review July 5, 2026 07:13
Samuel Moors added 2 commits July 27, 2026 17:42
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.

1 participant