Skip to content
Snippets Groups Projects

Replaced #!/bin/sh with #!/bin/bash

Merged Salman Djingueinabaye requested to merge salmandjing/hcc-docs:patch-11 into master
1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
@@ -27,7 +27,7 @@ example:
{{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}}
#!/bin/sh
#!/bin/bash
#SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob
@@ -47,7 +47,7 @@ directed to, as follows:
{{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}}
#!/bin/sh
#!/bin/bash
#SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob
@@ -66,7 +66,7 @@ with `--args` as follows:
{{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}}
#!/bin/sh
#!/bin/bash
#SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob
@@ -87,7 +87,7 @@ using `Rscript` the submit script could look like the following:
{{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}}
#!/bin/sh
#!/bin/bash
#SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob
@@ -111,7 +111,7 @@ will follow the script name as in the example below:
{{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}}
#!/bin/sh
#!/bin/bash
#SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob
@@ -133,7 +133,7 @@ since both are running multicore jobs on a single node. Below is an example:
{{% panel theme="info" header="parallel_R.submit" %}}
{{< highlight batch >}}
#!/bin/sh
#!/bin/bash
#SBATCH --ntasks-per-node=16
#SBATCH --nodes=1
#SBATCH --time=00:30:00
@@ -173,7 +173,7 @@ Below is an example of running Rmpi on Crane on 2 nodes and 32 cores:
{{% panel theme="info" header="Rmpi.submit" %}}
{{< highlight batch >}}
#!/bin/sh
#!/bin/bash
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=16
#SBATCH --time=00:30:00
Loading