mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
fixed wrong datatype in finishWork()
This commit is contained in:
parent
59e99b3d0a
commit
183c4cc5f7
@ -317,11 +317,12 @@ void ChemWorker::finishWork() {
|
||||
|
||||
if (dht_enabled) {
|
||||
// dht_perf
|
||||
double dht_perf[3];
|
||||
int dht_perf[3];
|
||||
dht_perf[0] = dht->getHits();
|
||||
dht_perf[1] = dht->getMisses();
|
||||
cout << "Worker " << world_rank << " had " << dht_perf[1] << " misses" << endl;
|
||||
dht_perf[2] = dht->getEvictions();
|
||||
MPI_Send(dht_perf, 3, MPI_UNSIGNED_LONG_LONG, 0, TAG_DHT_PERF,
|
||||
MPI_Send(dht_perf, 3, MPI_INT, 0, TAG_DHT_PERF,
|
||||
MPI_COMM_WORLD);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user