Re: [OMPI users] Suggestion: adding OMPI_ versions macros in mpi.h

2007-02-09 Thread Jeff Squyres
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

Re: [OMPI users] Suggestion: adding OMPI_ versions macros in mpi.h

2007-02-02 Thread Audet, Martin
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

Re: [OMPI users] Suggestion: adding OMPI_ versions macros in mpi.h

2007-02-02 Thread Bert Wesarg
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

[OMPI users] Suggestion: adding OMPI_ versions macros in mpi.h

2007-02-01 Thread Audet, Martin
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=