User Tools

Site Tools


workshops:hpcprac2

This is an old revision of the document!


Practical 2: Using CHPC

Aim: to launch a parallel job on the CHPC cluster Lengau.

Slides

The slides for the OpenMP lecture on Linux will be posted.

Logging in

Download and install putty-ssh and connect to lengau.chpc.ac.za using the username (studentNN) and password provided.

User Guide

Documentation for the CHPC systems starts with the CHPC Quick Start Guide. Read it, but note the differences below which are specific to the studentNN accounts you are using.

Student Accounts

  • Your user name is: studentNN
  • Your project is: Wchpc
  • Your queue is: R522145
  • Your PBS group is: training

Interactive Session

A user can not simply ssh onto a compute node because you don't know which ones are not in use by a currently running job. But the PBSPro scheduler does know. So we ask the scheduler for an interactive job which gives us a login shell on a compute node:

qsub -I -P Wchpc -q R522145 -W group_list=training

Note:

  • -I selects an interactive job
  • you still must specify the project Wchpc
  • the queue must be R522145
  • you need to specify the training group.

Advanced options:

  • -l select=1:ncpus=24:mpiprocs=24:nodetype=haswell_reg
  • interactive jobs only get one node: select=1
  • you can request all the cores on the node: ncpus=24
  • you can run MPI code: indicate how many ranks you want with mpiprocs=

If you find your interactive session timing out too soon then add -l walltime=4:0:0 to the above command line to request the maximum 4 hours.

Job Control

To check the status on your jobs in the Winter School queue:

qstat | grep R522145

This command lists all the jobs in the R522145 queue. Running jobs will have a R in the status column, a Q if the job is queued and waiting.

/app/dokuwiki/data/attic/workshops/hpcprac2.1499154789.txt.gz · Last modified: 2021/12/09 16:42 (external edit)