| 1 |
[mod4 (homebrewed)]$ module purge |
| 2 |
[mod4 (homebrewed)]$ module load gcc/9.1.0 |
| 3 |
[mod4 (homebrewed)]$ module load simd/avx2 |
| 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/avx2 3) bar/5.4 |
| 8 |
[mod4 (homebrewed)]$ bar |
| 9 |
bar 5.4 (gcc/9.1.0, avx2) |
| 10 |
[mod4 (homebrewed)]$ module unload bar |
| 11 |
[mod4 (homebrewed)]$ module switch --auto simd simd/avx |
| 12 |
[mod4 (homebrewed)]$ module load bar/5.4 |
| 13 |
[mod4 (homebrewed)]$ module list |
| 14 |
Currently Loaded Modulefiles: |
| 15 |
1) gcc/9.1.0 2) simd/avx 3) bar/5.4 |
| 16 |
[mod4 (homebrewed)]$ bar |
| 17 |
bar 5.4 (gcc/9.1.0, avx) |
| 18 |
[mod4 (homebrewed)]$ module unload bar |
| 19 |
[mod4 (homebrewed)]$ module switch --auto simd simd/sse4.1 |
| 20 |
[mod4 (homebrewed)]$ module load bar/5.4 |
| 21 |
|
| 22 |
**** ERROR *****: |
| 23 |
foo/5.4 does not appear to be built for compiler gcc/9.1.0 and simd/sse4.1 |
| 24 |
Please select a different openmpi version or different compiler/simd combination. |
| 25 |
|
| 26 |
|
| 27 |
Loading bar/5.4 |
| 28 |
ERROR: Module evaluation aborted |
| 29 |
[mod4 (homebrewed)]$ module list |
| 30 |
Currently Loaded Modulefiles: |
| 31 |
1) gcc/9.1.0 2) simd/sse4.1 |