Commit f393babf authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

readd allow run as root since env variables are not working with OpenMPI < 3

parent 361068fd
Pipeline #34178 failed with stages
in 293 minutes and 4 seconds
...@@ -32,6 +32,7 @@ stages: ...@@ -32,6 +32,7 @@ stages:
- export CCACHE_BASEDIR=$CI_PROJECT_DIR - export CCACHE_BASEDIR=$CI_PROJECT_DIR
- mkdir $CI_PROJECT_DIR/build - mkdir $CI_PROJECT_DIR/build
- cd $CI_PROJECT_DIR/build - cd $CI_PROJECT_DIR/build
- if dpkg --compare-versions `ompi_info | head -2 | tail -1 | sed 's/[^0-9.]*\([0-9.]*\).*/\1/'` ge 1.10; then export MPIEXEC_PREFLAGS="--allow-run-as-root" ; fi
- cmake .. - cmake ..
-DWALBERLA_BUFFER_DEBUG=$WALBERLA_BUFFER_DEBUG -DWALBERLA_BUFFER_DEBUG=$WALBERLA_BUFFER_DEBUG
-DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_TESTS=ON
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment