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