From 63527f8086a2548c8f62d6a95b665b681c0fac68 Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Mon, 11 Jul 2022 14:38:28 -0500 Subject: [PATCH] ADIOS: add workaround for SST without BP5 failure see ADIOS2 bug #3148 https://github.com/ornladios/ADIOS2/issues/3148 --- src/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/build.sh b/src/build.sh index 8af4328..811350b 100755 --- a/src/build.sh +++ b/src/build.sh @@ -80,6 +80,10 @@ else ADIOS_HDF5_OPTS="-DADIOS2_USE_HDF5=OFF" fi +# workaround for https://github.com/ornladios/ADIOS2/issues/3148 +# "Static build, BP5 on SST off fails" +ADIOS_USE_BP5="${ADIOS_ENABLE_SST}" + # TODO: merge with option list options # if [ -n "${HAVE_CAPABILITY_CUDA}" ]; then # ADIOS_USE_CUDA=ON @@ -89,7 +93,7 @@ fi mkdir build cd build -${CMAKE_DIR:+${CMAKE_DIR}/bin/}cmake -DADIOS2_USE_MPI=${ADIOS2_USE_MPI} ${ADIOS_HDF5_OPTS} -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF -DADIOS2_BUILD_EXAMPLES=OFF -DADIOS2_USE_Fortran=${ADIOS_ENABLE_FORTRAN} -DADIOS2_USE_Python=OFF -DADIOS2_USE_ZeroMQ=OFF -DADIOS2_USE_PNG=OFF -DADIOS2_USE_BZip2=OFF -DADIOS2_USE_SST=${ADIOS_ENABLE_SST} -DADIOS2_USE_CUDA=${ADIOS_ENABLE_CUDA} -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=${ADIOS_BUILD_TYPE} .. +${CMAKE_DIR:+${CMAKE_DIR}/bin/}cmake -DADIOS2_USE_MPI=${ADIOS2_USE_MPI} ${ADIOS_HDF5_OPTS} -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF -DADIOS2_BUILD_EXAMPLES=OFF -DADIOS2_USE_Fortran=${ADIOS_ENABLE_FORTRAN} -DADIOS2_USE_Python=OFF -DADIOS2_USE_ZeroMQ=OFF -DADIOS2_USE_PNG=OFF -DADIOS2_USE_BZip2=OFF -DADIOS2_USE_SST=${ADIOS_ENABLE_SST} -DADIOS2_USE_BP5=${ADIOS_USE_BP5} -DADIOS2_USE_CUDA=${ADIOS_ENABLE_CUDA} -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=${ADIOS_BUILD_TYPE} .. echo "ADIOS: Building..." ${MAKE}