Sample T3E PGENESIS job

Here is a sample job file for running the parameter searching example:

#QSUB -lt 500 -lT 600        # set time requirements
#QSUB -lm 4.0mw -lM 4.0mw    # set memory requirements
#QSUB -l mpp_p=16            # # of PEs
#QSUB -s /bin/csh

set echo                     # Turn on echo.

setenv NPES 16               # Set environment variable
                             # NPES to be the number
                             # of T3E processors you wish
                             # to use.

setenv PVM_SM_POOL `echo $MPP_NPES '* 4' | bc`
                                 # make the number of PVM buffers 4 times
                                 # the number of nodes                                 # buffers as there are nodes
setenv PVM_RETRY_COUNT 5000000   # Make PVM keep retrying if recipient's
                                 # message buffers are full

cd $TMP                      # Move to the protected 
                             # temporary directory
                             # associated with this job.

cp ~/demo.g ~/.simrc ~/.psimrc $TMP

pgenesis -nodes $NPES demo.g

This job would be submitted on the T3E by typing "qsub sample.job". The output from the job will appear in your home directory.