Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] change SIMIX_process_count() by process count
authorOlivier Richard <olivier.richard@imag.fr>
Tue, 9 Jun 2015 17:13:00 +0000 (19:13 +0200)
committerOlivier Richard <olivier.richard@imag.fr>
Sat, 13 Jun 2015 08:16:02 +0000 (10:16 +0200)
src/smpi/smpi_global.c

index ebddf58..d1e702d 100644 (file)
@@ -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;