Changeset 1902 for XIOS/branchs/xios-2.5/src/node/context.cpp
- Timestamp:
- 06/16/20 19:12:05 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-2.5/src/node/context.cpp
r1900 r1902 23 23 namespace xios { 24 24 25 boost::shared_ptr<CContextGroup> CContext::root;25 shared_ptr<CContextGroup> CContext::root; 26 26 27 27 /// ////////////////////// Définitions ////////////////////// /// … … 66 66 CContextGroup* CContext::getRoot(void) 67 67 { 68 if (root.get()==NULL) root= boost::shared_ptr<CContextGroup>(new CContextGroup(xml::CXMLNode::GetRootName()));68 if (root.get()==NULL) root=shared_ptr<CContextGroup>(new CContextGroup(xml::CXMLNode::GetRootName())); 69 69 return root.get(); 70 70 } … … 476 476 //! Free internally allocated communicators 477 477 for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 478 MPI_Comm_free(&(*it));478 /* MPI_Comm_free(&(*it)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 479 479 comms.clear(); 480 480 … … 518 518 //! Free internally allocated communicators 519 519 for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 520 MPI_Comm_free(&(*it));520 /* MPI_Comm_free(&(*it)) */; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 521 521 comms.clear(); 522 522 … … 532 532 { 533 533 for (std::list<MPI_Comm>::iterator it = comms.begin(); it != comms.end(); ++it) 534 MPI_Comm_free(&(*it));534 /* MPI_Comm_free(&(*it)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked 535 535 comms.clear(); 536 536 }
Note: See TracChangeset
for help on using the changeset viewer.