dear all,
I have some problem with MPI_GATHERV.
In my code I generate a complex number
DO ij=iNS,iNE
X11(ij) = cmplx(1.,0.)
ENDDO
where iNS,INE change according to the CPU rank, in may case
cpu 0 1 10050
cpu 1 10051 20100
cpu 2 20101 301
Diego,
try to decrease your displacements by one.
Best
Georg
Am 14.10.2015 um 15:51 schrieb Diego Avesani:
dear all,
I have some problem with MPI_GATHERV.
In my code I generate a complex number
DO ij=iNS,iNE
X11(ij) = cmplx(1.,0.)
ENDDO
where iNS,INE change according to the CPU rank,
dear George, dear all,
thanks for the suggestions, it works now.
I have just put:
IDNodeStartGLOBAL = IDNodeStartGLOBAL -1
but I do not understand why. Can you explain it to me?
Thanks
Diego
On 14 October 2015 at 16:02, Georg Geiser wrote:
> Diego,
>
> try to decrease your displacements by o
Hi Diego,
displacements start at 0, so 0 means no displacement, i.e., the
corresponding data starts at the first entry (by default 1 in Fortran)
of the receive field. A displacement of 1 would point to entry number 2.
Btw., MPI does not care how you allocate your fields in Fortran. E.g.,
if yo
Siegmar,
i suggested a fix that has yet to be reviewed
see https://github.com/open-mpi/ompi/pull/1028
in the mean time, and as a work around, you can make sure
CPPFLAGS is not set in your environment( or set it to ""), and then
invoke configure
without CPPFLAGS=""
assuming you are using a bas