![]() 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/rtc/base/ |
Upload File : |
/* * Copyright (c) 2014 Intel, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ /** @file: * rtc framework base functionality. */ #ifndef ORTE_MCA_RTC_BASE_H #define ORTE_MCA_RTC_BASE_H /* * includes */ #include "orte_config.h" #include "orte/types.h" #include "opal/class/opal_list.h" #include "orte/mca/mca.h" #include "orte/mca/rtc/rtc.h" BEGIN_C_DECLS /* * MCA Framework */ ORTE_DECLSPEC extern mca_base_framework_t orte_rtc_base_framework; /* select a component */ ORTE_DECLSPEC int orte_rtc_base_select(void); /* * Global functions for MCA overall collective open and close */ /** * Struct to hold data global to the rtc framework */ typedef struct { /* list of selected modules */ opal_list_t actives; } orte_rtc_base_t; /** * Global instance of rtc-wide framework data */ ORTE_DECLSPEC extern orte_rtc_base_t orte_rtc_base; /** * Select an rtc component / module */ typedef struct { opal_list_item_t super; int pri; orte_rtc_base_module_t *module; mca_base_component_t *component; } orte_rtc_base_selected_module_t; OBJ_CLASS_DECLARATION(orte_rtc_base_selected_module_t); ORTE_DECLSPEC void orte_rtc_base_assign(orte_job_t *jdata); ORTE_DECLSPEC void orte_rtc_base_set(orte_job_t *jdata, orte_proc_t *proc, char ***env, int error_fd); ORTE_DECLSPEC void orte_rtc_base_get_avail_vals(opal_list_t *vals); /* Called from the child to send a warning show_help message up the pipe to the waiting parent. */ ORTE_DECLSPEC int orte_rtc_base_send_warn_show_help(int fd, const char *file, const char *topic, ...); /* Called from the child to send an error message up the pipe to the waiting parent. */ ORTE_DECLSPEC void orte_rtc_base_send_error_show_help(int fd, int exit_status, const char *file, const char *topic, ...); END_C_DECLS #endif