mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Update contour_tree_distributed to work with the new diy API
This commit is contained in:
parent
70f4aae9de
commit
7c66b1dd62
@ -60,7 +60,7 @@ find_package(VTKm REQUIRED QUIET)
|
||||
####################################
|
||||
if (VTKm_ENABLE_MPI)
|
||||
add_executable(ContourTree_Distributed ContourTreeApp.cxx)
|
||||
target_link_libraries(ContourTree_Distributed vtkm_filter)
|
||||
target_link_libraries(ContourTree_Distributed vtkm_filter MPI::MPI_CXX)
|
||||
vtkm_add_target_information(ContourTree_Distributed
|
||||
MODIFY_CUDA_FLAGS
|
||||
DEVICE_SOURCES ContourTreeApp.cxx)
|
||||
|
@ -160,7 +160,7 @@ int main(int argc, char* argv[])
|
||||
auto comm = MPI_COMM_WORLD;
|
||||
|
||||
// Tell VTK-m which communicator it should use.
|
||||
vtkm::cont::EnvironmentTracker::SetCommunicator(vtkmdiy::mpi::communicator(comm));
|
||||
vtkm::cont::EnvironmentTracker::SetCommunicator(vtkmdiy::mpi::communicator());
|
||||
|
||||
// get the rank and size
|
||||
int rank, size;
|
||||
|
Loading…
Reference in New Issue
Block a user