Changeset 1029 for XIOS/trunk/src
- Timestamp:
- 01/13/17 11:44:00 (7 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/cxios.cpp
r956 r1029 30 30 bool CXios::isOptPerformance = true; 31 31 CRegistry* CXios::globalRegistry = 0; 32 double CXios::recvFieldTimeout = 10.0; 32 33 33 34 //! Parse configuration file and create some objects from it … … 63 64 bufferSizeFactor = getin<double>("buffer_size_factor", defaultBufferSizeFactor); 64 65 minBufferSize = getin<int>("min_buffer_size", 1024 * sizeof(double)); 66 recvFieldTimeout = getin<double>("recv_field_timeout", 10.0); 67 if (recvFieldTimeout < 0.0) 68 ERROR("CXios::parseXiosConfig()", "recv_field_timeout cannot be negative."); 65 69 66 70 globalComm=MPI_COMM_WORLD ; -
XIOS/trunk/src/cxios.hpp
r719 r1029 45 45 static bool isOptPerformance; //!< Check if buffer size is for performance (as large as possible) 46 46 static CRegistry* globalRegistry ; //!< global registry which is wrote by the root process of the servers 47 static double recvFieldTimeout; //!< Time to wait for data before issuing an error when receiving a field 47 48 48 49 public: -
XIOS/trunk/src/filter/store_filter.cpp
r1006 r1029 24 24 CTimer timer("CStoreFilter::getPacket"); 25 25 CConstDataPacketPtr packet; 26 const double timeout = 10 ; // 10 seconds timeout26 const double timeout = CXios::recvFieldTimeout; 27 27 28 28 do
Note: See TracChangeset
for help on using the changeset viewer.