Skip to content

Commit df469af

Browse files
authored
Update README.md
1 parent eeb7abc commit df469af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/examples/cuda-hip/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ hipcc -O2 --offload-arch=gfx90a <code>.cpp
1515
```
1616
Alternatively, when available, one could use `Makefile` set to use the [cray compilers](https://docs.lumi-supercomputer.eu/development/compiling/prgenv/#using-hipcc).
1717
## Running
18-
In order to execute the HIP application on GPU nodes we submit it to the partition `standard-g` (`-p` flag). We have specify as well the running options like number of gpus needed, mpi tasks and CPU core per MPI taks. Below we have an example of a job with 2GPUs, 1 node, 2 MPI tasks and 4 cores per MPI task:
18+
In order to execute the HIP application on GPU nodes we submit it to the partition `dev-g` (`-p` flag). We have specify as well the running options like number of gpus needed, mpi tasks and CPU core per MPI taks. Below we have an example of a job with 2GPUs, 1 node (`-N`), 2 MPI tasks (`-n`) and 4 cores per MPI task (`-c`):
1919

2020
```
21-
srun -p dev-g --gpus 2 -n 2 -c 4 --time=00:10 --account=project_465001310 ./a.out
21+
srun -p dev-g --gpus 2 -N 1 -n 2 -c 4 --time=00:10:00 --account=project_465001310 ./a.out
2222
```
2323
Modify this according to the neeeds of the job. Note that the modules should be loaded in the terminal which is used for launching the job.
2424

0 commit comments

Comments
 (0)