UCL-ARC / hpc-spack

Solutions - HPC's Spack config
MIT License
1 stars 2 forks source link

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

Open cjlegg opened 1 year ago

cjlegg commented 1 year ago

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 commented 1 year ago

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

cjlegg commented 1 year ago

issue #32 is related to this one