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: Re: [OMPI devel] RFC: MPI Interface Extensions Infrastructure
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-05-12 09:43:27

On May 12, 2009, at 9:37 AM, Josh Hursey wrote:

> For the same reasons that Jeff mentioned, I think it is probably
> better to have a separate mpi-ext.h outside of mpi.h. It just makes
> things a bit more explicit for the programmer.
> With regard to the #define, should we have one for all extended
> interfaces (i.e., OMPI_HAVE_MPI_EXT) or one for each set of interfaces

(putting on my hat as a 3rd party MPI application developer)

Probably having both would be good.

1. Having the "OMPI_HAVE_MPI_EXT" is trivial to do; it can be hard-
coded in the mpi-ext.h file. Even if no one uses it, it costs us
nothing to add it -- so on the off chance that the global flag is
useful to someone, we might as well do it.

2. Having the "OMPI_HAVE_MPI_EXT_<foo>" can certainly be useful to
check for specific extensions, e.g., in someone's configure script and/
or directly in their source code.

If you didn't find them already, IIRC the m4 function name to convert
the <foo> extension name to all caps (and therefore suitable for
AC_DEFINE) is something like m4_translit. Grep through the OMPI m4
code / google around to find examples of it.

Jeff Squyres
Cisco Systems