Dash User Guide: Running Jobs
There are a total of 16 compute nodes, each with 8 processors/node and 48GB/node. The nodes are accessible via the batch, express, and long queues.
Interactive Jobs
Interactive jobs should be used to test/debug your programs.
[user@dash-0-36]$ qsub -I -q batch -l nodes=1:ppn=8 \
-l walltime=01:00:00 -A <allocation>
[user@dash-0-X]$ cd /path/to/executable
[user@dash-0-X]$ mpirun -np 8 ./program.ex
Batch Jobs
Example Script:
[user@dash-0-36]$ cat script #!/bin/bash # the queue to be used. #PBS -q batch # specify your project allocation #PBS -A <allocation> # number of nodes and number of processors per node requested #PBS -l nodes=1:ppn=8 # requested Wall-clock time. #PBS -l walltime=HH:MM:SS # name of the standard out file to be "output-file". #PBS -o job_output # name of the job #PBS -N MPI_JOB cd $PBS_O_WORKDIR #change to the working directory mpirun -np 8 /path/to/your_executable
Submit the job via:
[user@dash]$ qsub <batch_script>
