Skip to content

Commit a0fa3d4

Browse files
Update README.md
1 parent 6463d1a commit a0fa3d4

File tree

1 file changed

+54
-1
lines changed

1 file changed

+54
-1
lines changed

README.md

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,61 @@ import cupy as cp
1616

1717
By the end, you’ll have everything in place to leverage GPU acceleration immediately. We’ll walk you through installing the tools, configuring your environment, and running your first CUDA-powered code, so you can start leveraging the benefit of GPUs.
1818

19+
## University of Exeter ISCA HPC Installation Instructions
20+
```{important}
21+
If you’re working on the ISCA HPC at the University of Exeter, all required software is already provided as modules — you can skip these installation steps.
22+
```
23+
24+
### Two Ways to Run the Course Code
25+
26+
#### Method 1: Batch Submission via Slurm
27+
All of the key Slurm submission scripts live in the
28+
`exeter_isca_slurm_submission_scripts/` directory. You can submit a job with
29+
30+
```bash
31+
sbatch exeter_isca_slurm_submission_scripts/<script-name>.slurm
32+
```
33+
#### Method 2: Interactive GPU Session
34+
If you prefer to work interactively, follow these steps:
35+
36+
Request an interactive session:
37+
```bash
38+
srun \
39+
--partition=gpu \
40+
-A Research_Project-RSATeam \
41+
--time=12:00:00 \
42+
--nodes=1 \
43+
--ntasks=1 \
44+
--gres=gpu:1 \
45+
--cpus-per-task=4 \
46+
--pty /bin/bash
47+
```
48+
49+
Load required modules:
50+
```bash
51+
module load nvidia-cuda/12.1.1
52+
module load Python/3.11.3
53+
```
54+
55+
Clone `GPU_Training` Repo:
56+
57+
```bash
58+
git clone https://github.com/berrli/GPU_Training.git
59+
cd GPU_Training
60+
```
61+
62+
Install the Python requirements:
63+
```bash
64+
poetry install
65+
```
66+
67+
Once your environment is ready, you can invoke any of the project’s entry points via Poetry. For example:
68+
```bash
69+
poetry run cuda_check
70+
```
71+
1972

20-
## Installation Instructions
73+
## General Installation Instructions
2174

2275
The following provides the steps that are required to install the necessary compilers and packages to engage with the material in this course.
2376

0 commit comments

Comments
 (0)