Skip to content

Commit 72e759f

Browse files
committed
Allow OMPI as root in container
1 parent 6d4f396 commit 72e759f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/cuda.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
steps:
3636
- name: Prepare docker
3737
run: |
38+
echo "OMPI_ALLOW_RUN_AS_ROOT=1" >> $GITHUB_ENV
39+
echo "OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1" >> $GITHUB_ENV
3840
echo $LD_LIBRARY_PATH
3941
which mpicc
4042
mpicc -show

0 commit comments

Comments
 (0)