Ignore:
Timestamp:
10/15/18 16:42:33 (6 years ago)
Author:
ymipsl
Message:

XIOS - OASIS interaction : due to many problem occurring in the oasis/XIOS initialization phase due to a bad order of intialization call from both, you have now the possibily to explicitly inform xios that the servers must call oasis_enddef().
New rules : On model side, before calling oasis_enddef, you must add a call to "xios_oasis_enddef()"
Old rules : oasis_enddef must be call before any call to "xios_context_initialize" otherwise it may lead to a deadlock.
You can use the old rules if the variable <call_oasis_enddef> is set to false (default value is true), and by this way no need to modify the source code of the models

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/server.hpp

    r1378 r1587  
    2222        static void listenRootContext(void); 
    2323        static void listenRootFinalize(void); 
     24        static void listenRootOasisEnddef(void); 
     25        static void listenOasisEnddef(void); 
    2426        static void registerContext(void* buff,int count, int leaderRank=0); 
    2527 
     
    7274        static StdOFStream m_infoStream; 
    7375        static StdOFStream m_errorStream; 
    74  
    7576        static void openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb); 
    7677    }; 
Note: See TracChangeset for help on using the changeset viewer.