[mpich-discuss] Bug in MPI_WIN_SHARED_QUERY using MPICH-3.0.4 from Fortran95-code

Junchao Zhang jczhang at mcs.anl.gov
Fri Dec 12 13:50:17 CST 2014


Michael,
 I could not reproduce the problem with MPICH master. I checked MPICH's F90
binding of this routine. It looks good. There are C tests for this routine
in MPICH test suite. They also ran fine.
 Could you either upgrade your MPI to MPICH-3.1.3 or send me your test case?
 Thanks.

--Junchao Zhang

On Fri, Dec 12, 2014 at 4:53 AM, <Michael.Rachner at dlr.de> wrote:
>
>  Dear developers of MPICH,
>
>
>
> I am running MPICH-3.0.4 with a Fortran95-code on a LINUX-cluster using
> the INTEL-14.0.1 Ftn-compiler.
>
> In that code I employ the shared memory feature (using
> MPI_WIN_ALLOCATE_SHARED and MPI_WIN_SHARED_QUERY).
>
> It works fine, but nevertheless I detected a little bug in
> MPI_WIN_SHARED_QUERY:
>
>
>
>      MPI_WIN_SHARED_QUERY(WIN, RANK, SIZE, DISP_UNIT, BASEPTR, IERROR)
>
>
>
> The MPI-3.0 Standard document (chapter 11.2, on p. 410)  prescribes that
> the 4th parameter  DISP_UNIT  is a result from the call of this sbr.
>
> However, with MPICH no value is returned for DISP_UNIT.
>
>
>
> You can easily test that, by setting  DISP_UNIT  to a control number (
> e.g.  DISP_UNIT = -7777 )   just before the call of sbr
> MPI_WIN_SHARED_QUERY.
>
> Just after that sbr-call   the variable  DISP_UNIT  still contains that
> control number, but should not.
>
>
>
> Greetings
>
> Michael Rachner
>
>
>
>
>
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20141212/0b41aac6/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list