torque_tutorial
This is an old revision of the document!
Table of Contents
Overview
Jobs on Hopper execute on one or more “compute” nodes dedicated to that job. These nodes are distinct from the shared “login” nodes that host interactive sessions. Typically, users write the batch script with a text editor and submit it to the system using the “qsub” command. The batch script contains a number of job control directives and also the “aprun” command that actually runs the program in parallel on the compute nodes.
Batch Jobs
Sample Batch Script
#PBS -q regular #PBS -l mppwidth=48 #PBS -l walltime=00:10:00 cd $PBS_O_WORKDIR aprun -n 48 ./my_executable
http://www.nersc.gov/users/computational-systems/hopper/running-jobs/batch-jobs/
Submit a Batch Script
$ qsub mybatchscript
Check the Progress of a Job
torque_tutorial.1441993473.txt.gz · Last modified: 2022/07/21 06:59 (external edit)