Changeset 1601 for XIOS/dev/dev_trunk_omp/src/node/field.cpp
- Timestamp:
- 11/19/18 15:52:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/node/field.cpp
r1574 r1601 343 343 while (currentDate >= lastDataRequestedFromServer) 344 344 { 345 info(20) << "currentDate : " << currentDate << endl ; 346 info(20) << "lastDataRequestedFromServer : " << lastDataRequestedFromServer << endl ; 347 info(20) << "file->output_freq.getValue() : " << file->output_freq.getValue() << endl ; 348 info(20) << "lastDataRequestedFromServer + file->output_freq.getValue() : " << lastDataRequestedFromServer + file->output_freq << endl ; 345 #pragma omp critical (_output) 346 { 347 info(20) << "currentDate : " << currentDate << endl ; 348 info(20) << "lastDataRequestedFromServer : " << lastDataRequestedFromServer << endl ; 349 info(20) << "file->output_freq.getValue() : " << file->output_freq.getValue() << endl ; 350 info(20) << "lastDataRequestedFromServer + file->output_freq.getValue() : " << lastDataRequestedFromServer + file->output_freq << endl ; 351 } 349 352 350 353 dataRequested |= sendReadDataRequest(lastDataRequestedFromServer + file->output_freq); … … 502 505 if (!nstepMaxRead) 503 506 { 504 MPI_Allreduce( MPI_IN_PLACE, &nstepMax, 1, MPI_INT, MPI_MAX, context->server->intraComm);507 MPI_Allreduce(&nstepMax, &nstepMax, 1, MPI_INT, MPI_MAX, context->server->intraComm); 505 508 nstepMaxRead = true; 506 509 } … … 919 922 { 920 923 areAllReferenceSolved = true; 921 924 922 925 if (context->hasClient && !context->hasServer) 923 926 {
Note: See TracChangeset
for help on using the changeset viewer.