Skip to content
Snippets Groups Projects
Commit 43563dd0 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon Committed by GitHub
Browse files

Merge pull request #157 from williamfgc/adios2ht

Adios2ht
parents fd2926f7 415b603e
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,5 @@ ...@@ -3,10 +3,5 @@
# accompanying file Copyright.txt for details. # accompanying file Copyright.txt for details.
#------------------------------------------------------------------------------# #------------------------------------------------------------------------------#
add_subdirectory(write)
if(ADIOS2_HAVE_ADIOS1) add_subdirectory(read)
add_subdirectory(write) \ No newline at end of file
add_subdirectory(read)
endif()
...@@ -5,7 +5,11 @@ ...@@ -5,7 +5,11 @@
if(ADIOS2_HAVE_MPI) if(ADIOS2_HAVE_MPI)
if(ADIOS2_HAVE_ADIOS1)
find_package(MPI COMPONENTS C REQUIRED) find_package(MPI COMPONENTS C REQUIRED)
find_package(ADIOS1 REQUIRED)
add_executable(heatTransfer_read_adios2 heatRead_adios2.cpp PrintData.cpp) add_executable(heatTransfer_read_adios2 heatRead_adios2.cpp PrintData.cpp)
target_include_directories(heatTransfer_read_adios2 target_include_directories(heatTransfer_read_adios2
PRIVATE ${MPI_C_INCLUDE_PATH} PRIVATE ${MPI_C_INCLUDE_PATH}
...@@ -13,9 +17,6 @@ if(ADIOS2_HAVE_MPI) ...@@ -13,9 +17,6 @@ if(ADIOS2_HAVE_MPI)
target_link_libraries(heatTransfer_read_adios2 target_link_libraries(heatTransfer_read_adios2
adios2 ${MPI_C_LIBRARIES} adios2 ${MPI_C_LIBRARIES}
) )
if(ADIOS2_HAVE_ADIOS1)
find_package(ADIOS1 REQUIRED)
add_executable(heatTransfer_read_adios1 heatRead_adios1.cpp PrintData.cpp) add_executable(heatTransfer_read_adios1 heatRead_adios1.cpp PrintData.cpp)
target_include_directories(heatTransfer_read_adios1 target_include_directories(heatTransfer_read_adios1
...@@ -26,5 +27,4 @@ if(ADIOS2_HAVE_MPI) ...@@ -26,5 +27,4 @@ if(ADIOS2_HAVE_MPI)
) )
endif() endif()
endif() endif()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment