Changeset 1220 for XIOS/dev/branch_openmp/src/client_server_mapping.cpp
- Timestamp:
- 07/20/17 09:18:34 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/client_server_mapping.cpp
r843 r1220 64 64 MPI_Allgather(&nbConnectedServer,1,MPI_INT,recvCount,1,MPI_INT,clientIntraComm) ; 65 65 66 67 for(int i=0; i<nbClient; i++) 68 printf("MPI_Allgather : recvCount[%d] = %d\n", i, recvCount[i]); 69 66 70 displ[0]=0 ; 67 71 for(int n=1;n<nbClient;n++) displ[n]=displ[n-1]+recvCount[n-1] ; … … 71 75 72 76 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 73 82 for(int n=0;n<recvSize;n++) clientRes[recvBuff[n]]++ ; 74 83
Note: See TracChangeset
for help on using the changeset viewer.