forked from carpentries-incubator/hpc-intro
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
122cdad
commit 2da235b
Showing
15 changed files
with
109 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
_includes/snippets_library/NYU_Greene_slurm/modules/missing-python.snip
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
_includes/snippets_library/NYU_Greene_slurm/modules/missing-r.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
``` | ||
/usr/bin/which: no R in | ||
(share/apps/singularity/bin: | ||
/share/apps/local/bin: | ||
/home/yourUsername/.local/bin: | ||
/home/yourUsername/bin: | ||
/share/apps/singularity/bin: | ||
/share/apps/local/bin: | ||
/usr/local/bin: | ||
/usr/bin: | ||
/usr/local/sbin: | ||
/usr/sbin: | ||
/usr/lpp/mmfs/bin: | ||
/opt/slurm/bin:) | ||
``` | ||
{: .output} |
5 changes: 0 additions & 5 deletions
5
_includes/snippets_library/NYU_Greene_slurm/modules/module-load-python.snip
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
_includes/snippets_library/NYU_Greene_slurm/modules/module-load-r.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
``` | ||
{{ site.host_prompt }} module load r/gcc/4.4.0 | ||
{{ site.host_prompt }} which R | ||
``` | ||
{: .language-bash} |
4 changes: 0 additions & 4 deletions
4
_includes/snippets_library/NYU_Greene_slurm/modules/python-executable-dir.snip
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
_includes/snippets_library/NYU_Greene_slurm/modules/python-ls-dir-command.snip
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
_includes/snippets_library/NYU_Greene_slurm/modules/python-ls-dir-output.snip
This file was deleted.
Oops, something went wrong.
18 changes: 11 additions & 7 deletions
18
_includes/snippets_library/NYU_Greene_slurm/modules/python-module-path.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
``` | ||
/cluster/software/Python/3.8.2-GCCcore-9.3.0/bin: | ||
/cluster/software/XZ/5.2.5-GCCcore-9.3.0/bin: | ||
/cluster/software/bzip2/1.0.8-GCCcore-9.3.0/bin: | ||
/cluster/software/binutils/2.34-GCCcore-9.3.0/bin: | ||
/cluster/software/GCCcore/9.3.0/bin:/node/bin:/usr/local/bin: | ||
/usr/bin:/usr/local/sbin:/usr/sbin:/cluster/bin: | ||
/cluster/home/sabryr/.local/bin:/cluster/home/sabryr/bin | ||
/share/apps/r/4.4.0/gcc/bin: | ||
/share/apps/singularity/bin: | ||
/share/apps/local/bin: | ||
/home/yourUsername/.local/bin: | ||
/home/yourUsername/bin: | ||
/usr/local/bin: | ||
/usr/bin: | ||
/usr/local/sbin: | ||
/usr/sbin: | ||
/usr/lpp/mmfs/bin: | ||
/opt/slurm/bin: | ||
``` | ||
{: .output} |
4 changes: 4 additions & 0 deletions
4
_includes/snippets_library/NYU_Greene_slurm/modules/r-executable-dir.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``` | ||
/share/apps/r/4.4.0/gcc/bin/R | ||
``` | ||
{: .output} |
4 changes: 4 additions & 0 deletions
4
_includes/snippets_library/NYU_Greene_slurm/modules/r-ls-dir-command.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``` | ||
{{ site.host_prompt }} ls /share/apps/r/4.4.0/gcc/bin | ||
``` | ||
{: .language-bash} |
4 changes: 4 additions & 0 deletions
4
_includes/snippets_library/NYU_Greene_slurm/modules/r-ls-dir-output.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
``` | ||
R Rscript __run_base.bash | ||
``` | ||
{: .output} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
_includes/snippets_library/NYU_Greene_slurm/modules/wrong-gcc-version.snip
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
_includes/snippets_library/NYU_Greene_slurm/modules/wrong-nextflow-version.snip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Let's take a closer look at the `nextflow` module. Nextflow is a scientific | ||
workflow system predominantly used for bioinformatic data analysis | ||
In this case, we have: | ||
|
||
``` | ||
nextflow/20.07.1 nextflow/20.11.0-edge nextflow/21.10.5 nextflow/23.04.1 | ||
nextflow/20.10.0 nextflow/21.04.3 nextflow/21.10.6 nextflow/24.04.3 | ||
``` | ||
{: .language-bash} | ||
|
||
How do we load each copy and which copy is the default? | ||
|
||
``` | ||
{{ site.host_prompt }} module load Nextflow | ||
``` | ||
{: .language-bash} | ||
|
||
``` | ||
Lmod has detected the following error: The following module(s) are unknown: "Nextflow" | ||
Please check the spelling or version number. Also try "module spider ..." | ||
It is also possible your cache file is out-of-date; it may help to try: | ||
$ module --ignore-cache load "Nextflow" | ||
Also make sure that all modulefiles written in TCL start with the string #%Module | ||
``` | ||
{: .output} | ||
|
||
To load a software module we must specify the full module name: | ||
|
||
``` | ||
{{ site.host_prompt }} module load nextflow/24.04.3 | ||
{{ site.host_prompt }} nextflow -version | ||
``` | ||
{: .language-bash} |