Debian Codegraph @

doc/example/compiler-etc-dependencies/example-sessions/modulerc/modules4/foo-switch.out

raw
1 [mod4 (modulerc)]$ module purge
2 [mod4 (modulerc)]$ module load pgi/18.4
3 [mod4 (modulerc)]$ module load openmpi/3.1
4 [mod4 (modulerc)]$ module load foo/1.1
5 [mod4 (modulerc)]$ module list
6 Currently Loaded Modulefiles:
7 1) pgi/18.4 3) foo/1.1/pgi/18.4/openmpi/3.1(default)
8 2) openmpi/3.1/pgi/18.4(default)
9 [mod4 (modulerc)]$ foo
10 foo 1.1 (pgi/18.4, openmpi/3.1)
11 [mod4 (modulerc)]$ module switch --auto pgi intel/2018
12
13 **** ERROR *****:
14 Compiler Mismatch
15 Package openmpi/3.1/pgi/18.4 does not appear to be built for currently
16 loaded compiler intel/2018.
17
18
19 Loading openmpi/3.1/pgi/18.4
20 ERROR: Module evaluation aborted
21
22 **** ERROR *****:
23 Compiler Mismatch
24 Package foo/1.1/pgi/18.4/openmpi/3.1 does not appear to be built for currently
25 loaded compiler intel/2018.
26
27
28 Loading foo/1.1/pgi/18.4/openmpi/3.1
29 ERROR: Module evaluation aborted
30
31 Switching from pgi/18.4 to intel/2018
32 WARNING: Reload of dependent openmpi/3.1/pgi/18.4 failed
33 WARNING: Reload of dependent foo/1.1/pgi/18.4/openmpi/3.1 failed
34 Unloading dependent: foo/1.1/pgi/18.4/openmpi/3.1 openmpi/3.1/pgi/18.4
35 [mod4 (modulerc)]$ module list
36 Currently Loaded Modulefiles:
37 1) intel/2018
38 [mod4 (modulerc)]$ foo
39 foo: command not found
40 [mod4 (modulerc)]$ mpirun
41 mpirun: command not found
42 [mod4 (modulerc)]$ module purge
43 [mod4 (modulerc)]$ module load intel/2019
44 [mod4 (modulerc)]$ module load foo
45 Loading foo/intel/2019/intelmpi/2.4
46 ERROR: foo/intel/2019/intelmpi/2.4 cannot be loaded due to missing prereq.
47 HINT: the following module must be loaded first: intelmpi
48 [mod4 (modulerc)]$ module list
49 Currently Loaded Modulefiles:
50 1) intel/2019
51 [mod4 (modulerc)]$ foo
52 foo: command not found
53 [mod4 (modulerc)]$ module load openmpi
54 [mod4 (modulerc)]$ module list
55 Currently Loaded Modulefiles:
56 1) intel/2019 2) openmpi/intel/2019/4.0
57 [mod4 (modulerc)]$ foo
58 foo: command not found