Changeset 1234 for XIOS/dev/XIOS_DEV_CMIP6/src/node/file.cpp
- Timestamp:
- 08/03/17 15:16:56 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/node/file.cpp
r1232 r1234 17 17 #include "mpi.hpp" 18 18 #include "timer.hpp" 19 #include "server.hpp" 19 20 20 21 namespace xios { … … 302 303 // Done by classical server or secondary server 303 304 // This condition should be changed soon 304 if ( !CXios::usingServer2 || (CXios::usingServer2 && !context->hasClient))305 if (CServer::serverLevel == 0 || CServer::serverLevel == 2) 305 306 { 306 307 if (mode.isEmpty() || mode.getValue() == mode_attr::write) … … 326 327 // Done by classical server or secondary server 327 328 // TODO: This condition should be changed soon. It only works with maximum number of level as 2 328 if ( !CXios::usingServer2 || (CXios::usingServer2 && context->hasClient))329 if (CServer::serverLevel == 0 || CServer::serverLevel == 2) 329 330 { 330 331 if (!mode.isEmpty() && mode.getValue() == mode_attr::read)
Note: See TracChangeset
for help on using the changeset viewer.