Changeset 1328 for XIOS/dev/branch_openmp/src/client_server_mapping.cpp
- Timestamp:
- 11/15/17 12:14:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/client_server_mapping.cpp
r1287 r1328 8 8 */ 9 9 #include "client_server_mapping.hpp" 10 using namespace ep_lib; 10 11 11 12 namespace xios { … … 64 65 MPI_Allgather(&nbConnectedServer,1,MPI_INT,recvCount,1,MPI_INT,clientIntraComm) ; 65 66 66 67 // for(int i=0; i<nbClient; i++)68 // printf("MPI_Allgather : recvCount[%d] = %d\n", i, recvCount[i]);69 70 67 displ[0]=0 ; 71 68 for(int n=1;n<nbClient;n++) displ[n]=displ[n-1]+recvCount[n-1] ; … … 75 72 76 73 MPI_Allgatherv(sendBuff,nbConnectedServer,MPI_INT,recvBuff,recvCount,displ,MPI_INT,clientIntraComm) ; 77 78 // for(int i=0; i<recvSize; i++)79 // printf("MPI_Allgatherv : recvBuff[%d] = %d\n", i, recvBuff[i]);80 81 82 74 for(int n=0;n<recvSize;n++) clientRes[recvBuff[n]]++ ; 83 75
Note: See TracChangeset
for help on using the changeset viewer.