Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] opal_convertor / ompi_convertor
From: Christian Bendele (Christian.Bendele_at_[hidden])
Date: 2009-11-09 10:33:27


Hi,

I was porting a 3rd party btl module that was originally written for
openmpi 1.0.x to the current release.

Now, even after some googling, I am a little confused about
ompi_convertor and opal_convertor.

The OLD code includes opal/datatype/convertor.h and calls several
functions starting opal_convertor_...(). That header file didn't seem to
exist in 1.3.3 though.

The 1.3.3 btl_tcp code I referenced uses ompi_convertor. Thus I
understood that at some point in history opal_convertor was obsoleted
and replaced by ompi_convertor.

It happened so that I overlooked a single occurence of
opal_convertor_need_buffers() in my code. Although I thought I removed
all headers related to opal_convertor the code actually compiled, and
only failed during the linking stage (no such symbol). Now since I
thought that rather strange (I thought maybe there was some obsolete
header still astray or something), I checked with google.

There I actually found a few rather current patches (e.g.
http://www.open-mpi.org/community/lists/devel/2009/07/6457.php) that
seem to suggest that actually ompi_datatype is obsoleted in favour of
opal_datatype...

Can anybody give me a small overview what's going on here?

Greetings,

Christian