11/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22/*
33 * Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
4- * Copyright (c) 2014-2015 Research Organization for Information Science
4+ * Copyright (c) 2014-2016 Research Organization for Information Science
55 * and Technology (RIST). All rights reserved.
66 * Copyright (c) 2014 Mellanox Technologies, Inc.
77 * All rights reserved.
@@ -156,13 +156,10 @@ int pmix1_client_finalize(void)
156156
157157int pmix1_initialized (void )
158158{
159- pmix_status_t rc ;
160-
161159 opal_output_verbose (1 , opal_pmix_base_framework .framework_output ,
162160 "PMIx_client initialized" );
163161
164- rc = PMIx_Initialized ();
165- return pmix1_convert_rc (rc );
162+ return PMIx_Initialized ();
166163}
167164
168165int pmix1_abort (int flag , const char * msg ,
@@ -391,10 +388,11 @@ int pmix1_fencenb(opal_list_t *procs, int collect_data,
391388
392389}
393390
394- int pmix1_put (opal_pmix_scope_t scope ,
391+ int pmix1_put (opal_pmix_scope_t opal_scope ,
395392 opal_value_t * val )
396393{
397394 pmix_value_t kv ;
395+ pmix_scope_t pmix_scope = pmix1_convert_opalscope (opal_scope );
398396 pmix_status_t rc ;
399397
400398 opal_output_verbose (1 , opal_pmix_base_framework .framework_output ,
@@ -403,7 +401,7 @@ int pmix1_put(opal_pmix_scope_t scope,
403401 PMIX_VALUE_CONSTRUCT (& kv );
404402 pmix1_value_load (& kv , val );
405403
406- rc = PMIx_Put (scope , val -> key , & kv );
404+ rc = PMIx_Put (pmix_scope , val -> key , & kv );
407405 PMIX_VALUE_DESTRUCT (& kv );
408406 return pmix1_convert_rc (rc );
409407}
0 commit comments