Skip to content

Commit

Permalink
ADIOS: add workaround for SST without BP5 failure
Browse files Browse the repository at this point in the history
see ADIOS2 bug #3148
ornladios/ADIOS2#3148
  • Loading branch information
rhaas80 committed Jul 12, 2022
1 parent 98b41a8 commit 63527f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 63527f8

Please sign in to comment.