Swap Programing Environments
PREREQUISITES
System module environment setup completed.
OBJECTIVE
Swap an entire programming environment.
PROCEDURE
It is reccomended to use the swap
command in both Lmod and TCL Modules. Using swap
in Lmod forces an unload before reloading the desired modules. This ensures the correct dynamic Lmod hierarchy paths are picked up.
Lmod Example:
user# module list
Currently Loaded Modules:
1) craype-x86-rome 5) cce/17.0.0 9) cray-libsci/24.05.0
2) libfabric/1.20.1 6) craype/2.7.29 10) PrgEnv-cray/8.5.0
3) craype-network-ofi 7) cray-dsmml/0.3.0
4) perftools-base/24.07.0 8) cray-mpich/8.1.0
user# module swap PrgEnv-cray/8.5.0 PrgEnv-gnu
Lmod is automatically replacing "cce/18.0.1.2" with "gcc-native/13.2"
Due to MODULEPATH changes, the following have been reloaded:
`` 1) cray-libsci/24.07.0 2) cray-mpich/8.1.30``user# module list
Currently Loaded Modules:
1) craype-x86-rome 5) gcc-native/13.0 9) cray-libsci/24.05.0
2) libfabric/1.20.1 6) craype/2.7.29 10) PrgEnv-gnu/8.5.0
3) craype-network-ofi 7) cray-dsmml/0.3.0
4) perftools-base/24.07.0 8) cray-mpich/8.1.0