Skip to content

Commit 569d827

Browse files
authored
Updates for CP2K and Gromacs to new Format (#29)
1 parent 52a30e8 commit 569d827

File tree

21 files changed

+1131
-564
lines changed

21 files changed

+1131
-564
lines changed

README.md

+23-19
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Each builds provides parameters to specify different source code branches, relea
55

66
## Single-Node Server Requirements
77
| CPUs | GPUs | Operating Systems | ROCm™ Driver | Container Runtimes |
8-
| ---- | ---- | ----------------- | ------------ | ------------------ |
8+
|---- |---- |----------------- |------------ |------------------ |
99
| X86_64 CPU(s) | AMD Instinct MI200 GPU(s) <br> AMD Instinct MI100 GPU(s) | Ubuntu 20.04 <br> Ubuntu 22.04 <BR> RHEL8 <br> RHEL9 <br> SLES 15 sp4 | ROCm v5.x compatibility |[Docker Engine](https://docs.docker.com/engine/install/) <br> [Singularity](https://sylabs.io/docs/) |
1010

1111
For ROCm installation procedures and validation checks, see:
@@ -14,21 +14,25 @@ For ROCm installation procedures and validation checks, see:
1414
* [ROCm Examples](https://github.com/amd/rocm-examples)
1515

1616
## Applications:
17-
- [AMD Base Docker Container for GPU-Aware MPI in ROCm applications](/base-gpu-mpi-rocm-docker/)
18-
- [AMD's Implementation of Gromacs with HIP in Docker](/gromacs-docker/)
19-
- [Cholla](/cholla)
20-
- [Docker](/cholla/docker/)
21-
- [Bare Metal](/cholla/baremetal/)
22-
- [CP2K](/cp2k-docker/)
23-
- [Grid](/grid/)
24-
- [Docker](/grid/docker/)
25-
- [HPCG in Docker](/hpcg-docker/)
26-
- [LAMMPS in Docker](/lammps-docker/)
27-
- [OpenFOAM in Docker](/openfoam-docker/)
28-
- [OpenMM in Docker](/openmm-docker/)
29-
- [PETSc in Docker](/petsc-docker/)
30-
- [PyFR in Docker](/pyfr-docker/)
31-
- [rocHPL](/rochpl/)
32-
- [Docker](/rochpl/docker/)
33-
- [Spack](/rochpl/spack/)
34-
- [Specfem3D - Cartesian](/specfem3d/)
17+
- [AMD Base Docker Container for GPU-Aware MPI in ROCm applications](/base-gpu-mpi-rocm-docker/)
18+
- [AMD's Implementation of Gromacs with HIP](/gromacs/)
19+
- [Bare Metal](/gromacs/baremetal/)
20+
- [Docker](/gromacs/docker/)
21+
- [Cholla](/cholla)
22+
- [Bare Metal](/cholla/baremetal/)
23+
- [Docker](/cholla/docker/)
24+
- [CP2K](/cp2k/)
25+
- [Bare Metal](/cp2k/baremetal/)
26+
- [Docker](/cp2k/docker/)
27+
- [Grid](/grid/)
28+
- [Docker](/grid/docker/)
29+
- [HPCG in Docker](/hpcg-docker/)
30+
- [LAMMPS in Docker](/lammps-docker/)
31+
- [OpenFOAM in Docker](/openfoam-docker/)
32+
- [OpenMM in Docker](/openmm-docker/)
33+
- [PETSc in Docker](/petsc-docker/)
34+
- [PyFR in Docker](/pyfr-docker/)
35+
- [rocHPL](/rochpl/)
36+
- [Docker](/rochpl/docker/)
37+
- [Spack](/rochpl/spack/)
38+
- [Specfem3D- Cartesian](/specfem3d/)

cholla/README.md

+17-5
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ For ROCm installation procedures and validation checks, see:
3131
* [ROCm Examples](https://github.com/amd/rocm-examples)
3232

3333
## Build Recipes
34+
- [Bare Metal Build](/cholla/baremetal/)
3435
- [Docker/Singularity Build](/cholla/docker/)
35-
- [Baremetal Build](/cholla/baremetal/)
3636

3737
## Running Cholla Benchmarks
3838
These examples are using the [Cholla Docker Build](/cholla/docker/), which build the binary file cholla.hydro.cholla-container based on environment variable `CHOLLA_MACHINE` set to `cholla-container` and was build/installed into `/opt/cholla`.
@@ -45,10 +45,22 @@ You can run the examples using the command syntax below, where `#` is the number
4545
mpirun -np # cholla.hydro.cholla-container <benchmark-to-run>
4646
```
4747
### Examples:
48-
* 4 GPU 3D sound wave<br>`mpirun -np 4 cholla.hydro.cholla-container /opt/cholla/examples/3D/sound_wave.txt`
49-
* 8 GPU 3D Sound wave<br>`mpirun -np 8 cholla.hydro.cholla-container /opt/cholla/examples/3D/sound_wave.txt`
50-
* 4 GPU 3D sod<br> `mpirun -np 4 cholla.hydro.cholla-container /opt/cholla/examples/3D/sod.txt`
51-
* 8 GPU 3D sod<br> `mpirun -np 8 cholla.hydro.cholla-container /opt/cholla/examples/3D/sod.txt`
48+
* 4 GPU 3D sound wave
49+
```
50+
mpirun -np 4 cholla.hydro.cholla-container /opt/cholla/examples/3D/sound_wave.txt
51+
```
52+
* 8 GPU 3D Sound wave
53+
```
54+
mpirun -np 8 cholla.hydro.cholla-container /opt/cholla/examples/3D/sound_wave.txt
55+
```
56+
* 4 GPU 3D sod<br>
57+
```
58+
mpirun -np 4 cholla.hydro.cholla-container /opt/cholla/examples/3D/sod.txt
59+
```
60+
* 8 GPU 3D sod<br>
61+
```
62+
mpirun -np 8 cholla.hydro.cholla-container /opt/cholla/examples/3D/sod.txt
63+
```
5264

5365
Each MPI rank will bind to a particular unique GPU (1 rank per device) and strong-scale the problem accordingly. Please define `HIP_VISIBLE_DEVICES` to control which particular GPUs are available to Cholla.
5466

cholla/baremetal/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ For ROCm installation procedures and validation checks, see:
1313
* [AMD Lab Notes ROCm installation notes](https://github.com/amd/amd-lab-notes/tree/release/rocm-installation).
1414
* [ROCm Examples](https://github.com/amd/rocm-examples)
1515

16-
### System Dependencies
16+
## System Dependencies
1717
|Application|Minimum|Recommended|
1818
|---|---|---|
1919
|Git|Latest|Latest|
@@ -22,7 +22,7 @@ For ROCm installation procedures and validation checks, see:
2222
|UCX|1.13.0|1.14.1|
2323
|HDF5|1.12.1|1.14.1|
2424

25-
### Installing Cholla
25+
## Installing Cholla
2626

2727
1. Validate the Cluster/System has all of the above applications, with system path, library, and include environments set correctly. If you are unsure, the [Dockerfile](/cholla/docker/Dockerfile) has examples of all useful configurations listed after the `ENV` commands.
2828
2. Clone the [Cholla GIT repo](https://github.com/cholla-hydro/cholla.git) into your workspace.

cholla/docker/README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
## Overview
44
This document provides instructions on how to build Cholla into a Docker container that is portable between environments.
55

6+
### Build System Requirements
7+
- Git
8+
- Docker
9+
610
## Inputs
711
Possible `build-arg` for the Docker build command
812

@@ -69,7 +73,7 @@ If you want access to the HDF5 files generated during the run, please add `-v $(
6973
```
7074
docker run --rm -it --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined mycontainer/cholla /bin/bash
7175
```
72-
#### Docker Non-Interactive
76+
#### Docker Single Command
7377
```
7478
docker run --rm -it --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined mycontainer/cholla <Cholla Command>
7579
```
@@ -88,7 +92,7 @@ To launch a Singularity image build locally.
8892
singularity shell --no-home --writable-tmpfs -pwd /benchmark cholla.sif
8993
```
9094

91-
#### Singularity Non-Interactive
95+
#### Singularity Single Command
9296
To launch a Singularity image build locally.
9397
```
9498
singularity run --no-home --writable-tmpfs -pwd /benchmark cholla.sif <Cholla Command>
@@ -117,5 +121,3 @@ The information contained herein is for informational purposes only, and is subj
117121
© 2022-2023 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo, Instinct, Radeon Instinct, ROCm, and combinations thereof are trademarks of Advanced Micro Devices, Inc.
118122

119123
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein. Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
120-
121-
All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes.

0 commit comments

Comments
 (0)