Ignore:
Timestamp:
06/11/18 19:06:45 (6 years ago)
Author:
yushan
Message:

tests in XIOS OK (client, complete, remap, toy)

Location:
XIOS/dev/branch_openmp/src
Files:
4 edited

Legend:

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

    r1520 r1538  
    120120    #elif _usingEP 
    121121    int rank=status.ep_src; 
    122     #endif 
     122    #endif     
    123123 
    124124    it=buffers.find(rank); 
     
    127127       StdSize buffSize = 0; 
    128128       MPI_Request request; 
     129        
    129130       MPI_Irecv(&buffSize, 1, MPI_LONG, rank, 20, interComm, &request); 
    130131       MPI_Wait(&request, &status); 
  • XIOS/dev/branch_openmp/src/cxios.cpp

    r1533 r1538  
    108108      MPI_Comm_create_endpoints(MPI_COMM_WORLD->mpi_comm, num_ep, info, ep_comm);  // servers should reach here too. 
    109109      passage = ep_comm;  
    110       EP_group_init(); 
    111110      //::MPI_Comm_group(to_mpi_comm(MPI_COMM_WORLD->mpi_comm), &MPI_GROUP_WORLD);  
    112111    } 
  • XIOS/dev/branch_openmp/src/io/inetcdf4.cpp

    r1520 r1538  
    2121    //mpi = comm && !multifile; 
    2222    mpi = comm && !multifile && readMetaDataPar; 
    23     ep_lib::MPI_Info info_null; 
     23    //ep_lib::MPI_Info info_null = MPI_INFO_NULL; 
    2424 
    2525    // The file format will be detected automatically by NetCDF, it is safe to always set NC_MPIIO 
    2626    // even if Parallel NetCDF ends up being used. 
    2727    if (mpi) 
    28       CNetCdfInterface::openPar(filename, NC_NOWRITE | NC_MPIIO, to_mpi_comm((*comm)->mpi_comm), to_mpi_info(info_null), this->ncidp); 
     28      CNetCdfInterface::openPar(filename, NC_NOWRITE | NC_MPIIO, to_mpi_comm((*comm)->mpi_comm), to_mpi_info(MPI_INFO_NULL), this->ncidp); 
    2929    else 
    3030      CNetCdfInterface::open(filename, NC_NOWRITE, this->ncidp); 
  • XIOS/dev/branch_openmp/src/node/context.cpp

    r1491 r1538  
    2727  boost::shared_ptr<CContextGroup> * CContext::root_ptr = 0; 
    2828 
    29    /// ////////////////////// Définitions ////////////////////// /// 
     29   /// ////////////////////// Dfinitions ////////////////////// /// 
    3030 
    3131   CContext::CContext(void) 
     
    191191      if (!this->hasChild()) 
    192192      { 
    193          //oss << "<!-- No definition -->" << std::endl; // fait planter l'incrémentation 
     193         //oss << "<!-- No definition -->" << std::endl; // fait planter l'incrmentation 
    194194      } 
    195195      else 
     
    257257      
    258258 
    259      //if (CServer::serverLevel != 1) 
    260       if (CServer::serverLevel == 0) 
     259      
     260      //if (CServer::serverLevel == 0) 
     261      if (CServer::serverLevel != 1) 
    261262      // initClient is called by client 
    262263      { 
     
    290291       server = new CContextServer(this, intraCommServer, interCommServer); 
    291292     } 
    292      else if(CServer::serverLevel == 1) 
     293     //else if(CServer::serverLevel == 1) 
     294     else 
    293295     // initClient is called by primary server 
    294296     { 
     
    859861   void CContext::solveAllInheritance(bool apply) 
    860862   { 
    861      // Résolution des héritages descendants (càd des héritages de groupes) 
     863     // Rsolution des hritages descendants (cd des hritages de groupes) 
    862864     // pour chacun des contextes. 
    863865      solveDescInheritance(apply); 
    864866 
    865      // Résolution des héritages par référence au niveau des fichiers. 
     867     // Rsolution des hritages par rfrence au niveau des fichiers. 
    866868      const vector<CFile*> allFiles=CFile::getAll(); 
    867869      const vector<CGrid*> allGrids= CGrid::getAll(); 
     
    887889 
    888890      for (unsigned int i = 0; i < allFiles.size(); i++) 
    889          if (!allFiles[i]->enabled.isEmpty()) // Si l'attribut 'enabled' est défini. 
     891         if (!allFiles[i]->enabled.isEmpty()) // Si l'attribut 'enabled' est dfini. 
    890892         { 
    891             if (allFiles[i]->enabled.getValue()) // Si l'attribut 'enabled' est fixé à vrai. 
     893            if (allFiles[i]->enabled.getValue()) // Si l'attribut 'enabled' est fix  vrai. 
    892894            { 
    893895              if (allFiles[i]->output_freq.isEmpty()) 
     
    926928 
    927929      if (enabledFiles.size() == 0) 
    928          DEBUG(<<"Aucun fichier ne va être sorti dans le contexte nommé \"" 
     930         DEBUG(<<"Aucun fichier ne va tre sorti dans le contexte nomm \"" 
    929931               << getId() << "\" !"); 
    930932 
     
    14701472      if (hasClient && !hasServer) prepareTimeseries(); 
    14711473 
    1472       //Initialisation du vecteur 'enabledFiles' contenant la liste des fichiers à sortir. 
     1474      //Initialisation du vecteur 'enabledFiles' contenant la liste des fichiers sortir. 
    14731475      findEnabledFiles(); 
    14741476      findEnabledWriteModeFiles(); 
Note: See TracChangeset for help on using the changeset viewer.