To access Blue Waters via command line, point your
SSH client to
If instructed by the presenter, add
ssh -l username bwbay.ncsa.illinois.edu
-Y flag to enable X11 forwarding (for applications with GUI).
To start an interactive job, execute
qsub command with
-I flag, for example:
This will start an interactive session on 1 XK (CPU + GPU) node for 1 hour.
qsub -I -lwalltime=01:00:00,nodes=1:ppn=16:xk
Batch (non-interactive) jobs
For non-interactive batch jobs, use
qsub command without the
job_script.sh is the name of a text file containing special
#PBS comments/directives and
SHELL commands. For example, to set walltime to 1 hour while requesting 2 XE (CPU-only) nodes, one would add the following lines to the
The details of your job script's contents depend on the type of job you intend to run and should be provided to you by the presenter.
#PBS -l walltime=01:00:00
#PBS -l nodes=2:ppn=32:xe
To execute code on compute nodes, make sure to use
aprun command in your batch job scripts and in interactive jobs like so:
aprun -n 16 executable