File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ int ompi_comm_init_mpi3 (void)
225225                     sizeof (ompi_mpi_comm_world .comm .c_name ));
226226    ompi_mpi_comm_world .comm .c_flags  |= OMPI_COMM_NAMEISSET  | OMPI_COMM_INTRINSIC  |
227227        OMPI_COMM_GLOBAL_INDEX ;
228+     ompi_mpi_comm_world .comm .instance  =  group -> grp_instance ;
228229
229230    /* get a reference on the attributes subsys */ 
230231    ompi_attr_get_ref ();
@@ -283,6 +284,7 @@ int ompi_comm_init_mpi3 (void)
283284                     sizeof (ompi_mpi_comm_self .comm .c_name ));
284285    ompi_mpi_comm_self .comm .c_flags  |= OMPI_COMM_NAMEISSET  | OMPI_COMM_INTRINSIC  |
285286        OMPI_COMM_GLOBAL_INDEX ;
287+     ompi_mpi_comm_self .comm .instance  =  group -> grp_instance ;
286288
287289    /* We can set MPI_COMM_SELF's keyhash to NULL because it has no 
288290       predefined attributes.  If a user defines an attribute on 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments