Enabled MPI compilation test in bitbucket-pipelines.yml.

This commit is contained in:
jpekkila
2020-01-24 05:12:27 +00:00
parent ba899211ff
commit 2f7e4bf3a2

View File

@@ -20,10 +20,10 @@ pipelines:
script: # Modify the commands below to build your repository.
- mkdir -p build && cd build
- apt-get update
- apt-get install -y cmake flex bison
- apt-get install -y cmake flex bison openmpi-bin libopenmpi-dev
- cmake -DDSL_MODULE_DIR="acc/mhd_solver" -DBUILD_STANDALONE=ON -DBUILD_UTILS=ON -DBUILD_RT_VISUALIZATION=OFF -DBUILD_SAMPLES=ON -DDOUBLE_PRECISION=OFF -DMULTIGPU_ENABLED=ON -DMPI_ENABLED=OFF .. # Single precision
- make -j
- rm -rf *
- cmake -DDSL_MODULE_DIR="acc/mhd_solver" -DBUILD_STANDALONE=ON -DBUILD_UTILS=ON -DBUILD_RT_VISUALIZATION=OFF -DBUILD_SAMPLES=ON -DDOUBLE_PRECISION=ON -DMULTIGPU_ENABLED=ON -DMPI_ENABLED=OFF .. # Double precision
- cmake -DCMAKE_CXX_COMPILER=$(which mpicxx) -DDSL_MODULE_DIR="acc/mhd_solver" -DBUILD_STANDALONE=ON -DBUILD_UTILS=ON -DBUILD_RT_VISUALIZATION=OFF -DBUILD_SAMPLES=ON -DDOUBLE_PRECISION=ON -DMULTIGPU_ENABLED=ON -DMPI_ENABLED=ON .. # Double precision
- make -j
# - ./ac_run -t