diff --git a/content/submitting_jobs/app_specific/submitting_r_jobs.md b/content/submitting_jobs/app_specific/submitting_r_jobs.md index d0644b4fd2c798f5444a14c880ba2ba68d147979..db2c25ce349e452323e3d0c7eab8f60bc9eb245e 100644 --- a/content/submitting_jobs/app_specific/submitting_r_jobs.md +++ b/content/submitting_jobs/app_specific/submitting_r_jobs.md @@ -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