Ignore:
Timestamp:
01/31/19 12:12:52 (5 years ago)
Author:
yushan
Message:

branch merged with trunk @1645. arch file (ep&mpi) added for ADA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/context_server.cpp

    r1601 r1646  
    1818#include <boost/functional/hash.hpp> 
    1919 
     20#ifdef _usingEP 
    2021using namespace ep_lib; 
     22#endif 
    2123 
    2224namespace xios 
     
    265267      finished=true; 
    266268      #pragma omp critical (_output) 
    267       info(20)<<" CContextServer: Receive context <"<<context->getId()<<"> finalize."<<endl; 
     269      { 
     270        info(20)<<" CContextServer: Receive context <"<<context->getId()<<"> finalize."<<endl; 
     271      } 
    268272      context->finalize(); 
    269273      std::map<int, StdSize>::const_iterator itbMap = mapBufferSize_.begin(), 
     
    273277        rank = itMap->first; 
    274278        #pragma omp critical (_output) 
    275         report(10)<< " Memory report : Context <"<<ctxId<<"> : server side : memory used for buffer of each connection to client" << endl 
     279        { 
     280          report(10)<< " Memory report : Context <"<<ctxId<<"> : server side : memory used for buffer of each connection to client" << endl 
    276281            << "  +) With client of rank " << rank << " : " << itMap->second << " bytes " << endl; 
     282        } 
    277283        totalBuf += itMap->second; 
    278284      } 
    279285      #pragma omp critical (_output) 
    280       report(0)<< " Memory report : Context <"<<ctxId<<"> : server side : total memory used for buffer "<<totalBuf<<" bytes"<<endl; 
     286      { 
     287        report(0)<< " Memory report : Context <"<<ctxId<<"> : server side : total memory used for buffer "<<totalBuf<<" bytes"<<endl; 
     288      } 
    281289    } 
    282290    else if (event.classId==CContext::GetType()) CContext::dispatchEvent(event); 
Note: See TracChangeset for help on using the changeset viewer.