Skip to content

Commit 20da1b8

Browse files
Further cleanup and harmonization of built-in templates
1 parent db00a0e commit 20da1b8

File tree

11 files changed

+35
-45
lines changed

11 files changed

+35
-45
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: future.batchtools
2-
Version: 0.12.2-9950
2+
Version: 0.12.2-9951
33
Depends:
44
R (>= 3.2.0),
55
parallelly,

inst/templates/lsf.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
# Author: Henrik Bengtsson
66
######################################################################
77

8-
## Job name:
8+
## Job name
99
#BSUB -J <%= job.name %>
1010

11-
## Direct streams to logfile:
11+
## Direct streams to logfile
1212
#BSUB -o <%= log.file %>
1313

14-
## Resources needed:
14+
## Resources needed
1515
<% if (length(resources) > 0) {
1616
## As-is resource specifications
1717
if ("asis" %in% names(resources)) {

inst/templates/openlava.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
# Author: Henrik Bengtsson
66
######################################################################
77

8-
## Job name:
8+
## Job name
99
#BSUB -J <%= job.name %>
1010

11-
## Direct streams to logfile:
11+
## Direct streams to logfile
1212
#BSUB -o <%= log.file %>
1313

14-
## Resources needed:
14+
## Resources needed
1515
<% if (length(resources) > 0) {
1616
## As-is resource specifications
1717
if ("asis" %in% names(resources)) {

inst/templates/sge.tmpl

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,22 @@
44
#
55
# Author: Henrik Bengtsson
66
######################################################################
7-
## Shell:
8-
#$ -S /bin/bash # Run this as a bash script (required)
7+
## Shell
8+
#$ -S /bin/bash
99

10-
## Job name:
10+
## Job name
1111
#$ -N <%= job.name %>
1212

13-
## Direct streams to logfile:
13+
## Direct streams to logfile
1414
#$ -o <%= log.file %>
1515

16-
## Merge standard error and output:
17-
#$ -j y
16+
## Merge standard error and output
17+
#PBS -j y
1818

1919
## Tell the queue system to use the current directory
2020
## as the working directory
2121
#$ -cwd
2222

23-
## Use environment variables
24-
#$ -V
25-
2623
## Resources needed:
2724
<% if (length(resources) > 0) {
2825
## As-is resource specifications

inst/templates/slurm.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
# Author: Henrik Bengtsson
66
######################################################################
77

8-
8+
## Job name
99
#SBATCH --job-name=<%= job.name %>
10+
## Direct streams to logfile
1011
#SBATCH --output=<%= log.file %>
1112

1213
## Resources needed:

inst/templates/torque.tmpl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,15 @@
55
# Author: Henrik Bengtsson
66
######################################################################
77

8-
## Job name:
8+
## Job name
99
#PBS -N <%= job.name %>
1010

11-
## Direct streams to logfile:
11+
## Direct streams to logfile
1212
#PBS -o <%= log.file %>
1313

14-
## Merge standard error and output:
14+
## Merge standard error and output
1515
#PBS -j oe
1616

17-
## Email on abort (a) and termination (e), but not when starting (b)
18-
#PBS -m ae
19-
2017
## Resources needed:
2118
<% if (length(resources) > 0) {
2219
## As-is resource specifications

man/batchtools_lsf.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_openlava.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_sge.Rd

Lines changed: 6 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/batchtools_slurm.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)