Changeset 2329
- Timestamp:
- 05/13/22 10:39:51 (2 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/cxios.cpp
r2310 r2329 51 51 double CXios::recvFieldTimeout = 300.0; 52 52 bool CXios::checkEventSync=false ; 53 bool CXios::checkSumRecv=false ; 54 bool CXios::checkSumSend=false ; 53 55 54 56 CDaemonsManager* CXios::daemonsManager_=nullptr ; … … 109 111 110 112 checkEventSync = getin<bool>("check_event_sync", checkEventSync); 113 114 checkSumSend = getin<bool>("checksum_send_fields", false); 115 checkSumRecv = getin<bool>("checksum_recv_fields", false); 111 116 112 117 globalComm=MPI_COMM_WORLD ; -
XIOS/dev/dev_ym/XIOS_COUPLING/src/cxios.hpp
r2310 r2329 64 64 static double recvFieldTimeout; //!< Time to wait for data before issuing an error when receiving a field 65 65 static bool checkEventSync; //!< For debuuging, check if event are coherent and synchrone on client side 66 66 67 static bool checkSumSend; //!< For debugging, compute a checksum of fields sent by the model to the XIOS client (very expensive !) 68 static bool checkSumRecv; //!< For debugging, compute a checksum of fields received by the model through the XIOS client 69 67 70 static const string defaultPoolId ; 68 71 static const string defaultServerId ; -
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/field_impl.hpp
r2318 r2329 21 21 if (check_if_active.isEmpty() || (!check_if_active.isEmpty() && (!check_if_active) || isActive(true))) 22 22 { 23 if ( info.getLevel()>100)23 if ( CXios::checkSumSend ) 24 24 { 25 25 const double* array = _data.dataFirst(); … … 44 44 { 45 45 CDataPacket::StatusCode status = clientToModelStoreFilter_->getData(CContext::getCurrent()->getCalendar()->getCurrentDate(), _data); 46 if ( info.getLevel()>100)46 if ( CXios::checkSumRecv ) 47 47 { 48 48 const double* array = _data.dataFirst();
Note: See TracChangeset
for help on using the changeset viewer.