#BSUB-J {{ job_name }}[1-{{ n_jobs }}]
#BSUB-n {{ cores | 1 }}
#BSUB-o {{ log_file | /dev/null }}
#BSUB-M {{ memory | 4096 }}
#BSUB-R rusage[mem={{ memory | 4096  }}]
#BSUB-R span[ptile=1]

ulimit -v $(( 1024 * {{ memory | 4096 }} - 25 ))
CMQ_AUTH={{ auth }} R --no-save --no-restore -e 'clustermq:::worker("{{ master }}")'
