From 41b1588a470d31048d2185f6a04d845aac78b7e3 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 26 Aug 2020 06:43:21 -0600 Subject: [PATCH] trying to deal with MPIEXEC in CMake --- .github/workflows/a3.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/a3.yml b/.github/workflows/a3.yml index ed4bfbc51a4..315433269f4 100644 --- a/.github/workflows/a3.yml +++ b/.github/workflows/a3.yml @@ -125,6 +125,7 @@ jobs: export CC=mpicc mkdir build cd build + export LD_LIBRARY_PATH="/home/runner/netcdf-c/lib:$LD_LIBRARY_PATH" cmake -Wno-dev -DWITH_MPIEXEC='/home/runner/openmpi/bin/mpiexec;--oversubscribe' -DNetCDF_C_LIBRARY=/home/runner/netcdf-c/lib/libnetcdf.so -DNetCDF_C_INCLUDE_DIR=/home/runner/netcdf-c/include -DPnetCDF_PATH='/home/runner/pnetcdf' -DPIO_ENABLE_FORTRAN=Off -DPIO_HDF5_LOGGING=On -DPIO_USE_MALLOC=On -DPIO_ENABLE_LOGGING=On -DPIO_ENABLE_TIMING=Off .. || (cat CMakeFiles/CMakeOutput.log && cat CMakeFiles/CMakeError.log) make VERBOSE=1 make tests VERBOSE=1