Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Generic Type
From: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2009-03-30 11:43:06

Dear OpenMPI developers,
i'm writing an MPI_Gather wrapper to collect void elements. My
queation is: is there a portable way to know the type of received
elements, like MPI_INT or MPI_DOUBLE? I've noted that i can retrieve
this information by ompi_datatype_t-> name field, but i think isn't
portable. Is there aMPI function that does this check?

Ing. Gabriele Fatigati
Parallel programmer
CINECA Systems & Tecnologies Department
Supercomputing Group
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy                    Tel:   +39 051 6171722
g.fatigati [AT]