From 9314b11f3d00c36ffbea787f64ca9afa9166f00a Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 11 Sep 2014 14:37:32 +0200 Subject: [PATCH 1/1] fix build --- src/smpi/smpi_comm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1