#!/bin/sh # On Rosalind STDERR and STDOUT go to the same file by default. # If you want them to go to separate files add the following line #$ -j n # To explicitly specify where you want STDOUT and STDERR to go #$ -o ~/sge-out #$ -e ~/sge-out # Alternatively you can have these go the current directory with the following. #$ -cwd # How much memory do you need? #$ -l h_vmem=2G # Get email alerts when your job begins and ends #$ -M <YOUR EMAIL ADDRESS> #$ -m be # Which queues would you like to submit to? #$ -q HighMemLongterm.q,HighMemShortterm.q,LowMemLongterm.q,LowMemShortterm.q # load any modules you need module load general/R/3.2.1 # Run whatever you want to run. Am sleeping so you have time to see # the jobs with qstat sleep 5 echo $HOSTNAME