mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 04:48:23 +01:00
fix(dht): pass communicator to DHT_create
This commit is contained in:
parent
680069b8ac
commit
751faeabc8
@ -73,7 +73,8 @@ DHT_Wrapper::DHT_Wrapper(MPI_Comm dht_comm, std::uint64_t dht_size,
|
|||||||
.key_size = static_cast<int>(key_size),
|
.key_size = static_cast<int>(key_size),
|
||||||
.data_size = static_cast<int>(data_size),
|
.data_size = static_cast<int>(data_size),
|
||||||
.bucket_count = static_cast<unsigned int>(buckets_per_process),
|
.bucket_count = static_cast<unsigned int>(buckets_per_process),
|
||||||
.hash_func = &poet::md5_sum};
|
.hash_func = &poet::md5_sum,
|
||||||
|
.comm = dht_comm};
|
||||||
dht_object = DHT_create(&dht_init);
|
dht_object = DHT_create(&dht_init);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user