Re: [OMPI users] send partial vector from all to all + ALLGATHERV

2014-12-23 Thread Diego Avesani
dear all, I get it. CALL MPI_ALLGATHERV(sendbuf(MPI%MCstart:MPI%MCend),MPI%nmc,MPI_INTEGER,MCrank,MCncGlobal,MCdisplay,MPI_INTEGER,COMM_CART,MPI%iErr) I have to use : displs [in] integer array (of length group size). Entry i specifies the displacement (relative to recvbuf ) at which to place the

[OMPI users] send partial vector from all to all + ALLGATHERV

2014-12-23 Thread Diego Avesani
Dear, I my program, I have created a vector and each processor assigns a value to a part of it: *do i=MPI%start,MPI%end* *sendbuf(i)=MPI%rank* * enddo* *MPI%start *and* MPI%end* define the starting and ending positions in the vector. Now, I would like that each processor knows all the v