File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ BEGIN_C_DECLS
9595/* size info */ 
9696#define  OPAL_PMIX_UNIV_SIZE                      "pmix.univ.size"        // (uint32_t) #procs in this nspace
9797#define  OPAL_PMIX_JOB_SIZE                       "pmix.job.size"         // (uint32_t) #procs in this job
98+ #define  OPAL_PMIX_JOB_NUM_APPS                   "pmix.job.napps"        // (uint32_t) #apps in this job
9899#define  OPAL_PMIX_APP_SIZE                       "pmix.app.size"         // (uint32_t) #procs in this app
99100#define  OPAL_PMIX_LOCAL_SIZE                     "pmix.local.size"       // (uint32_t) #procs in this job on this node
100101#define  OPAL_PMIX_NODE_SIZE                      "pmix.node.size"        // (uint32_t) #procs across all jobs on this node
Original file line number Diff line number Diff line change @@ -279,6 +279,13 @@ int orte_pmix_server_register_nspace(orte_job_t *jdata)
279279    kv -> data .uint32  =  jdata -> num_procs ;
280280    opal_list_append (info , & kv -> super );
281281
282+     /* number of apps in this job */ 
283+     kv  =  OBJ_NEW (opal_value_t );
284+     kv -> key  =  strdup (OPAL_PMIX_JOB_NUM_APPS );
285+     kv -> type  =  OPAL_UINT32 ;
286+     kv -> data .uint32  =  jdata -> num_apps ;
287+     opal_list_append (info , & kv -> super );
288+ 
282289    /* local size */ 
283290    kv  =  OBJ_NEW (opal_value_t );
284291    kv -> key  =  strdup (OPAL_PMIX_LOCAL_SIZE );
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments