Changeset 2330
- Timestamp:
- 05/13/22 10:51:23 (2 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/cxios.cpp
r1704 r2330 43 43 double CXios::recvFieldTimeout = 300.0; 44 44 bool CXios::checkEventSync=false ; 45 bool CXios::checkSumRecv=false ; 46 bool CXios::checkSumSend=false ; 45 47 46 48 //! Parse configuration file and create some objects from it … … 93 95 checkEventSync = getin<bool>("check_event_sync", checkEventSync); 94 96 97 checkSumSend = getin<bool>("checksum_send_fields", false); 98 checkSumRecv = getin<bool>("checksum_recv_fields", false); 99 95 100 globalComm=MPI_COMM_WORLD ; 96 101 } -
XIOS/trunk/src/cxios.hpp
r1639 r2330 57 57 static bool checkEventSync; //!< For debuuging, check if event are coherent and synchrone on client side 58 58 59 static bool checkSumSend; //!< For debugging, compute a checksum of fields sent by the model to the XIOS client (very expensive !) 60 static bool checkSumRecv; //!< For debugging, compute a checksum of fields received by the model through the XIOS client 61 59 62 public: 60 63 //! Setting xios to use server mode -
XIOS/trunk/src/node/field_impl.hpp
r2319 r2330 23 23 if (check_if_active.isEmpty() || (!check_if_active.isEmpty() && (!check_if_active) || isActive(true))) 24 24 { 25 if ( info.getLevel()>100)25 if ( CXios::checkSumSend ) 26 26 { 27 27 const double* array = _data.dataFirst(); … … 48 48 { 49 49 CDataPacket::StatusCode status = storeFilter->getData(CContext::getCurrent()->getCalendar()->getCurrentDate(), _data); 50 if ( info.getLevel()>100)50 if ( CXios::checkSumRecv ) 51 51 { 52 52 const double* array = _data.dataFirst();
Note: See TracChangeset
for help on using the changeset viewer.