From 751faeabc8d81990c66f88054dcf2595e5b95591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20L=C3=BCbke?= Date: Wed, 26 Feb 2025 13:22:37 +0100 Subject: [PATCH] fix(dht): pass communicator to DHT_create --- src/Chemistry/SurrogateModels/DHT_Wrapper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Chemistry/SurrogateModels/DHT_Wrapper.cpp b/src/Chemistry/SurrogateModels/DHT_Wrapper.cpp index 23239f931..e62f74a6a 100644 --- a/src/Chemistry/SurrogateModels/DHT_Wrapper.cpp +++ b/src/Chemistry/SurrogateModels/DHT_Wrapper.cpp @@ -73,7 +73,8 @@ DHT_Wrapper::DHT_Wrapper(MPI_Comm dht_comm, std::uint64_t dht_size, .key_size = static_cast(key_size), .data_size = static_cast(data_size), .bucket_count = static_cast(buckets_per_process), - .hash_func = &poet::md5_sum}; + .hash_func = &poet::md5_sum, + .comm = dht_comm}; dht_object = DHT_create(&dht_init); #endif