You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried messing around with n_jobs, job_size, and workers, but no matter what I try, Q() always just submits one cluster job instead of multiple. An example:
fx = function(x, y) x * 2 + y
tmpl = list(job_mem = '8G', log_file = '/ebio/abt3/nyoungblut/tmp/clustermq.log')
Q(fx, x=1:20, const=list(y=10), n_jobs=4, job_size=1,
workers = clustermq::workers(4), template=tmpl)
My SGE template:
#!/bin/bash
#$ -N {{ job_name }} # job name
#$ -pe parallel {{ cores | 1 }} # job threads
#$ -l h_rt={{ job_time | 00:59:00 }} # job time
#$ -l h_vmem={{ job_mem | 7G }} # job memory
#$ -j y # combine stdout/error in one file
#$ -o {{ log_file | /dev/null }} # output log file
#$ -cwd # use pwd as work dir
#$ -V # use environment variable
. ~/.bashrc
conda activate {{ conda | py3 }}
export OMP_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1
export MKL_NUM_THREADS=1
#ulimit -v $(( 1024 * {{ memory | 4096 }} ))
CMQ_AUTH={{ auth }} R --no-save --no-restore -e 'clustermq:::worker("{{ master }}")'
I've tried messing around with
n_jobs
,job_size
, andworkers
, but no matter what I try,Q()
always just submits one cluster job instead of multiple. An example:My SGE template:
SessionInfo:
btw, does anyone know if there's a way to use wildcards for the log file names for SGE? I'd like each job to write a separate log file.
The text was updated successfully, but these errors were encountered: