File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ Quick examples
3838
3939Here is an example of loading a module on a Linux machine under bash.
4040
41- $ module load gcc/9 .4.0
41+ $ module load gcc/12 .4.0
4242 $ which gcc
43- $ /usr/local/gcc/9 .4.0/linux-x86_64/bin/gcc
43+ $ /usr/local/gcc/12 .4.0/linux-x86_64/bin/gcc
4444
4545Now we'll switch to a different version of the module
4646
47- $ module switch gcc gcc/10
47+ $ module switch gcc/14
4848 $ which gcc
49- /usr/local/gcc/10.3 .0/linux-x86_64/bin/gcc
49+ /usr/local/gcc/14.2 .0/linux-x86_64/bin/gcc
5050
5151And now we'll unload the module altogether
5252
@@ -56,9 +56,9 @@ And now we'll unload the module altogether
5656
5757Now we'll log into a different machine, using a different shell (tcsh).
5858
59- % module load gcc/10.3
59+ % module load gcc/14.2
6060 % which gcc
61- /usr/local/gcc/10.3 .0/linux-aarch64/bin/gcc
61+ /usr/local/gcc/14.2 .0/linux-aarch64/bin/gcc
6262
6363Note that the command line is exactly the same, but the path has
6464automatically configured to the correct architecture.
Original file line number Diff line number Diff line change @@ -55,16 +55,16 @@ Quick examples
5555Here is an example of loading a module on a Linux machine under bash.
5656::
5757
58- $ module load gcc/9 .4.0
58+ $ module load gcc/12 .4.0
5959 $ which gcc
60- $ /usr/local/gcc/9 .4.0/linux-x86_64/bin/gcc
60+ $ /usr/local/gcc/12 .4.0/linux-x86_64/bin/gcc
6161
6262Now we'll switch to a different version of the module
6363::
6464
65- $ module switch gcc gcc/10
65+ $ module switch gcc/14
6666 $ which gcc
67- /usr/local/gcc/10.3 .0/linux-x86_64/bin/gcc
67+ /usr/local/gcc/14.2 .0/linux-x86_64/bin/gcc
6868
6969And now we'll unload the module altogether
7070::
@@ -76,9 +76,9 @@ And now we'll unload the module altogether
7676Now we'll log into a different machine, using a different shell (tcsh).
7777::
7878
79- % module load gcc/10.3
79+ % module load gcc/14.2
8080 % which gcc
81- /usr/local/gcc/10.3 .0/linux-aarch64/bin/gcc
81+ /usr/local/gcc/14.2 .0/linux-aarch64/bin/gcc
8282
8383Note that the command line is exactly the same, but the path has
8484automatically configured to the correct architecture.
You can’t perform that action at this time.
0 commit comments