Thank you all for the replies, I have this error with mpich2-1.5 and I have the similar behavior with a slightly different error message with mpich-3.1.2. About the code, the situation is a bit more difficult: I wrote a library which implements the coarray support in gfortran. In other words, gfortran translates the coarray syntax in library calls, the library implements the communication using the one-sided routines. Copying a value on the same buffer is allowed by coarrays (it is not an error). I have the same Nick's opinion; anyway, if the standard does not tell anything about this case it is up to the implementation. I'm going to modify the library in order to manage this case. Thanks all. On Thu, Aug 21, 2014 at 4:42 PM, Seo, Sangmin <[email protected]> wrote:
Hi Alessandro,
It is very hard to think about the reason for your problem without any code. Can you send us your test code and the version of MPICH you are using?
Thanks, -- Sangmin Seo Postdoctoral Appointee Mathematics and Computer Science Division Argonne National Laboratory http://www.mcs.anl.gov/~sseo/
On Aug 21, 2014, at 5:25 PM, Alessandro Fanfarillo <[email protected]> wrote:
Dear all,
I'm having the following error:
Fatal error in MPI_Get: Internal MPI error!, error stack: MPI_Get(156).......: MPI_Get(origin_addr=0x19a5f40, origin_count=4, MPI_BYTE, target_rank=0, target_disp=0, target_count=4, MPI_BYTE, win=0xa0000000) failed MPIDI_Get(247).....: MPIR_Localcopy(357): memcpy arguments alias each other, dst=0x19a5f40 src=0x19a5f40 len=4
if I try to execute MPI_Get on the same memory location on a shared memory machine (my laptop).
I cannot find anything in the standard that denies it for the one-sided.
Running with OpenMPI everything works fine.
Is it a bug or I missed something in the standard?
Thanks.
Alessandro
--
Alessandro Fanfarillo Dip. di Ingegneria Civile ed Ingegneria Informatica Università di Roma "Tor Vergata" NCAR Office: +1 (303) 497-2442 Tel: +39-06-7259 7719 _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Alessandro Fanfarillo Dip. di Ingegneria Civile ed Ingegneria Informatica Università di Roma "Tor Vergata" NCAR Office: +1 (303) 497-2442 Tel: +39-06-7259 7719