message: Add a few MPI jobs for CI
diff: @@ -30,6 +30,7 @@ include:
  BUILD_CUDA: "OFF"
  BUILD_HIP: "OFF"
  BUILD_HWLOC: "ON"
  + BUILD_MPI: "OFF"
  FAST_TESTS: "OFF"
  DPCPP_SINGLE_MODE: "OFF"
  MIXED_PRECISION: "ON"
  @@ -74,6 +75,8 @@ include:
  -DGINKGO_DEVEL_TOOLS=OFF -DGINKGO_BUILD_REFERENCE=${BUILD_REFERENCE}
  -DGINKGO_BUILD_OMP=${BUILD_OMP} -DGINKGO_BUILD_CUDA=${BUILD_CUDA}
  -DGINKGO_BUILD_HIP=${BUILD_HIP}
  + -DGINKGO_BUILD_MPI=${BUILD_MPI} -DGINKGO_MPI_EXEC_SUFFIX=${MPI_SUFFIX}
  + -DMPI_RUN_AS_ROOT=${MPI_RUN_AS_ROOT}
  -DGINKGO_BUILD_HWLOC=${BUILD_HWLOC}
  -DGINKGO_BUILD_TESTS=ON -DGINKGO_BUILD_EXAMPLES=ON
  -DGINKGO_FAST_TESTS=${FAST_TESTS}
  @@ -109,6 +112,8 @@ include:
  -DGINKGO_DEVEL_TOOLS=OFF -DGINKGO_BUILD_REFERENCE=${BUILD_REFERENCE}
  -DGINKGO_BUILD_OMP=${BUILD_OMP} -DGINKGO_BUILD_CUDA=${BUILD_CUDA}
  -DGINKGO_BUILD_HIP=${BUILD_HIP}
  + -DGINKGO_BUILD_MPI=${BUILD_MPI} -DGINKGO_MPI_EXEC_SUFFIX=${MPI_SUFFIX}
  + -DMPI_RUN_AS_ROOT=${MPI_RUN_AS_ROOT}
  -DGINKGO_BUILD_HWLOC=${BUILD_HWLOC}
  -DGINKGO_BUILD_TESTS=ON -DGINKGO_BUILD_EXAMPLES=ON
  -DGINKGO_FAST_TESTS=${FAST_TESTS}
  @@ -553,6 +558,46 @@ build/amd/clang/hip_wo_omp/release/shared:
  BUILD_HIP: "ON"
  BUILD_TYPE: "Release"
  +# mpi job test debug shared
  +build/nocuda/gcc/mpi/debug/shared:
  + <<: *default_build_with_test
  + extends:
  + - .quick_test_condition
  + - .use_gko-nocuda-gnu9-llvm8-intel
  + variables:
  + <<: *default_variables
  + BUILD_MPI: "ON"
  + BUILD_TYPE: "Debug"
  + BUILD_SHARED_LIBS: "ON"
  +
  +# mpi job test release static
  +build/nocuda/gcc/mpi/release/static:
  + <<: *default_build_with_test
  + extends:
  + - .full_test_condition
  + - .use_gko-nocuda-gnu9-llvm8-intel
  + variables:
  + <<: *default_variables
  + BUILD_MPI: "ON"
  + BUILD_TYPE: "Release"
  + BUILD_SHARED_LIBS: "OFF"
  +
  +# mpi job with cuda 10.0
  +build/cuda100/mpi/gcc/all/debug/shared:
  + <<: *default_build
  + extends:
  + - .quick_test_condition
  + - .use_gko-cuda100-gnu7-llvm60-intel2018
  + variables:
  + <<: *default_variables
  + BUILD_OMP: "ON"
  + BUILD_CUDA: "ON"
  + BUILD_MPI: "ON"
  + BUILD_HIP: "ON"
  + BUILD_TYPE: "Debug"
  + FAST_TESTS: "ON"
  + CUDA_ARCH: 61
  +
  # no cuda but latest gcc and clang
  build/nocuda/gcc/core/debug/static:
  <<: *default_build_with_test
  