Einführung in die Rechendienste - RRZN
Einführung in die Rechendienste - RRZN
Einführung in die Rechendienste - RRZN
Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.
YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.
E<strong>in</strong> simples Batch-Skript<br />
1 #!/b<strong>in</strong>/bash -log<strong>in</strong><br />
2 #PBS -N job_name<br />
3 #PBS -M ich@me<strong>in</strong>e.mail.adresse<br />
4 #PBS -m ae<br />
5 #PBS -j oe<br />
6 #PBS -l nodes=1:ppn=1<br />
7 #PBS -l walltime=00:10:00<br />
8 #PBS -l mem=3gb<br />
9<br />
0 # show which computer the job ran on<br />
1 echo "Job ran on:" $(hostname)<br />
2<br />
3 # change to work dir:<br />
4 cd $BIGWORK<br />
5<br />
6 # run the program<br />
7 ./hello<br />
Compute<strong>die</strong>nste am Rechenzentrum Scientific Comput<strong>in</strong>g Gruppe | 7. November 2013 31