| 1 |
[mod4 (modulerc)]$ module purge |
| 2 |
[mod4 (modulerc)]$ module load pgi/19.4 |
| 3 |
[mod4 (modulerc)]$ module load openmpi |
| 4 |
[mod4 (modulerc)]$ module list |
| 5 |
Currently Loaded Modulefiles: |
| 6 |
1) pgi/19.4 2) openmpi/pgi/19.4/4.0 |
| 7 |
[mod4 (modulerc)]$ mpirun |
| 8 |
mpirun (openmpi/4.0, pgi/19.4) |
| 9 |
[mod4 (modulerc)]$ module switch --auto pgi intel/2019 |
| 10 |
|
| 11 |
**** ERROR *****: |
| 12 |
Compiler Mismatch |
| 13 |
Package openmpi/pgi/19.4/4.0 does not appear to be built for currently |
| 14 |
loaded compiler intel/2019. |
| 15 |
|
| 16 |
|
| 17 |
Loading openmpi/pgi/19.4/4.0 |
| 18 |
ERROR: Module evaluation aborted |
| 19 |
|
| 20 |
Switching from pgi/19.4 to intel/2019 |
| 21 |
WARNING: Reload of dependent openmpi/pgi/19.4/4.0 failed |
| 22 |
Unloading dependent: openmpi/pgi/19.4/4.0 |
| 23 |
[mod4 (modulerc)]$ module list |
| 24 |
Currently Loaded Modulefiles: |
| 25 |
1) intel/2019 |
| 26 |
[mod4 (modulerc)]$ mpirun |
| 27 |
mpirun: command not found |