This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:batch:jobscriptexample [2016/08/08 19:25] – iwn | computing:batch:jobscriptexample [2017/06/07 20:59] (current) – iwn | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Two examples of submission scripts to PSI's T3 batch system. | ||
+ | |||
+ | |||
===== Example 1 ===== | ===== Example 1 ===== | ||
Line 218: | Line 221: | ||
<file text submitExample2.sh> | <file text submitExample2.sh> | ||
- | #!/bin/bash | + | #! /bin/bash |
# https:// | # https:// | ||
# run with qsub -q all.q submitAnalysis.sh | # run with qsub -q all.q submitAnalysis.sh | ||
- | printf "###################################################### | + | printf "################################################### |
- | printf "## | + | printf "## |
- | printf "###################################################### | + | printf "################################################### |
DBG=2 # debugging level | DBG=2 # debugging level | ||
Line 242: | Line 245: | ||
SEUSERSUBDIR=" | SEUSERSUBDIR=" | ||
SEOUTFILES=" | SEOUTFILES=" | ||
- | HN_NAME=`whoami` | + | USER_SE_HOME=" |
- | USER_SRM_HOME=" | + | SERESULTDIR=$USER_SE_HOME/ |
- | SERESULTDIR=$USER_SRM_HOME/ | + | |