17.06.2014 Aufrufe

Einführung in die Rechendienste - RRZN

Einführung in die Rechendienste - RRZN

Einführung in die Rechendienste - RRZN

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

Beispiel-Batchskript (serielles OpenFOAM-Programm)<br />

simpleFoam auf e<strong>in</strong>em (1) Prozessorkern laufen lassen.<br />

1 #!/b<strong>in</strong>/bash -log<strong>in</strong><br />

2 #PBS -N airFoil2D<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=4gb<br />

9 # show which computer the job ran on<br />

0 echo "Job ran on:" $(hostname)<br />

1 # load the relevant modules<br />

2 module load openfoam/1.7.1<br />

3 # <strong>in</strong>itialise the OpenFOAM environment<br />

4 source $foamDotFile<br />

5 # change to work dir:<br />

6 cd $PBS_O_WORKDIR/airFoil2D<br />

7 # clean up from possible previous runs<br />

8 ./AllClean<br />

9 # the program to run<br />

0 simpleFoam<br />

⇐Zurück zur Batchskriptliste<br />

Compute<strong>die</strong>nste am Rechenzentrum Scientific Comput<strong>in</strong>g Gruppe | 7. November 2013 53

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!