From: Olivier Richard Date: Tue, 9 Jun 2015 17:13:00 +0000 (+0200) Subject: [SMPI] change SIMIX_process_count() by process count X-Git-Tag: v3_12~612 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2c0e1b1a47569420af58172721e0de7b73d1ba5a [SMPI] change SIMIX_process_count() by process count --- diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index ebddf585b0..d1e702d30f 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -85,7 +85,7 @@ void smpi_process_init(int *argc, char ***argv) index = smpi_process_index_of_smx_process(proc); if(!index_to_process_data){ - index_to_process_data=(int*)xbt_malloc(SIMIX_process_count()*sizeof(int)); + index_to_process_data=(int*)xbt_malloc(process_count*sizeof(int)); } MPI_Comm* temp_comm_world; xbt_bar_t temp_bar;