Ignore:
Timestamp:
11/27/17 13:46:40 (7 years ago)
Author:
yushan
Message:

dev omp from Ada

File:
1 edited

Legend:

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

    r1328 r1347  
    9292             MPI_Comm_size(intraComm,&intraCommSize) ; 
    9393             MPI_Comm_rank(intraComm,&intraCommRank) ; 
    94              info(50)<<"intercommCreate::server "<<rank<<" intraCommSize : "<<intraCommSize 
    95                      <<" intraCommRank :"<<intraCommRank<<"  clientLeader "<< clientLeader<<endl ; 
    96  
     94             #pragma omp critical (_output) 
     95             { 
     96               info(50)<<"intercommCreate::server "<<rank<<" intraCommSize : "<<intraCommSize 
     97                       <<" intraCommRank :"<<intraCommRank<<"  clientLeader "<< clientLeader<<endl ; 
     98             } 
    9799             MPI_Intercomm_create(intraComm,0,CXios::globalComm,clientLeader,0,&newComm) ; 
    98100             interComm.push_back(newComm) ; 
     
    391393 
    392394       MPI_Comm contextIntercomm; 
     395       //MPI_Barrier(CXios::globalComm); 
     396        
    393397       MPI_Intercomm_create(intraComm,0,CXios::globalComm,leaderRank,10+leaderRank,&contextIntercomm); 
    394398 
Note: See TracChangeset for help on using the changeset viewer.