Download ZEUS-3D USER MANUAL

Transcript
resumes typing the character string on the next line, beginning in column 3. Note the
location of the single quotes.
A detailed description of all the namelist parameters is contained in Appendix 2.
3.3.6 Making the Executable xzeus32
The sixth segment executes the makefile makezeus created by the preprocessor EDITOR. The makefile will compile only those FORTRAN files in the directory zeus3.2
which have been written since the last time they were compiled, then link all the object
files together with the specified libraries (using the loader ncargf77, actually a locally
available script) to create the executable xzeus32.
3.4 EXECUTING ZEUS-3D
Once the script file has successfully completed, simply type xzeus32 followed by a carriage
return, and ZEUS-3D will begin running. Alternatively, the executable can be run in
batch mode using the NQS system. A sample NQS file called zeus32.nqs follows:
#QSUB -lT 300
#QSUB -lM 1Mw
#QSUB -lF 200Mb
#QSUB
#-------------------------------------------------> enable job accounting
ja
date
#-----> copy executable and input deck from $SAVE to batch scratch $SCR
cd $SCR
cp $SAVE/xzeus3d $SAVE/inzeus .
#-------------------------------------------------------> execute xzeus32
xzeus32
#---------------------------------------> create libraries for data dumps
tar -cvf plt2d.tar zq*
tar -cvf pixel.tar zi*
tar -cvf voxel.tar zv*
#---------------------------------------------> copy data dumps to $SAVE
cp plt2d.tar pixel.tar voxel.tar $SAVE
#--------------> report job accounting information and disable accounting
date
echo job complete
ja -csft
The QSUB directives request a maximum of 300 CPU seconds for the entire job, 1 Megaword of memory, and 200 Mbytes of temporary scratch disc space in $SCR. In this
example, it was assumed that the environment variables SAVE and SCR were set to appropriate text strings in the user’s .login file. Idealy, files that are to be saved should
be transferred to a permanent storage facility.
To submit this script file to the NQS batch system, simply type:
qsub zeus32.nqs.
20