Ignore:
Timestamp:
06/13/22 17:04:55 (2 years ago)
Author:
jderouillat
Message:

Reintroduced oasis_enddef management on the server side (communications are operated on MPI_COMM_WORLD in Oasis). XIOS clients require to initilialize Oasis by themselves first, and then to specify their local_comm to xios_initialize. Coupled components must be specified through clients_code_id in iodef.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/manager/daemons_manager.cpp

    r2277 r2333  
    4141    CXios::getServicesManager()->eventLoop() ; 
    4242    CXios::getContextsManager()->eventLoop() ; 
    43     if (isServer_) return CServer::getServersRessource()->eventLoop(false) ; 
     43    if (isServer_) { 
     44        if (CServer::isRoot) { 
     45            CServer::listenOasisEnddef() ; 
     46            CServer::listenRootOasisEnddef() ; 
     47        } 
     48        else { 
     49            CServer::listenRootOasisEnddef() ; 
     50        } 
     51        return CServer::getServersRessource()->eventLoop(false) ; 
     52    } 
    4453    else  return CXios::getPoolRessource()->eventLoop(false) ; 
    4554  } 
Note: See TracChangeset for help on using the changeset viewer.