1
1

Don't forget to move the pointer back by the true_lb.

This commit was SVN r25262.
Этот коммит содержится в:
George Bosilca 2011-10-11 20:15:49 +00:00
родитель e4f8b662a1
Коммит 2fefd3a928

Просмотреть файл

@ -172,7 +172,7 @@ int ompi_coll_tuned_allgather_intra_bruck(void *sbuf, int scount,
err = ompi_datatype_get_true_extent(rdtype, &true_lb, &true_extent); err = ompi_datatype_get_true_extent(rdtype, &true_lb, &true_extent);
if (MPI_SUCCESS != err) { line = __LINE__; goto err_hndl; } if (MPI_SUCCESS != err) { line = __LINE__; goto err_hndl; }
free_buf = (char*) calloc(((true_extent + free_buf = (char*) calloc(((true_extent + true_lb +
((size - rank) * rcount - 1) * rext)), ((size - rank) * rcount - 1) * rext)),
sizeof(char)); sizeof(char));
if (NULL == free_buf) { if (NULL == free_buf) {