Skip to content

Commit 4048911

Browse files
committed
Support running as root for DLI course
1 parent bf1d8ae commit 4048911

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/recipe.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
'OMPI_MCA_rmaps_base_oversubscribe' : 'true',
6363
# Select matplotdir config directory to silence warning
6464
'MPLCONFIGDIR': '/tmp/matplotlib',
65+
# DLI course needs to run as root:
66+
'OMPI_ALLOW_RUN_AS_ROOT': '1',
67+
'OMPI_ALLOW_RUN_AS_ROOT_CONFIRM': '1',
6568
})
6669
Stage0 += copy(src='labs/', dest='/labs/')
6770
Stage0 += copy(src='include/cartesian_product.hpp', dest='/usr/include/cartesian_product.hpp')

0 commit comments

Comments
 (0)