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.
#PBS -q regular #PBS -l mppwidth=48 #PBS -l walltime=00:10:00 #PBS -N jobname cd $PBS_O_WORKDIR aprun -n 48 ./my_executable
additional options: http://www.nersc.gov/users/computational-systems/hopper/running-jobs/batch-jobs/
$ qsub mybatchscript
$ qstat -u username