Changeset 1538 for XIOS/dev/branch_openmp/src
- Timestamp:
- 06/11/18 19:06:45 (6 years ago)
- Location:
- XIOS/dev/branch_openmp/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/context_server.cpp
r1520 r1538 120 120 #elif _usingEP 121 121 int rank=status.ep_src; 122 #endif 122 #endif 123 123 124 124 it=buffers.find(rank); … … 127 127 StdSize buffSize = 0; 128 128 MPI_Request request; 129 129 130 MPI_Irecv(&buffSize, 1, MPI_LONG, rank, 20, interComm, &request); 130 131 MPI_Wait(&request, &status); -
XIOS/dev/branch_openmp/src/cxios.cpp
r1533 r1538 108 108 MPI_Comm_create_endpoints(MPI_COMM_WORLD->mpi_comm, num_ep, info, ep_comm); // servers should reach here too. 109 109 passage = ep_comm; 110 EP_group_init();111 110 //::MPI_Comm_group(to_mpi_comm(MPI_COMM_WORLD->mpi_comm), &MPI_GROUP_WORLD); 112 111 } -
XIOS/dev/branch_openmp/src/io/inetcdf4.cpp
r1520 r1538 21 21 //mpi = comm && !multifile; 22 22 mpi = comm && !multifile && readMetaDataPar; 23 ep_lib::MPI_Info info_null;23 //ep_lib::MPI_Info info_null = MPI_INFO_NULL; 24 24 25 25 // The file format will be detected automatically by NetCDF, it is safe to always set NC_MPIIO 26 26 // even if Parallel NetCDF ends up being used. 27 27 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); 29 29 else 30 30 CNetCdfInterface::open(filename, NC_NOWRITE, this->ncidp); -
XIOS/dev/branch_openmp/src/node/context.cpp
r1491 r1538 27 27 boost::shared_ptr<CContextGroup> * CContext::root_ptr = 0; 28 28 29 /// ////////////////////// D éfinitions ////////////////////// ///29 /// ////////////////////// Dfinitions ////////////////////// /// 30 30 31 31 CContext::CContext(void) … … 191 191 if (!this->hasChild()) 192 192 { 193 //oss << "<!-- No definition -->" << std::endl; // fait planter l'incr émentation193 //oss << "<!-- No definition -->" << std::endl; // fait planter l'incrmentation 194 194 } 195 195 else … … 257 257 258 258 259 //if (CServer::serverLevel != 1) 260 if (CServer::serverLevel == 0) 259 260 //if (CServer::serverLevel == 0) 261 if (CServer::serverLevel != 1) 261 262 // initClient is called by client 262 263 { … … 290 291 server = new CContextServer(this, intraCommServer, interCommServer); 291 292 } 292 else if(CServer::serverLevel == 1) 293 //else if(CServer::serverLevel == 1) 294 else 293 295 // initClient is called by primary server 294 296 { … … 859 861 void CContext::solveAllInheritance(bool apply) 860 862 { 861 // R ésolution des héritages descendants (cà d des héritages de groupes)863 // Rsolution des hritages descendants (cd des hritages de groupes) 862 864 // pour chacun des contextes. 863 865 solveDescInheritance(apply); 864 866 865 // R ésolution des héritages par référence au niveau des fichiers.867 // Rsolution des hritages par rfrence au niveau des fichiers. 866 868 const vector<CFile*> allFiles=CFile::getAll(); 867 869 const vector<CGrid*> allGrids= CGrid::getAll(); … … 887 889 888 890 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. 890 892 { 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. 892 894 { 893 895 if (allFiles[i]->output_freq.isEmpty()) … … 926 928 927 929 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 \"" 929 931 << getId() << "\" !"); 930 932 … … 1470 1472 if (hasClient && !hasServer) prepareTimeseries(); 1471 1473 1472 //Initialisation du vecteur 'enabledFiles' contenant la liste des fichiers Ãsortir.1474 //Initialisation du vecteur 'enabledFiles' contenant la liste des fichiers sortir. 1473 1475 findEnabledFiles(); 1474 1476 findEnabledWriteModeFiles();
Note: See TracChangeset
for help on using the changeset viewer.