| 1 |
[mod4 (homebrewed)]$ module purge |
| 2 |
[mod4 (homebrewed)]$ module load gcc/9.1.0 |
| 3 |
[mod4 (homebrewed)]$ module load simd/avx |
| 4 |
[mod4 (homebrewed)]$ module load bar/5.4 |
| 5 |
[mod4 (homebrewed)]$ module list |
| 6 |
Currently Loaded Modulefiles: |
| 7 |
1) gcc/9.1.0 2) simd/avx 3) bar/5.4 |
| 8 |
[mod4 (homebrewed)]$ bar |
| 9 |
bar 5.4 (gcc/9.1.0, avx) |
| 10 |
[mod4 (homebrewed)]$ module switch --auto simd simd/avx2 |
| 11 |
Switching from simd/avx to simd/avx2 |
| 12 |
Unloading dependent: bar/5.4 |
| 13 |
Reloading dependent: bar/5.4 |
| 14 |
[mod4 (homebrewed)]$ module list |
| 15 |
Currently Loaded Modulefiles: |
| 16 |
1) gcc/9.1.0 2) simd/avx2 3) bar/5.4 |
| 17 |
[mod4 (homebrewed)]$ bar |
| 18 |
bar 5.4 (gcc/9.1.0, avx2) |