Difference between revisions of "Queue Manager : shell script command"
PeterThorpe (talk | contribs) (Created page with "Put these at the top of your shell script if you want this functionality, remove or add as desired: #!/bin/bash #$ -V ## pass all environment variables to the job, VERY...") |
(No difference)
|
Latest revision as of 15:18, 8 May 2019
Put these at the top of your shell script if you want this functionality, remove or add as desired:
#!/bin/bash #$ -V ## pass all environment variables to the job, VERY IMPORTANT #$ -N echoTraining ## job name #$ -cwd ## Execute the job from the current working directory #$ -S /bin/bash ## shell where it will run this job #$ -j y ## join error output to normal output #$ -m e ## email me at the end of a job #$ -M email@st-andrews.ac.uk # email address to send to #$ -pe smp 8 # multi core jobs using 8 cores.