+ /* SMPI process have their own data segment and
+ each other inherit from their father */
+#ifdef HAVE_SMPI
+ if(smpi_privatize_global_variables){
+ if( parent_process->pid != 0){
+ SIMIX_segment_index_set(process, parent_process->segment_index);
+ } else {
+ SIMIX_segment_index_set(process, process->pid - 1);
+ }
+ }
+#endif