mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
Substitute worker.c with ChemWorker.cpp
This commit is contained in:
parent
0ed1ea9fd8
commit
6905154f5e
@ -179,7 +179,7 @@ int main(int argc, char *argv[]) {
|
||||
// cout << "CPP: DHT significant digits = " << dht_significant_digits <<
|
||||
// endl;
|
||||
|
||||
params.dht_log = cmdl["dht-log"];
|
||||
params.dht_log = !(cmdl["dht-nolog"]);
|
||||
// cout << "CPP: DHT logarithm before rounding: " << ( dht_logarithm ? "ON"
|
||||
// : "OFF" ) << endl;
|
||||
|
||||
|
||||
@ -25,7 +25,8 @@ void ChemWorker::prepareSimulation(MPI_Comm dht_comm) {
|
||||
(double *)calloc(wp_size * (grid.getCols()), sizeof(double));
|
||||
|
||||
if (world_rank == 1)
|
||||
cout << "Worker: DHT usage is " << (dht_enabled ? "ON" : "OFF") << endl;
|
||||
cout << "CPP: Worker: DHT usage is " << (dht_enabled ? "ON" : "OFF")
|
||||
<< endl;
|
||||
|
||||
if (dht_enabled) {
|
||||
int data_size = grid.getCols() * sizeof(double);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user