Ignore:
Timestamp:
06/12/20 12:04:23 (4 years ago)
Author:
yushan
Message:

xios-2.5 : minormodif for Jean-Zay after system maintenance to RH8 and complr update frr om 8 à to 8.3.1. To be checked

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  
    623623       
    624624        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);       
    626626 
    627627        std::list<int> serverZeroIndexLeader; 
  • XIOS/branchs/xios-2.5/src/node/context.cpp

    r1867 r1900  
    2323namespace xios { 
    2424 
    25   shared_ptr<CContextGroup> CContext::root; 
     25  boost::shared_ptr<CContextGroup> CContext::root; 
    2626 
    2727   /// ////////////////////// Définitions ////////////////////// /// 
     
    6666   CContextGroup* CContext::getRoot(void) 
    6767   { 
    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())); 
    6969      return root.get(); 
    7070   } 
     
    476476         //! Free internally allocated communicators 
    477477         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 checked 
     478           MPI_Comm_free(&(*it)); 
    479479         comms.clear(); 
    480480 
     
    518518         //! Free internally allocated communicators 
    519519         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 checked 
     520           MPI_Comm_free(&(*it)); 
    521521         comms.clear(); 
    522522 
     
    532532   { 
    533533     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 checked 
     534       MPI_Comm_free(&(*it)); 
    535535     comms.clear(); 
    536536   } 
  • XIOS/branchs/xios-2.5/src/node/context.hpp

    r1378 r1900  
    241241 
    242242         // Context root 
    243          static shared_ptr<CContextGroup> root; 
     243         static boost::shared_ptr<CContextGroup> root; 
    244244 
    245245         // Determine context on client or not 
  • XIOS/branchs/xios-2.5/src/node/domain.cpp

    r1855 r1900  
    18341834           CServerDistributionDescription serverDescription(nGlobDomain, nbServer); 
    18351835           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); 
    18381838 
    18391839           std::list<int> serverZeroIndexLeader; 
  • XIOS/branchs/xios-2.5/src/node/file.cpp

    r1516 r1900  
    545545         if (isOpen) data_out->closeFile(); 
    546546 
    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, 
    548548                                                              fileComm, multifile, isCollective, time_counter_name)); 
    549549        isOpen = true; 
     
    669669      bool ugridConvention = !convention.isEmpty() ? (convention == convention_attr::UGRID) : false; 
    670670      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)); 
    672672      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)); 
    674674      isOpen = true; 
    675675    } 
Note: See TracChangeset for help on using the changeset viewer.