-
Notifications
You must be signed in to change notification settings - Fork 0
/
clustermq.tmpl
14 lines (13 loc) · 911 Bytes
/
clustermq.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Modified from https://github.com/mschubert/clustermq/blob/master/inst/SGE.tmpl
# under the Apache 2.0 license.
#$ -N hyperbolic_whapuku_{{ job_name }} # Name of the job. You can add custom prefixes.
#$ -j y # Merge stdout and stderr into one stream for the log files.
#$ -o {{ log_file | /dev/null }} # Log file or directory of log files.
#$ -cwd # Working directory agrees with that of the launching process.
#$ -V # Use environment variables.
#$ -t 1-{{ n_jobs }} # Job array
# #$ -pe smp {{ cores | 1 }} # Control the number of local crores per worker.
# #$ -l m_mem_free=64G # Request memory for the job
module load R # Comment out if R is not an environment module.
# ulimit -v $(( 1024 * {{ memory | 4096 }} ))
CMQ_AUTH={{ auth }} R --no-save --no-restore -e 'clustermq:::worker("{{ master }}")'