we are using Spack to load environments/modules. I read the page about environments but cannot get a working Spack setup.
Spack lets you load environments which contain specific modules.
For example, currently I do:
spack env activate <name>
spack load r
This would activate an environment which a specific R module.
I tried putting these commands into the slurm template file and send the command via SSH, but in the log I see that still the default R version is used and not the one from my environment. I am unsure how the syntax of the Conda/bashenv examples would need to be adapted for Spack.
If I use the SSH way, is a slurm template file in my directory respected if it is specified in options?
Hi,
we are using Spack to load environments/modules. I read the page about environments but cannot get a working Spack setup.
Spack lets you load environments which contain specific modules. For example, currently I do:
This would activate an environment which a specific R module.
I tried putting these commands into the slurm template file and send the command via SSH, but in the log I see that still the default R version is used and not the one from my environment. I am unsure how the syntax of the Conda/bashenv examples would need to be adapted for Spack.
If I use the SSH way, is a slurm template file in my directory respected if it is specified in
options
?