Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -32,6 +32,7 @@ stages:
- export CCACHE_BASEDIR=$CI_PROJECT_DIR
- mkdir $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 ..
-DWALBERLA_BUFFER_DEBUG=$WALBERLA_BUFFER_DEBUG
-DWALBERLA_BUILD_TESTS=ON
......
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