File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 33 * Copyright (c) 2007      The Trustees of Indiana University. 
44 *                         All rights reserved. 
55 * Copyright (c) 2011      Cisco Systems, Inc.  All rights reserved. 
6-  * Copyright (c) 2011-2015  Los Alamos National Security, LLC. All 
6+  * Copyright (c) 2011-2016  Los Alamos National Security, LLC. All 
77 *                         rights reserved. 
88 * Copyright (c) 2013-2015 Intel, Inc.  All rights reserved. 
99 * Copyright (c) 2014-2015 Research Organization for Information Science 
@@ -305,6 +305,18 @@ static int cray_init(void)
305305    }
306306    OBJ_DESTRUCT (& kv );
307307
308+     /* push this into the dstore for subsequent fetches */ 
309+     OBJ_CONSTRUCT (& kv , opal_value_t );
310+     kv .key  =  strdup (OPAL_PMIX_MAX_PROCS );
311+     kv .type  =  OPAL_UINT32 ;
312+     kv .data .uint32  =  atoi (buf );
313+     if  (OPAL_SUCCESS  !=  (ret  =  opal_pmix_base_store (& OPAL_PROC_MY_NAME , & kv ))) {
314+         OPAL_ERROR_LOG (ret );
315+         OBJ_DESTRUCT (& kv );
316+         goto err_exit ;
317+     }
318+     OBJ_DESTRUCT (& kv );
319+ 
308320    OBJ_CONSTRUCT (& kv , opal_value_t );
309321    kv .key  =  strdup (OPAL_PMIX_JOBID );
310322    kv .type  =  OPAL_UINT32 ;
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments