Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] ompi-trunk: have MPI_REAL2 (if available) but missing MPI_COMPLEX4
From: George Bosilca (bosilca_at_[hidden])
Date: 2009-09-26 19:35:14


On Sep 26, 2009, at 14:52 , Lisandro Dalcin wrote:

>> On the other side, MPI_COMPLEX4 is defined by the MPI standard as an
>> optional datatype (MPI 2.2 page 451) which doesn't make it
>> mandatory (sic!),
>> is supported by few others MPI libraries but as it doesn't match
>> any C type
>> it is really difficult to implement.
>>
>
> OK, you are right, it is really difficult to implement, at least in
> pure-C code... BTW, this also applies to MPI_REAL2, right ? Then...
>
> $ nm /usr/local/openmpi/dev-trunk/lib/libmpi.so | grep real2
> 000fe0e0 D ompi_mpi_real2

A ghost from the past ...

>
> So if you have support for real(kind=2) in "ompi_mpi_real2" ... Do you
> still think that it is so hard to support complex(kind=4) ??
>
> Anyway, I see that MPI_REAL2 is never #define'd to &ompi_mpi_real2.

I guess removing the ompi_mpi_real2 (which is in fact not initialized
to anything meaningful) is the way to go. I'll take care of it.

   Thanks,
     george.

>
>
>
>> george.
>>
>> On Sep 26, 2009, at 11:04 , Lisandro Dalcin wrote:
>>
>>> Jeff, about ticket #2032 ...
>>>
>>> I was not asking you to eliminate MPI_LOGICALx, just asked for
>>> MPI_COMPLEX4 to be added...
>>>
>>> If you still think the MPI_LOGICALx should be removed from Open MPI,
>>> what about rename the macros to OMPI_LOGICALx ? IMHO, the
>>> MPI_LOGICALx
>>> (provided that Fortran compilers do support them) are an omission in
>>> the 2.2 standard.
>>>
>>>
>>> On Wed, Sep 23, 2009 at 4:33 PM, Lisandro Dalcin <dalcinl_at_[hidden]>
>>> wrote:
>>>>
>>>> Disclaimer: I have almost no experience with Fortran, nor I'm
>>>> needing
>>>> this, but anyway (perhaps just as a reminder for you) :-)...
>>>>
>>>> Provided that:
>>>>
>>>> 1) Open MPI exposes MPI_LOGICAL{1|2|4|8}, and they are not (AFAIK)
>>>> listed in the MPI standard (I cannot found them in MPI-2.2)
>>>>
>>>> 2) The MPI-2.2 standard DO list MPI COMPLEX4 (at least in 2.2) ...
>>>>
>>>> would it make sense that you add MPI_COMPLEX4 support ASAP, even
>>>> before full MPI-2.2 support?
>>>>
>>>> --
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> 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
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>
>
>
>
> --
> 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