Hoffman2:Submit job: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<code><nowiki>#!/bin/tcsh
<code><nowiki>
#!/bin/bash
#$ -cwd
#$ -cwd
# error = Merged with joblog
# error = Merged with joblog
Line 12: Line 13:


# load the job environment:
# load the job environment:
source /u/local/Modules/default/init/modules.csh
. /u/local/Modules/default/init/modules.sh
module use /u/project/CCN/apps/modulefiles
module use /u/project/CCN/apps/modulefiles
module load fsl
module load fsl
Line 18: Line 19:
# This is optional
# This is optional
# More info here: https://www.ccn.ucla.edu/wiki/index.php/Hoffman2:FSL  
# More info here: https://www.ccn.ucla.edu/wiki/index.php/Hoffman2:FSL  
setenv NO_FSL_JOBS true
export NO_FSL_JOBS=true


# Now do something with fsl, feat, etc.
# Now do something with fsl, feat, etc.
sleep 600</nowiki></code>
sleep 600
</nowiki></code>

Revision as of 22:11, 14 November 2017

#!/bin/bash #$ -cwd # error = Merged with joblog #$ -o joblog.$JOB_ID #$ -j y #$ -pe shared 2 #$ -l h_rt=8:00:00,h_data=4G # Email address to notify #$ -M $USER@mail # Notify when #$ -m bea # load the job environment: . /u/local/Modules/default/init/modules.sh module use /u/project/CCN/apps/modulefiles module load fsl # This is optional # More info here: https://www.ccn.ucla.edu/wiki/index.php/Hoffman2:FSL export NO_FSL_JOBS=true # Now do something with fsl, feat, etc. sleep 600