X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/875e7f12289274171984a27c231116e5737e7bf9..7c14726fd0862a988b835b24e85c6c5b83b81900:/src/smpi/smpi_comm.c diff --git a/src/smpi/smpi_comm.c b/src/smpi/smpi_comm.c index 2b23e7c7e6..d71c475df1 100644 --- a/src/smpi/smpi_comm.c +++ b/src/smpi/smpi_comm.c @@ -277,7 +277,7 @@ void smpi_comm_init_smp(MPI_Comm comm){ int comm_size =smpi_comm_size(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()); } //identify neighbours in comm //get the indexes of all processes sharing the same simix host