Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the ADIOS_USE_{} variable names to use ADIOS2 #3807

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/ADIOSFunctions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function(GenerateADIOSHeaderConfig)
foreach(OPT IN LISTS ARGN)
string(TOUPPER ${OPT} OPT_UPPER)
string(APPEND ADIOS2_CONFIG_DEFINES "
/* CMake Option: ADIOS_USE_${OPT}=OFF */
/* CMake Option: ADIOS2_USE_${OPT}=OFF */
#cmakedefine ADIOS2_HAVE_${OPT_UPPER}
")
if(ADIOS2_HAVE_${OPT})
Expand Down
6 changes: 3 additions & 3 deletions cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ endif()

set(mpi_find_components C)

if(ADIOS_USE_Kokkos AND ADIOS_USE_CUDA)
message(FATAL_ERROR "ADIOS2_USE_Kokkos is incompatible with ADIOS_USE_CUDA")
if(ADIOS2_USE_Kokkos AND ADIOS2_USE_CUDA)
message(FATAL_ERROR "ADIOS2_USE_Kokkos is incompatible with ADIOS2_USE_CUDA")
endif()

# Kokkos
Expand Down Expand Up @@ -239,7 +239,7 @@ if(ADIOS2_USE_CUDA)
endif()
endif()

if(ADIOS_HAVE_Kokkos AND ADIOS_HAVE_CUDA)
if(ADIOS2_HAVE_Kokkos AND ADIOS2_HAVE_CUDA)
message(FATAL_ERROR "The Kokkos and CUDA backends cannot be active concurrently")
endif()

Expand Down
4 changes: 2 additions & 2 deletions examples/hello/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Provides tests and illustrates how to use very basic functionality in adios2
1. bpTimeWriter
* Write BP format files for two Variables (one is timestep) using time aggregation

1. datamanReader (to be deprecated, ADIOS_USE_DataMan=ON)
1. datamanReader (to be deprecated, ADIOS2_USE_DataMan=ON)
* Read real-time WAN streams using dataman

1. datamanWriter
* Write real-time WAN streams using dataman

1. hdf5Writer (-DADIOS_USE_HDF5=ON)
1. hdf5Writer (-DADIOS2_USE_HDF5=ON)
* Write HDF5 files using interoperability through the adios2 interface
Loading