Dear George,
thanks a lot for your explanations. Now all works and it is more clear to
me.
Best Regards,
Diego
Diego
On 14 October 2015 at 17:16, Georg Geiser wrote:
> Hi Diego,
>
> displacements start at 0, so 0 means no displacement, i.e., the
> corresponding data starts at the first entry
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
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
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 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
I wonder if this is related to the problem reported in
[OMPI users] Bug in MPI_scatterv Fortran-90 implementation
On Thu, Apr 21, 2011 at 7:19 PM, Zhangping Wei wrote:
> Dear all,
>
> I am a beginner of MPI, right now I try to use MPI_GATHERV in my code, the
> test code just gather the value of a
Dear all,
I am a beginner of MPI, right now I try to use MPI_GATHERV in my code, the test
code just gather the value of array A to store them in array B, but I found an
error listed as follows,
'Fatal error in MPI_Gatherv: Invalid count, error stack:
PMPI_Gatherv<398>: MPI_Gatherv failed
fail