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

Shell scripts to set module files to be the ones provided for a site #31

Open
cjlegg opened this issue Mar 28, 2023 · 2 comments
Open
Labels
enhancement New feature or request partly fixed

Comments

@cjlegg
Copy link
Contributor

cjlegg commented Mar 28, 2023

Put this/these at $spack/../modules
Make a modulefile section for each subdir of $spack/../modules

new spacksites command: spacksites create-modulefile-scripts - makes the scripts not executes them

will loop though names of subdirs of $spack/../modules and do a module use -a

should have an inverse script of module unuse

Actually maybe a common script at root of sites / scripts - will select using arg of

@cjlegg cjlegg added the enhancement New feature or request label Mar 29, 2023
@cjlegg
Copy link
Contributor Author

cjlegg commented Apr 25, 2023

commit 8af869c has bash functions to set MODULEFILES, using the conventions of spacksites - not tested because do not have many module files generated yet

@cjlegg
Copy link
Contributor Author

cjlegg commented Apr 25, 2023

issue #32 is related to this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request partly fixed
Projects
None yet
Development

No branches or pull requests

1 participant