... | ... | @@ -17,16 +17,14 @@ shell. |
|
|
To display which versions are installed:
|
|
|
```
|
|
|
$ openfoam-selector --list
|
|
|
|
|
|
openfoam
|
|
|
openfoam1812
|
|
|
openfoam1906
|
|
|
openfoam1912
|
|
|
openfoam2006
|
|
|
openfoam2106
|
|
|
openfoam2112
|
|
|
openfoam2206
|
|
|
```
|
|
|
To set a particular version
|
|
|
```
|
|
|
$ openfoam-selector --set openfoam2006
|
|
|
$ openfoam-selector --set openfoam2206
|
|
|
```
|
|
|
To query the current selection:
|
|
|
```
|
... | ... | @@ -46,10 +44,9 @@ next full login. This is to avoid a possible clash of environments |
|
|
when a parallel job still being launched. Of course, you can still
|
|
|
simply source the corresponding `bashrc` file directly. For example,
|
|
|
```
|
|
|
$ source /usr/lib/openfoam/openfoam2006/etc/bashrc
|
|
|
$ source /usr/lib/openfoam/openfoam2206/etc/bashrc
|
|
|
```
|
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
Copyright (C) 2020 OpenCFD Ltd. |
|
|
Copyright (C) 2020-2022 OpenCFD Ltd. |