Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove warning
authorAugustin Degomme <degomme@idpann.imag.fr>
Tue, 11 Jun 2013 08:06:54 +0000 (10:06 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Tue, 11 Jun 2013 08:06:54 +0000 (10:06 +0200)
src/smpi/colls/reduce-ompi.c

index 6dc846c..c5d767c 100644 (file)
@@ -48,7 +48,6 @@ int smpi_coll_tuned_ompi_reduce_generic( void* sendbuf, void* recvbuf, int origi
     char *accumbuf = NULL, *accumbuf_free = NULL;
     char *local_op_buffer = NULL, *sendtmpbuf = NULL;
     ptrdiff_t extent, lower_bound, segment_increment;
     char *accumbuf = NULL, *accumbuf_free = NULL;
     char *local_op_buffer = NULL, *sendtmpbuf = NULL;
     ptrdiff_t extent, lower_bound, segment_increment;
-    size_t typelng;
     MPI_Request  reqs[2] = {MPI_REQUEST_NULL, MPI_REQUEST_NULL};
     int num_segments, line, ret, segindex, i, rank;
     int recvcount, prevcount, inbi;
     MPI_Request  reqs[2] = {MPI_REQUEST_NULL, MPI_REQUEST_NULL};
     int num_segments, line, ret, segindex, i, rank;
     int recvcount, prevcount, inbi;
@@ -58,7 +57,6 @@ int smpi_coll_tuned_ompi_reduce_generic( void* sendbuf, void* recvbuf, int origi
      * sent per operation
      */
     smpi_datatype_extent( datatype, &lower_bound, &extent);
      * sent per operation
      */
     smpi_datatype_extent( datatype, &lower_bound, &extent);
-    typelng = smpi_datatype_size( datatype );
     num_segments = (original_count + count_by_segment - 1) / count_by_segment;
     segment_increment = count_by_segment * extent;
 
     num_segments = (original_count + count_by_segment - 1) / count_by_segment;
     segment_increment = count_by_segment * extent;