Update the opal/pmix base framework elements
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
187352eb3d
Коммит
9fb80bd239
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
|
||||
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
|
@ -4,6 +4,7 @@
|
||||
# Copyright (c) 2016 Los Alamos National Security, LLC. All rights
|
||||
# reserved.
|
||||
#
|
||||
# Copyright (c) 2016-2018 Intel, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -14,7 +15,23 @@
|
||||
#
|
||||
[pmix2-init-failed]
|
||||
PMI2_Init failed to intialize. Return code: %d
|
||||
|
||||
#
|
||||
[pmix2-init-returned-bad-values]
|
||||
PMI2_Init was intialized but negative values for job size and/or
|
||||
rank was returned.
|
||||
#
|
||||
[old-pmix]
|
||||
A version of PMIx was detected that is too old:
|
||||
|
||||
Version: %s
|
||||
Min version: %s
|
||||
|
||||
Please reconfigure against an updated version of PMIx.
|
||||
#
|
||||
[incorrect-pmix]
|
||||
An unexpected version of PMIx was loaded:
|
||||
|
||||
Detected: %s
|
||||
Expected: %s
|
||||
|
||||
Please check the library path and reconfigure if required.
|
||||
|
@ -733,6 +733,10 @@ typedef int (*opal_pmix_base_module_server_notify_event_fn_t)(int status,
|
||||
opal_list_t *info,
|
||||
opal_pmix_op_cbfunc_t cbfunc, void *cbdata);
|
||||
|
||||
/* push IO to local clients */
|
||||
typedef int (*opal_pmix_base_module_server_push_io_fn_t)(const opal_process_name_t *source,
|
||||
opal_pmix_iof_channel_t channel,
|
||||
unsigned char *data, size_t nbytes);
|
||||
|
||||
/************************************************************
|
||||
* TOOL APIs *
|
||||
@ -870,10 +874,13 @@ typedef int (*opal_pmix_base_process_monitor_fn_t)(opal_list_t *monitor,
|
||||
/* register cleanup */
|
||||
typedef int (*opal_pmix_base_register_cleanup_fn_t)(char *path, bool directory, bool ignore, bool jobscope);
|
||||
|
||||
typedef bool (*opal_pmix_base_legacy_get_fn_t)(void);
|
||||
|
||||
/*
|
||||
* the standard public API data structure
|
||||
*/
|
||||
typedef struct {
|
||||
opal_pmix_base_legacy_get_fn_t legacy_get;
|
||||
/* client APIs */
|
||||
opal_pmix_base_module_init_fn_t init;
|
||||
opal_pmix_base_module_fini_fn_t finalize;
|
||||
@ -917,6 +924,7 @@ typedef struct {
|
||||
opal_pmix_base_module_server_setup_fork_fn_t server_setup_fork;
|
||||
opal_pmix_base_module_server_dmodex_request_fn_t server_dmodex_request;
|
||||
opal_pmix_base_module_server_notify_event_fn_t server_notify_event;
|
||||
opal_pmix_base_module_server_push_io_fn_t server_iof_push;
|
||||
/* tool APIs */
|
||||
opal_pmix_base_module_tool_init_fn_t tool_init;
|
||||
opal_pmix_base_module_tool_fini_fn_t tool_finalize;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
|
||||
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
|
||||
* Copyright (c) 2016 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
@ -443,6 +443,15 @@ typedef enum {
|
||||
OPAL_PMIX_ALLOC_REAQCUIRE
|
||||
} opal_pmix_alloc_directive_t;
|
||||
|
||||
/* define a set of bit-mask flags for specifying IO
|
||||
* forwarding channels. These can be OR'd together
|
||||
* to reference multiple channels */
|
||||
typedef uint16_t opal_pmix_iof_channel_t;
|
||||
#define OPAL_PMIX_FWD_STDIN_CHANNEL 0x01
|
||||
#define OPAL_PMIX_FWD_STDOUT_CHANNEL 0x02
|
||||
#define OPAL_PMIX_FWD_STDERR_CHANNEL 0x04
|
||||
#define OPAL_PMIX_FWD_STDDIAG_CHANNEL 0x08
|
||||
|
||||
|
||||
/**** PMIX INFO STRUCT ****/
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user