Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI devel] Missing error strings for MPI_ERR_RMA_XXX error classes
From: Lisandro Dalcin (dalcinl_at_[hidden])
Date: 2014-04-10 07:50:28


I'm testing openmpi-1.8.

MPI_Get_error_string() for the following error classes is failing. I
guess you just forgot to update the list of error strings.

    MPI_ERR_RMA_RANGE
    MPI_ERR_RMA_ATTACH
    MPI_ERR_RMA_FLAVOR
    MPI_ERR_RMA_SHARED

I'm attaching a simple test code for you to verify the issue.

Additionally, please update the following comment in mpi.h

/* Per MPI-3 p349 47, MPI_ERR_LASTCODE must be >= the last predefined
   MPI_ERR_<foo> code. So just set it equal to the last code --
   MPI_ERR_RMA_FLAVOR, in this case. */
#define MPI_ERR_LASTCODE MPI_ERR_RMA_SHARED

The comment is wrong, the last predefined error class is
MPI_ERR_RMA_SHARED and not MPI_ERR_RMA_FLAVOR.

-- 
Lisandro Dalcin
---------------
CIMEC (UNL/CONICET)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1016)
Tel/Fax: +54-342-4511169