Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/publish_no_rocm_image_ubuntu24_04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,12 @@ jobs:
with:
DOCKER_FILE_NAME: no_rocm_image_ubuntu24_04_media
DOCKER_IMAGE_NAME: no_rocm_image_ubuntu24_04_media
# The image no_rocm_image_ubuntu24_04_openmpi is an extension of
# no_rocm_image_ubuntu24_04, so make sure we rebuild the _openmpi
# version whenever the base version changes.
publish_no_rocm_image_ubuntu24_04_openmpi:
needs: [publish_no_rocm_image_ubuntu24_04]
uses: ./.github/workflows/publish_dockerfile.yml
with:
DOCKER_FILE_NAME: no_rocm_image_ubuntu24_04_openmpi
DOCKER_IMAGE_NAME: no_rocm_image_ubuntu24_04_openmpi
13 changes: 13 additions & 0 deletions dockerfiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@ This includes dejagnu, make, gcc, g++ and gfortran.
Used in ocltst execution. It installs OCL ICD package required
by ocltst

| Source .Dockerfile | Published package |
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [`no_rocm_image_ubuntu24_04_openmpi.Dockerfile`](no_rocm_image_ubuntu24_04_openmpi.Dockerfile) | https://github.com/ROCm/TheRock/pkgs/container/no_rocm_image_ubuntu24_04_openmpi |

Extended version of no_rocm_image_ubuntu24_04.Dockerfile, containing a system
OpenMPI install (`libopenmpi-dev`, `openmpi-bin`) for the rocprofv3 `mpi-ranks`
integration tests. Like the other `no_rocm_image_*` images this is a test-only
image (not a ROCm build image): the rocprofiler-sdk tests are configured and
compiled in-container at test time, so `find_package(MPI)` needs the OpenMPI
headers and `mpiexec`. OpenMPI is intentionally not bundled in TheRock artifacts
(to avoid forcing a specific MPI onto users), so it is provided at the system
level here for the test environment.

### `rocm_runtime.Dockerfile`

| Source .Dockerfile | Published package |
Expand Down
14 changes: 14 additions & 0 deletions dockerfiles/no_rocm_image_ubuntu24_04_openmpi.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ghcr.io/rocm/no_rocm_image_ubuntu24_04:latest

# no_rocm_image_ubuntu24_04_openmpi:
# Test-only image (not a ROCm build image): extends no_rocm_image_ubuntu24_04 with
# a system OpenMPI install (libopenmpi-dev, openmpi-bin) for the rocprofv3 mpi-ranks
# integration tests. The rocprofiler-sdk tests are configured and compiled
# in-container at test time, so find_package(MPI) needs the OpenMPI headers and
# mpiexec. OpenMPI is intentionally not bundled in TheRock artifacts (to avoid
# forcing a specific MPI onto users), so it is provided at the system level here.
# The corresponding published image is:
# ghcr.io/rocm/no_rocm_image_ubuntu24_04_openmpi:latest
RUN sudo apt-get install -y --no-install-recommends \
libopenmpi-dev \
Comment thread
minseobshin11 marked this conversation as resolved.
Resolved
openmpi-bin
Loading