Skip to content
Snippets Groups Projects
Commit 9d3840aa authored by Salman Djingueinabaye's avatar Salman Djingueinabaye
Browse files

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

parent d6f5c378
Branches
No related tags found
2 merge requests!211Change #!/bin/sh to #!/bin/bash - Merge of all PRs,!209Replaced #!/bin/sh with #!/bin/bash
...@@ -27,7 +27,7 @@ example: ...@@ -27,7 +27,7 @@ example:
{{% panel theme="info" header="serial_R.submit" %}} {{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}} {{< highlight batch >}}
#!/bin/sh #!/bin/bash
#SBATCH --time=00:30:00 #SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024 #SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob #SBATCH --job-name=TestJob
...@@ -47,7 +47,7 @@ directed to, as follows: ...@@ -47,7 +47,7 @@ directed to, as follows:
{{% panel theme="info" header="serial_R.submit" %}} {{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}} {{< highlight batch >}}
#!/bin/sh #!/bin/bash
#SBATCH --time=00:30:00 #SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024 #SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob #SBATCH --job-name=TestJob
...@@ -66,7 +66,7 @@ with `--args` as follows: ...@@ -66,7 +66,7 @@ with `--args` as follows:
{{% panel theme="info" header="serial_R.submit" %}} {{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}} {{< highlight batch >}}
#!/bin/sh #!/bin/bash
#SBATCH --time=00:30:00 #SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024 #SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob #SBATCH --job-name=TestJob
...@@ -87,7 +87,7 @@ using `Rscript` the submit script could look like the following: ...@@ -87,7 +87,7 @@ using `Rscript` the submit script could look like the following:
{{% panel theme="info" header="serial_R.submit" %}} {{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}} {{< highlight batch >}}
#!/bin/sh #!/bin/bash
#SBATCH --time=00:30:00 #SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024 #SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob #SBATCH --job-name=TestJob
...@@ -111,7 +111,7 @@ will follow the script name as in the example below: ...@@ -111,7 +111,7 @@ will follow the script name as in the example below:
{{% panel theme="info" header="serial_R.submit" %}} {{% panel theme="info" header="serial_R.submit" %}}
{{< highlight batch >}} {{< highlight batch >}}
#!/bin/sh #!/bin/bash
#SBATCH --time=00:30:00 #SBATCH --time=00:30:00
#SBATCH --mem-per-cpu=1024 #SBATCH --mem-per-cpu=1024
#SBATCH --job-name=TestJob #SBATCH --job-name=TestJob
...@@ -133,7 +133,7 @@ since both are running multicore jobs on a single node. Below is an example: ...@@ -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" %}} {{% panel theme="info" header="parallel_R.submit" %}}
{{< highlight batch >}} {{< highlight batch >}}
#!/bin/sh #!/bin/bash
#SBATCH --ntasks-per-node=16 #SBATCH --ntasks-per-node=16
#SBATCH --nodes=1 #SBATCH --nodes=1
#SBATCH --time=00:30:00 #SBATCH --time=00:30:00
...@@ -173,7 +173,7 @@ Below is an example of running Rmpi on Crane on 2 nodes and 32 cores: ...@@ -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" %}} {{% panel theme="info" header="Rmpi.submit" %}}
{{< highlight batch >}} {{< highlight batch >}}
#!/bin/sh #!/bin/bash
#SBATCH --nodes=2 #SBATCH --nodes=2
#SBATCH --ntasks-per-node=16 #SBATCH --ntasks-per-node=16
#SBATCH --time=00:30:00 #SBATCH --time=00:30:00
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment