Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[smpi] Use SMPI namespace for some public variables/functions
[simgrid.git] / src / smpi / smpi_comm.c
index 3cf01de..d71c475 100644 (file)
@@ -277,8 +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
-     XBT_VERB("Applying operation, switch to the right data frame ");
-     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