Skip to content

Instantly share code, notes, and snippets.

@hrlai
Created January 12, 2023 01:49
Show Gist options
  • Save hrlai/d91a9cfe34907e4554798b27610e22e6 to your computer and use it in GitHub Desktop.
Save hrlai/d91a9cfe34907e4554798b27610e22e6 to your computer and use it in GitHub Desktop.
SGE bash script for future.batchtools::batchtools_sge
#!/bin/bash
#$ -cwd
#$ -j y
#$ -o <%= log.file %>
#$ -V
#$ -N <%= job.name %>
#$ -pe smp <%= resources[["slots"]] %>
Rscript -e 'batchtools::doJobCollection("<%= uri %>")'
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment