refactor: Migrate DHT implementation to LUCX

This commit is contained in:
Max Lübke 2025-03-03 10:11:42 +01:00
parent 8d02293cf5
commit 6c226834db
4 changed files with 9 additions and 5 deletions

@ -1 +1 @@
Subproject commit 77de9eeba2b349ce88dd8bf258853f9b545c3d45
Subproject commit a22a6b2eee7c34441d6810d47ac2d9b25ce183e5

View File

@ -53,7 +53,7 @@ target_link_libraries(poet_coarse PRIVATE
PhreeqcRM
tug
OpenSSL::Crypto
LMPI_DHT_OLD
MPIDHT::coarse
)
target_include_directories(poet_coarse PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
install(TARGETS poet_coarse DESTINATION bin)
@ -66,7 +66,7 @@ target_link_libraries(poet_fine PRIVATE
PhreeqcRM
tug
OpenSSL::Crypto
LFINE_LOCK
MPIDHT::fine
)
target_include_directories(poet_fine PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
install(TARGETS poet_fine DESTINATION bin)
@ -79,7 +79,7 @@ target_link_libraries(poet_no PRIVATE
PhreeqcRM
tug
OpenSSL::Crypto
LMPI_DHT
MPIDHT::nolock
)
target_include_directories(poet_no PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
install(TARGETS poet_no DESTINATION bin)

View File

@ -107,7 +107,7 @@ DHT_Wrapper::DHT_Wrapper(MPI_Comm dht_comm, std::uint64_t dht_size,
DHT_Wrapper::~DHT_Wrapper() {
// free DHT
#ifdef POET_DHT_UCX
DHT_free(dht_object, NULL, NULL, NULL);
DHT_free(dht_object, NULL);
#else
DHT_free(dht_object, NULL);
#endif

View File

@ -41,6 +41,10 @@
#include <LUCX/DHT.h>
#ifdef POET_DHT_UCX
#include <LUCX/Bootstrap.h>
#endif
#include <mpi.h>
namespace poet {