Debian Codegraph @

doc/example/compiler-etc-dependencies/example-sessions/modulepath/modules4/ompi-switch.out

raw
1 [mod4 (modulepath)]$ module purge
2 [mod4 (modulepath)]$ module load pgi/19.4
3 [mod4 (modulepath)]$ module load openmpi
4 [mod4 (modulepath)]$ module list
5 Currently Loaded Modulefiles:
6 1) pgi/19.4 2) openmpi/4.0
7 [mod4 (modulepath)]$ mpirun
8 mpirun (openmpi/4.0, pgi/19.4)
9 [mod4 (modulepath)]$ module switch --auto pgi intel/2019
10 Switching from pgi/19.4 to intel/2019
11 Unloading dependent: openmpi/4.0
12 Reloading dependent: openmpi/4.0
13 [mod4 (modulepath)]$ module list
14 Currently Loaded Modulefiles:
15 1) intel/2019 2) openmpi/4.0
16 [mod4 (modulepath)]$ mpirun
17 mpirun (openmpi/4.0, intel/2019)
18 [mod4 (modulepath)]$ module switch --auto intel intel/2018
19 Switching from intel/2019 to intel/2018
20 ERROR: Unable to locate a modulefile for 'openmpi/4.0'
21 WARNING: Reload of dependent openmpi/4.0 failed
22 Unloading dependent: openmpi/4.0
23 [mod4 (modulepath)]$ module list
24 Currently Loaded Modulefiles:
25 1) intel/2018
26 [mod4 (modulepath)]$ mpirun
27 mpirun: command not found