Skip to content

Commit e3f910d

Browse files
committed
Accelerated Python/60 MPI: Add flags to disable OpenMPI warnings about running as root.
1 parent c0cfec4 commit e3f910d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tutorials/accelerated-python/brev/dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ FROM rapidsai/devcontainers:25.08-cpp-cuda12.8
33
ENV PIP_ROOT_USER_ACTION=ignore \
44
PIP_DISABLE_PIP_VERSION_CHECK=1 \
55
VIRTUAL_ENV_DISABLE_PROMPT=1 \
6+
OMPI_ALLOW_RUN_AS_ROOT=1 \
7+
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 \
8+
ACH_RAPIDS_VENV=/opt/venvs/rapids \
69
ACH_TUTORIAL=accelerated-python
710

811
# Install system packages (needed before pip install for git-based packages)
@@ -54,7 +57,6 @@ RUN mkdir -p ~/.local/state/._bash_history \
5457
&& python -m jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
5558

5659
# Create an isolated Python env with cuDF and cuML, and register it as a Jupyter kernel
57-
ENV ACH_RAPIDS_VENV=/opt/venvs/rapids
5860
RUN python -m venv ${ACH_RAPIDS_VENV} \
5961
&& ${ACH_RAPIDS_VENV}/bin/pip install --no-cache-dir \
6062
--extra-index-url=https://pypi.nvidia.com \

0 commit comments

Comments
 (0)