Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singularity module now loads hidden modules. #177

Open
dipietrantonio opened this issue Jun 24, 2023 · 2 comments
Open

Singularity module now loads hidden modules. #177

dipietrantonio opened this issue Jun 24, 2023 · 2 comments
Assignees
Labels
bug Something isn't working configuration Update to configruation

Comments

@dipietrantonio
Copy link
Collaborator

The generated singularity module file now loads dependency modules, although no explicit autoload was set.

load(".cryptsetup/2.3.5-nmbjwez")
load("go/1.17.2")
load(".libgpg-error/1.46-5vso6hb")
load(".libseccomp/2.3.3-6m45xkp")
load(".shadow/4.8.1-4nbhlhp")
load(".squashfs/4.5.1-4dn2dwq")
load(".util-linux-uuid/2.38.1-mvepyq3")

Need to check whether this is true also for other packages.

In addition, the scripts/create_custom_singularity_modules.sh, when creating the no-mpi module, removes also parts of the module file that check for directory permissions and enforce the use of versions.

@dipietrantonio
Copy link
Collaborator Author

I suspect there is an error in the following sed command:

-e '/MPI + Singularity configuration/,/singularity_ld_path *= *singularity_ld_path/d' \

It references singularity_ld_path but I do not see that string anywhere in the original module file.

@dipietrantonio
Copy link
Collaborator Author

Also, we should mount /scratch and /software also in the no-mpi version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working configuration Update to configruation
Projects
None yet
Development

No branches or pull requests

2 participants