On Sat, Sep 26, 2009 at 2:07 PM, George Bosilca <bosi...@eecs.utk.edu> wrote: > These two issues are completely orthogonal. > > On one side, MPI_LOGICALx is not defined by the MPI standard but it is > supported by several others MPI libraries and as it match a C type it is > easy to implement. >
OK, so we agree here.. It is good to have the MPI_LOGICALx despite not being listed in the standard. > 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 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 . > 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 <dalc...@gmail.com> >> 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 >> de...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/devel > > > _______________________________________________ > devel mailing list > de...@open-mpi.org > 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