Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / src / smpi / colls / bcast-mvapich-smp.c
index 8fb512c..8dd8594 100644 (file)
@@ -315,7 +315,7 @@ int smpi_coll_tuned_bcast_mvapich2_intra_node(void *buffer,
         ) {
 
         if (!is_contig || !is_homogeneous) {
-            tmp_buf=(void *)xbt_malloc(nbytes);
+            tmp_buf=(void *)smpi_get_tmp_sendbuffer(nbytes);
 
             /* TODO: Pipeline the packing and communication */
            // position = 0;