diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 532da23f1..a14f6eef9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -607,6 +607,28 @@ stages: ./conduit_example displayName: 'Test vs Install (using-with-make)' + - script: | + ################################ + # using with cmake mpi example + ############################### + pwd + ls -l + # find spack installed cmake + export ROOT_DIR=`pwd` + export CMAKE_BIN_DIR=`ls -d ${ROOT_DIR}/uberenv_libs/spack/opt/spack/*/*/cmake*/bin` + export PATH=${CMAKE_BIN_DIR}:$PATH + echo $PATH + which cmake + cd install/examples/conduit/using-with-cmake-mpi + rm -rf _test_build + mkdir _test_build + cd _test_build + cmake ../ + make VERBOSE=1 + mpiexec -n 1 ./conduit_mpi_example + displayName: 'Test vs Install (using-with-cmake-mpi)' + condition: eq(variables['ENABLE_MPI'], 'ON') + - script: | ################################ # cpp fort and py example