Changeset 1900 for XIOS/branchs/xios-2.5/src/node
- Timestamp:
- 06/12/20 12:04:23 (4 years ago)
- Location:
- XIOS/branchs/xios-2.5/src/node
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/branchs/xios-2.5/src/node/axis.cpp
r1850 r1900 623 623 624 624 std::vector<int> serverZeroIndex; 625 serverZeroIndex = serverDescription.computeServerGlobalIndexInRange(std::make_pair <size_t,size_t>(indexBegin, indexEnd), 0);625 serverZeroIndex = serverDescription.computeServerGlobalIndexInRange(std::make_pair(indexBegin, indexEnd), 0); 626 626 627 627 std::list<int> serverZeroIndexLeader; -
XIOS/branchs/xios-2.5/src/node/context.cpp
r1867 r1900 23 23 namespace xios { 24 24 25 shared_ptr<CContextGroup> CContext::root;25 boost::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= shared_ptr<CContextGroup>(new CContextGroup(xml::CXMLNode::GetRootName()));68 if (root.get()==NULL) root=boost::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)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked478 MPI_Comm_free(&(*it)); 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)) */; // WARNING remove freeing communicator !! --> deadlock raised, to be checked520 MPI_Comm_free(&(*it)); 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)) */ ; // WARNING remove freeing communicator !! --> deadlock raised, to be checked534 MPI_Comm_free(&(*it)); 535 535 comms.clear(); 536 536 } -
XIOS/branchs/xios-2.5/src/node/context.hpp
r1378 r1900 241 241 242 242 // Context root 243 static shared_ptr<CContextGroup> root;243 static boost::shared_ptr<CContextGroup> root; 244 244 245 245 // Determine context on client or not -
XIOS/branchs/xios-2.5/src/node/domain.cpp
r1855 r1900 1834 1834 CServerDistributionDescription serverDescription(nGlobDomain, nbServer); 1835 1835 std::vector<int> serverZeroIndex; 1836 if (isUnstructed_) serverZeroIndex = serverDescription.computeServerGlobalIndexInRange(std::make_pair <size_t,size_t>(indexBegin, indexEnd), 0);1837 else serverZeroIndex = serverDescription.computeServerGlobalIndexInRange(std::make_pair <size_t,size_t>(indexBegin, indexEnd), 1);1836 if (isUnstructed_) serverZeroIndex = serverDescription.computeServerGlobalIndexInRange(std::make_pair(indexBegin, indexEnd), 0); 1837 else serverZeroIndex = serverDescription.computeServerGlobalIndexInRange(std::make_pair(indexBegin, indexEnd), 1); 1838 1838 1839 1839 std::list<int> serverZeroIndexLeader; -
XIOS/branchs/xios-2.5/src/node/file.cpp
r1516 r1900 545 545 if (isOpen) data_out->closeFile(); 546 546 547 data_out = shared_ptr<CDataOutput>(new CNc4DataOutput(this, oss.str(), append, useClassicFormat, useCFConvention,547 data_out = boost::shared_ptr<CDataOutput>(new CNc4DataOutput(this, oss.str(), append, useClassicFormat, useCFConvention, 548 548 fileComm, multifile, isCollective, time_counter_name)); 549 549 isOpen = true; … … 669 669 bool ugridConvention = !convention.isEmpty() ? (convention == convention_attr::UGRID) : false; 670 670 if (time_counter_name.isEmpty()) 671 data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), readComm, multifile, isCollective, readMetaDataPar, ugridConvention));671 data_in = boost::shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), readComm, multifile, isCollective, readMetaDataPar, ugridConvention)); 672 672 else 673 data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), readComm, multifile, isCollective, readMetaDataPar, ugridConvention, time_counter_name));673 data_in = boost::shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), readComm, multifile, isCollective, readMetaDataPar, ugridConvention, time_counter_name)); 674 674 isOpen = true; 675 675 }
Note: See TracChangeset
for help on using the changeset viewer.