Ignore:
Timestamp:
06/06/17 15:12:34 (7 years ago)
Author:
yushan
Message:

test_remap OK with openmp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan_merged/src/node/field.cpp

    r1153 r1155  
    292292    while (currentDate >= lastDataRequestedFromServer) 
    293293    { 
    294       info(20) << "currentDate : " << currentDate << endl ; 
    295       info(20) << "lastDataRequestedFromServer : " << lastDataRequestedFromServer << endl ; 
    296       info(20) << "file->output_freq.getValue() : " << file->output_freq.getValue() << endl ; 
    297       info(20) << "lastDataRequestedFromServer + file->output_freq.getValue() : " << lastDataRequestedFromServer + file->output_freq << endl ; 
    298  
     294      #pragma omp critical (_output) 
     295      { 
     296        info(20) << "currentDate : " << currentDate << endl ; 
     297        info(20) << "lastDataRequestedFromServer : " << lastDataRequestedFromServer << endl ; 
     298        info(20) << "file->output_freq.getValue() : " << file->output_freq.getValue() << endl ; 
     299        info(20) << "lastDataRequestedFromServer + file->output_freq.getValue() : " << lastDataRequestedFromServer + file->output_freq << endl ; 
     300      } 
    299301      dataRequested |= sendReadDataRequest(lastDataRequestedFromServer + file->output_freq); 
    300302    } 
Note: See TracChangeset for help on using the changeset viewer.