--- /global/apps/freesurfer/5.1.0/bin/fsl_sub_seychelles.orig 2012-08-06 11:56:51.126805000 +0200 +++ /global/apps/freesurfer/5.1.0/bin/fsl_sub_seychelles 2012-08-06 12:02:32.700309000 +0200 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh # fsl_sub_seychelles # (This script was modified from FSL's fsl_sub by Anastasia Yendiki) @@ -92,20 +92,26 @@ # cluster to be used. ########################################################################### +MYPBSQUEUE=default METHOD=SGE if [ "x$SGE_ROOT" = "x" ] ; then if [ -f /usr/local/share/sge/default/common/settings.sh ] ; then . /usr/local/share/sge/default/common/settings.sh elif [ -f /usr/local/sge/default/common/settings.sh ] ; then . /usr/local/sge/default/common/settings.sh - elif [ -d /pbs ] ; then +# elif [ -d /pbs ] ; then + elif [ -d /opt/torque ] ; then METHOD=PBS if [ "x$MYPBSQUEUE" = "x" ] && [ `hostname` = "seychelles" ] ; then MYPBSQUEUE=private fi - if [ "x$MYPBSQUEUE" = "x" ] && [ `hostname` = "launchpad" ] ; then + if [ "x$MYPBSQUEUE" = "x" ] && [ `hostname` = "stallo-1" ] ; then + MYPBSQUEUE=default + fi + if [ "x$MYPBSQUEUE" = "x" ] && [ `hostname` = "stallo-2" ] ; then MYPBSQUEUE=default fi + if [ "x$MYPBSMAXJOBS" = "x" ] ; then MYPBSMAXJOBS=40 fi @@ -209,12 +215,13 @@ # change. It also sets up the basic emailing control. ########################################################################### -queue=long.q -mailto=`whoami`@fmrib.ox.ac.uk +queue=default +mailto=`whoami` MailOpts="as" if [ $METHOD == PBS ] ; then queue=$MYPBSQUEUE +# queue=default mailto=`whoami` MailOpts="abe" if [ "x$MYPBSARCH" != "x" ] ; then