[mpich-devel] MPIR_ERRTEST_ARGNULL and count=0 (or type_size=0)

Jeff Hammond jhammond at alcf.anl.gov
Wed May 29 16:24:50 CDT 2013

I don't know if you read
http://trac.mpich.org/projects/mpich/ticket/1863, but the RMA code in
the repo is using MPIR_ERRTEST_ARGNULL in a few places, which caused
me problems in ARMCI-MPI.  Most of the RMA functions, in particular
the ones that existed in MPI-2, were missing any buffer checks.  The
buffer checks that were present were added to the RMW routines.

My patch is relative to remotes/origin/HEAD.  "I don't always build
MPI from source, but when I do, I use the latest development version
of MPICH" </dos equis mem>



On Wed, May 29, 2013 at 4:14 PM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> On 29 May 2013 23:55, Jeff Hammond <jhammond at alcf.anl.gov> wrote:
>> Well that's no fun.  I was hoping to make it look like I did some
>> actual work here :-)
> The actual work is figuring out the issue!!! I've spent enough time
> with these bugs in other MPI implementations. As I know by testing
> myself that MPICH does the right thing for MPI 2.x calls, I guesses
> you were missing a more easy way to do it.
> BTW, check this:
> $ grep -r MPIR_ERRTEST_USERBUFFER src/mpi/rma
> I get no output, I think other RMA calls also need better error
> checking of buffer addresses...
> --
> Lisandro Dalcin
> ---------------
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> 3000 Santa Fe, Argentina
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169

Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
ALCF docs: http://www.alcf.anl.gov/user-guides

More information about the devel mailing list