r21701 is a bad fix.  By definition, we now get #warnings in the build.

By the comment that you guys wrote in ompi_convertor.h, that header file should not exist -- it should be removed and all calls to those functions should be replaced with their updated interfaces.



On Jul 16, 2009, at 2:42 PM, George Bosilca wrote:

There was a missing header. 21701 should fixes the problem.

   george.

On Jul 16, 2009, at 14:31 , Jeff Squyres wrote:

> George --
>
> This does not compile.
>
> btl_sctp.c: In function `mca_btl_sctp_prepare_dst':
> btl_sctp.c:339: error: implicit declaration of function
> `ompi_datatype_type_lb'
> btl_sctp.c:339: error: `ompi_datatype_t' undeclared (first use in
> this function)
> btl_sctp.c:339: error: (Each undeclared identifier is reported only
> once
> btl_sctp.c:339: error: for each function it appears in.)
> btl_sctp.c:339: error: syntax error before ')' token
>
> Is there a missing header file?
>
>
>
> On Jul 16, 2009, at 2:25 PM, <bosi...@osl.iu.edu> wrote:
>
>> Author: bosilca
>> Date: 2009-07-16 14:25:08 EDT (Thu, 16 Jul 2009)
>> New Revision: 21698
>> URL: https://svn.open-mpi.org/trac/ompi/changeset/21698
>>
>> Log:
>> No opal datatype functions in the BTL. The datatype attached to the
>> convertor is an ompi_datatype_t so calling the ompi level functions
>> is the way to go.
>>
>> Text files modified:
>>   trunk/ompi/mca/btl/pcie/btl_pcie.c |     2 +-
>>   trunk/ompi/mca/btl/sctp/btl_sctp.c |     2 +-
>>   2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> Modified: trunk/ompi/mca/btl/pcie/btl_pcie.c
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- trunk/ompi/mca/btl/pcie/btl_pcie.c  (original)
>> +++ trunk/ompi/mca/btl/pcie/btl_pcie.c  2009-07-16 14:25:08 EDT
>> (Thu, 16 Jul 2009)
>> @@ -360,7 +360,7 @@
>>     if(NULL == frag) {
>>         return NULL;
>>     }
>> -    ompi_datatype_type_lb(convertor->pDesc, &lb);
>> + ompi_datatype_type_lb((ompi_datatype_t*)convertor->pDesc, &lb);
>>     frag->segment.seg_addr.pval = convertor->pBaseBuf + lb +
>>         convertor->bConverted;
>>     if(NULL == registration) {
>>
>> Modified: trunk/ompi/mca/btl/sctp/btl_sctp.c
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- trunk/ompi/mca/btl/sctp/btl_sctp.c  (original)
>> +++ trunk/ompi/mca/btl/sctp/btl_sctp.c  2009-07-16 14:25:08 EDT
>> (Thu, 16 Jul 2009)
>> @@ -336,7 +336,7 @@
>>         return NULL;
>>     }
>>
>> -    opal_datatype_type_lb(convertor->pDesc, &lb);
>> + ompi_datatype_type_lb((ompi_datatype_t*)convertor->pDesc, &lb);
>>     frag->segments->seg_len = *size;
>>     frag->segments->seg_addr.pval = convertor->pBaseBuf + lb +
>> convertor->bConverted;
>>
>> _______________________________________________
>> svn-full mailing list
>> svn-f...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full
>>
>
>
> --
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> 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



--
Jeff Squyres
Cisco Systems

Reply via email to