Skip to content

Commit

Permalink
Rework 14-env-vars lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
s-sajid-ali committed Aug 26, 2024
1 parent f7fbbd9 commit 42d6212
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 25 deletions.
6 changes: 3 additions & 3 deletions _episodes/14-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ HOSTNAME=log-3
FPATH=/usr/share/zsh/5.5.1/functions:/usr/share/zsh/5.5.1/functions:/share/apps/lmod/8.4.9/lmod/lmod/init/ksh_funcs
SSH_AUTH_SOCK=/tmp/ssh-XXXXb32gan/agent.3025643
__LMOD_REF_COUNT_MODULEPATH=/share/apps/modulefiles:1
VAST=/vast/ss19980
VAST=/vast/yourUsername
LMOD_DIR=/share/apps/lmod/8.4.9/lmod/lmod/libexec
...
~~~
Expand Down Expand Up @@ -227,8 +227,8 @@ here are the components of `PATH` listed one per line:
~~~
/share/apps/singularity/bin
/share/apps/local/bin
/home/ss19980/.local/bin
/home/ss19980/bin
/home/yourUsername/.local/bin
/home/yourUsername/bin
/share/apps/singularity/bin
/share/apps/local/bin
/usr/local/bin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
```
---------------------- /cluster/modulefiles/all -------------------------
4ti2/1.6.9-GCC-8.2.0-2.31.1 gmsh/4.5.6-foss-2019b-Python-3.7.4
ABySS/2.0.2-gompi-2019a gnuplot/5.2.6-GCCcore-8.2.0
AdapterRemoval/2.3.1-foss-2018b gnuplot/5.2.8-GCCcore-8.3.0
AdapterRemoval/2.3.1-GCC-8.2.0-2.31.1 Go/1.13.1
ADF/2019.103+StaticMKL gompi/2018b
AdmixTools/5.1-GCC-7.3.0-2.30 gompi/2019a
ADMIXTURE/1.3.0 gompi/2019b
[ss19980@log-3 ~]$ module avail
[removed most of the output here for clarity]
----------------------- /cluster/modulefiles/external ---------------------
appusage/1.0 hpcx/2.4 hpcx/2.5 hpcx/2.6
----------------------------------------------- /share/apps/modulefiles -----------------------------------------------
abyss/intel/2.3.0 liftoff/1.6.1
admixtools/intel/7.0.2 liftoff/1.6.3
admixture/1.3.0 llvm/11.0.0
advanpix-mct/4.9.3.15018 lofreq/2.1.5
amber/openmpi/24.00 lp_solve/intel/5.5.2.9
amber/openmpi/intel/20.06 lua/5.3.6
amber/openmpi/intel/20.11 macs2/2.1.1.20160309
amber/openmpi/intel/22.00 macs2/intel/2.2.7.1
amber/openmpi/intel/22.03 macs3/intel/3.0.0a5
ampl/20240308 mafft/intel/7.475
amplgurobilink/11.0.1 mambaforge/23.1.0
Where:
S: Module is Sticky, requires --force to unload or purge
L: Module is loaded
Aliases: Aliases exist: foo/1.2.3 (1.2) means that "module load foo/1.2"
will load foo/1.2.3
Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching
any of the "keys".
[removed most of the output here for clarity]
```
{: .output}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
```
No Modulefiles Currently Loaded.
No modules loaded
```
{: .output}

0 comments on commit 42d6212

Please sign in to comment.