xbt_free(mv2_alltoall_table_ppn_conf);
xbt_free(mv2_gather_thresholds_table);
- if(mv2_allgather_thresholds_table)
-xbt_free(mv2_allgather_thresholds_table[0]);
+if(mv2_allgather_thresholds_table)
+ xbt_free(mv2_allgather_thresholds_table[0]);
xbt_free(mv2_size_allgather_tuning_table);
xbt_free(mv2_allgather_table_ppn_conf);
xbt_free(mv2_allgather_thresholds_table);
static void init_mv2_allgather_tables_stampede(){
int i;
int agg_table_sum = 0;
+
+ if(smpi_coll_cleanup_callback==NULL)
+ smpi_coll_cleanup_callback=&smpi_coll_cleanup_mvapich2;
mv2_allgather_tuning_table **table_ptrs = NULL;
mv2_allgather_num_ppn_conf = 3;
mv2_allgather_thresholds_table