Skip to content
Snippets Groups Projects
Commit 415b603e authored by William F Godoy's avatar William F Godoy
Browse files

Changing adios1 dependency on heatTransfer adios2 writer and reader

parent fd2926f7
No related branches found
No related tags found
1 merge request!157Adios2ht
......@@ -3,10 +3,5 @@
# accompanying file Copyright.txt for details.
#------------------------------------------------------------------------------#
if(ADIOS2_HAVE_ADIOS1)
add_subdirectory(write)
add_subdirectory(read)
endif()
add_subdirectory(write)
add_subdirectory(read)
\ No newline at end of file
......@@ -5,7 +5,11 @@
if(ADIOS2_HAVE_MPI)
if(ADIOS2_HAVE_ADIOS1)
find_package(MPI COMPONENTS C REQUIRED)
find_package(ADIOS1 REQUIRED)
add_executable(heatTransfer_read_adios2 heatRead_adios2.cpp PrintData.cpp)
target_include_directories(heatTransfer_read_adios2
PRIVATE ${MPI_C_INCLUDE_PATH}
......@@ -13,9 +17,6 @@ if(ADIOS2_HAVE_MPI)
target_link_libraries(heatTransfer_read_adios2
adios2 ${MPI_C_LIBRARIES}
)
if(ADIOS2_HAVE_ADIOS1)
find_package(ADIOS1 REQUIRED)
add_executable(heatTransfer_read_adios1 heatRead_adios1.cpp PrintData.cpp)
target_include_directories(heatTransfer_read_adios1
......@@ -26,5 +27,4 @@ if(ADIOS2_HAVE_MPI)
)
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