Changeset 2274 for XIOS/dev/dev_ym/XIOS_COUPLING/src/client.cpp
- Timestamp:
- 12/09/21 12:28:20 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/client.cpp
r2266 r2274 17 17 #include <cstdio> 18 18 #include "workflow_graph.hpp" 19 #include "release_static_allocation.hpp" 19 20 20 21 namespace xios … … 422 423 423 424 getPoolRessource()->createService(contextComm, id, 0, CServicesManager::CLIENT, 1) ; 424 getPoolRessource()->createService(contextComm, CXios::defaultServerId, 0, CServicesManager::IO_SERVER, 1) ;425 getPoolRessource()->createService(contextComm, id+"_"+CXios::defaultServerId, 0, CServicesManager::IO_SERVER, 1) ; 425 426 426 427 if (commRank==0) while (!CXios::getServicesManager()->hasService(getPoolRessource()->getId(), id, 0)) { CXios::getDaemonsManager()->eventLoop();} … … 488 489 CTimer::get("XIOS").suspend() ; 489 490 CXios::finalizeDaemonsManager() ; 491 finalizePoolRessource() ; 490 492 CContext::removeAllContexts() ; // free memory for related context 491 493 492 494 493 495 if (!is_MPI_Initialized) … … 507 509 report(0)<< " Memory report : increasing it by a factor will increase performance, depending of the volume of data wrote in file at each time step of the file"<<endl ; 508 510 report(100)<<CTimer::getAllCumulatedTime()<<endl ; 511 CWorkflowGraph::drawWorkFlowGraph_client(); 512 513 xios::releaseStaticAllocation() ; 514 515 } 509 516 510 CWorkflowGraph::drawWorkFlowGraph_client(); 511 } 512 517 void CClient::finalizePoolRessource() 518 { 519 delete poolRessource_ ; poolRessource_=nullptr ; 520 } 513 521 514 522 /*!
Note: See TracChangeset
for help on using the changeset viewer.