1
1

Update the external client to the new PMIx init/finalize signatures

Этот коммит содержится в:
Ralph Castain 2016-03-03 20:49:55 -08:00
родитель 5e9fdabdbb
Коммит b57a191ccc

6
opal/mca/pmix/external/pmix_ext_client.c поставляемый
Просмотреть файл

@ -1,6 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved. * Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2015 Research Organization for Information Science * Copyright (c) 2014-2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved. * and Technology (RIST). All rights reserved.
* Copyright (c) 2014-2015 Mellanox Technologies, Inc. * Copyright (c) 2014-2015 Mellanox Technologies, Inc.
@ -112,7 +112,7 @@ int pmix1_client_init(void)
asprintf(&dbgvalue, "PMIX_DEBUG=%d", dbg); asprintf(&dbgvalue, "PMIX_DEBUG=%d", dbg);
putenv(dbgvalue); putenv(dbgvalue);
} }
rc = PMIx_Init(&my_proc); rc = PMIx_Init(&my_proc, NULL, 0);
if (PMIX_SUCCESS != rc) { if (PMIX_SUCCESS != rc) {
return pmix1_convert_rc(rc); return pmix1_convert_rc(rc);
} }
@ -154,7 +154,7 @@ int pmix1_client_finalize(void)
/* deregister the errhandler */ /* deregister the errhandler */
PMIx_Deregister_errhandler(errhdler_ref, NULL, NULL); PMIx_Deregister_errhandler(errhdler_ref, NULL, NULL);
rc = PMIx_Finalize(); rc = PMIx_Finalize(NULL, 0);
return pmix1_convert_rc(rc); return pmix1_convert_rc(rc);
} }