Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2006-10-20 15:39:12


This is not directly / publicly available in C. It is available via
the "ompi_info" command, perhaps something like this:

ompi_info --version ompi full --parsable | fgrep ompi:version:full |
cut -d: -f4-

On Oct 20, 2006, at 3:25 PM, Lisandro Dalcin wrote:

> in release 1.1.2, the following is included in 'mpif-config.h'
>
> parameter (OMPI_MAJOR_VERSION=1)
> parameter (OMPI_MINOR_VERSION=1)
> parameter (OMPI_RELEASE_VERSION=2)
>
> Any chance of having this accesible in C ?
>
> --
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems