Sorry for the delay on this -- we ran this idea by all the other
developers and got a resounding "sounds like a good idea!".
So OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION, and OMPI_RELEASE_VERSION
(all integers) will be in mpi.h in Open MPI v1.2. For the v1.2
release, these three macros will c
Thanks Bert for the reply but having these macros in ompi/version.h only if a
special option is given to configure is useless for what I would like to enable
in OpenMPI with the present suggestion.
This is because the whole idea is to make it possible to write portable MPI
compliant C/C++ progr
Hello,
you can build your ompi with --with-devel-headers and use the header
:
#define OMPI_MAJOR_VERSION 1
#define OMPI_MINOR_VERSION 1
#define OMPI_RELEASE_VERSION 4
#define OMPI_GREEK_VERSION ""
Bert
Audet, Martin wrote:
> Hi,
>
> I would like to suggest you to add macros indicating the vers
Hi,
I would like to suggest you to add macros indicating the version of the OpenMPI
library in the C/C++ header file mpi.h analogous to the parameter constants in
the Fortran header file:
parameter (OMPI_MAJOR_VERSION=1)
parameter (OMPI_MINOR_VERSION=1)
parameter (OMPI_RELEASE_VERSION=