![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /etc/alternatives/mpi/openmpi/orte/mca/regx/base/ |
Upload File : |
/* * Copyright (c) 2015-2018 Intel, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ /** @file: * regx framework base functionality. */ #ifndef ORTE_MCA_REGX_BASE_H #define ORTE_MCA_REGX_BASE_H /* * includes */ #include "orte_config.h" #include "orte/types.h" #include "opal/class/opal_list.h" #include "orte/mca/mca.h" #include "orte/runtime/orte_globals.h" #include "orte/mca/regx/regx.h" BEGIN_C_DECLS /* * MCA Framework */ ORTE_DECLSPEC extern mca_base_framework_t orte_regx_base_framework; /* select all components */ ORTE_DECLSPEC int orte_regx_base_select(void); /* * common stuff */ typedef struct { opal_list_item_t super; int vpid; int cnt; int slots; orte_topology_t *t; } orte_regex_range_t; OBJ_CLASS_DECLARATION(orte_regex_range_t); typedef struct { /* list object */ opal_list_item_t super; char *prefix; char *suffix; int num_digits; opal_list_t ranges; } orte_regex_node_t; END_C_DECLS OBJ_CLASS_DECLARATION(orte_regex_node_t); ORTE_DECLSPEC extern int orte_regx_base_nidmap_parse(char *regex); ORTE_DECLSPEC extern int orte_regx_base_encode_nodemap(opal_buffer_t *buffer); ORTE_DECLSPEC int orte_regx_base_decode_daemon_nodemap(opal_buffer_t *buffer); ORTE_DECLSPEC int orte_regx_base_generate_ppn(orte_job_t *jdata, char **ppn); ORTE_DECLSPEC int orte_regx_base_parse_ppn(orte_job_t *jdata, char *regex); ORTE_DECLSPEC int orte_regx_base_extract_node_names(char *regexp, char ***names); #endif