Skip to content

Commit

Permalink
Adding support for ADIOS builds with BLOSC
Browse files Browse the repository at this point in the history
Adding support for ADIOS builds that include support for BLOSC
(lossless compression) in FindPIO cmake module
  • Loading branch information
jayeshkrishna committed Nov 11, 2024
1 parent d9691e6 commit 9331f79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/cmake/modules/FindPIO.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ endif()
# we can assume that an MPI case with ADIOS2_ROOT set is probably
# using adios.
if (NOT MPILIB STREQUAL "mpi-serial" AND DEFINED ENV{ADIOS2_ROOT})
if(DEFINED ENV{BLOSC2_ROOT})
set(ENV{Blosc2_DIR} "$ENV{BLOSC2_ROOT}")
endif()
find_package(MPI REQUIRED COMPONENTS C)
find_package(ADIOS2 REQUIRED COMPONENTS C)
list(APPEND PIOLIBS adios2::adios2)
Expand Down

0 comments on commit 9331f79

Please sign in to comment.