From: Augustin Degomme Date: Thu, 11 Sep 2014 12:37:32 +0000 (+0200) Subject: fix build X-Git-Tag: v3_12~824 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9314b11f3d00c36ffbea787f64ca9afa9166f00a fix build --- diff --git a/src/smpi/smpi_comm.c b/src/smpi/smpi_comm.c index f4d32cb32f..0c6df6135c 100644 --- a/src/smpi/smpi_comm.c +++ b/src/smpi/smpi_comm.c @@ -350,7 +350,7 @@ void smpi_comm_init_smp(MPI_Comm comm){ smpi_coll_tuned_allgather_mpich(&leader, 1, MPI_INT , leaders_map, 1, MPI_INT, comm); if(smpi_privatize_global_variables){ //we need to switch here, as the called function may silently touch global variables - switch_data_segment(smpi_process_index()); + smpi_switch_data_segment(smpi_process_index()); } if(!comm->leaders_map){ @@ -422,7 +422,7 @@ void smpi_comm_init_smp(MPI_Comm comm){ smpi_coll_tuned_bcast_mpich(&(comm->is_uniform),1, MPI_INT, 0, comm_intra ); if(smpi_privatize_global_variables){ //we need to switch here, as the called function may silently touch global variables - switch_data_segment(smpi_process_index()); + smpi_switch_data_segment(smpi_process_index()); } // Are the ranks blocked ? = allocated contiguously on the SMP nodes int is_blocked=1;