Summary and Setup
This is a new lesson built with The Carpentries Workbench.
You can already log in to Falcon and run jobs. This lesson takes you from there to running your work faster and more reliably. Everything is built around one Python program that is fine on a laptop but disappointing on a supercomputer, and through live coding we find out why and fix it step by step.
Prerequisites
- A Falcon user account and a project to run jobs under (contact us if you need temporary access to a training project, see Setup)
- Comfort with the Linux command line: moving around directories, copying files and editing a text file
- Experience submitting a simple Slurm batch job (
sbatch,squeue) - No Python programming is needed
After this lesson you will be able to
- Set up SSH keys for passwordless access
- Identify the CPU and GPU architectures on Falcon and explain how they affect software
- Find and load additional software and Python packages
- Write more robust job scripts using Slurm environment variables and shell safeguards
- Estimate resource requirements and measure job efficiency
- Use
tmuxand live monitoring tools in interactive sessions - Use a profiler to find performance bottlenecks
- Run many tasks with array jobs and GNU Parallel, and explain QOS limits
- Run applications on GPU partitions
Data Sets
Download the data zip file and unzip it to your Desktop
Software Setup
Attendees need a program to connect via SSH to the Falcon supercomputer.
Remember you need to enable Cardiff VPN client to connect to Falcon and our documentation website.
Optional: Install Python and Numpy on your laptop to
run sweep.py included in the data
zip file to obtain base runtimes for comparison with Falcon.
Optional: Install Linaro Forge (remote client only) to analyse profiler files.
Use Powershell or PuTTY
Use Terminal.app
Use Terminal