From 9d3840aafe74f334fc775f1ddcb268384b7a99d9 Mon Sep 17 00:00:00 2001 From: salmandjing <salmandjing@huskers.unl.edu> Date: Wed, 29 Apr 2020 19:52:58 +0000 Subject: [PATCH] Replaced #!/bin/sh with #!/bin/bash --- .../app_specific/submitting_r_jobs.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/submitting_jobs/app_specific/submitting_r_jobs.md b/content/submitting_jobs/app_specific/submitting_r_jobs.md index d0644b4f..db2c25ce 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 -- GitLab