Skip to content

Commit 2ccffda

Browse files
committed
doc: update gcc example in NEWS/index
1 parent eac74a9 commit 2ccffda

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ Quick examples
3838

3939
Here 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

4545
Now 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

5151
And now we'll unload the module altogether
5252

@@ -56,9 +56,9 @@ And now we'll unload the module altogether
5656

5757
Now 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

6363
Note that the command line is exactly the same, but the path has
6464
automatically configured to the correct architecture.

doc/source/index.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ Quick examples
5555
Here 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

6262
Now 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

6969
And now we'll unload the module altogether
7070
::
@@ -76,9 +76,9 @@ And now we'll unload the module altogether
7676
Now 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

8383
Note that the command line is exactly the same, but the path has
8484
automatically configured to the correct architecture.

0 commit comments

Comments
 (0)