VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
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/state/base/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/alternatives/mpi/openmpi/orte/mca/state/base/state_private.h
/*
 * Copyright (c) 2011-2013 Los Alamos National Security, LLC.
 *                         All rights reserved.
 * Copyright (c) 2017      Intel, Inc. All rights reserved.
 * $COPYRIGHT$
 *
 * Additional copyrights may follow
 *
 * $HEADER$
 */
/** @file:
 */

#ifndef ORTE_MCA_STATE_PRIVATE_H
#define ORTE_MCA_STATE_PRIVATE_H

/*
 * includes
 */
#include "orte_config.h"
#include "orte/constants.h"
#include "orte/types.h"

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif  /* HAVE_UNISTD_H */

#include "orte/mca/plm/plm_types.h"
#include "orte/runtime/orte_globals.h"

#include "orte/mca/state/state.h"

BEGIN_C_DECLS

extern bool orte_state_base_run_fdcheck;
/*
 * Base functions
 */
ORTE_DECLSPEC void orte_state_base_activate_job_state(orte_job_t *jdata,
                                                      orte_job_state_t state);

ORTE_DECLSPEC int orte_state_base_add_job_state(orte_job_state_t state,
                                                orte_state_cbfunc_t cbfunc,
                                                int priority);

ORTE_DECLSPEC int orte_state_base_set_job_state_callback(orte_job_state_t state,
                                                         orte_state_cbfunc_t cbfunc);

ORTE_DECLSPEC int orte_state_base_set_job_state_priority(orte_job_state_t state,
                                                         int priority);

ORTE_DECLSPEC int orte_state_base_remove_job_state(orte_job_state_t state);

ORTE_DECLSPEC void orte_util_print_job_state_machine(void);


ORTE_DECLSPEC void orte_state_base_activate_proc_state(orte_process_name_t *proc,
                                                       orte_proc_state_t state);

ORTE_DECLSPEC int orte_state_base_add_proc_state(orte_proc_state_t state,
                                                 orte_state_cbfunc_t cbfunc,
                                                 int priority);

ORTE_DECLSPEC int orte_state_base_set_proc_state_callback(orte_proc_state_t state,
                                                          orte_state_cbfunc_t cbfunc);

ORTE_DECLSPEC int orte_state_base_set_proc_state_priority(orte_proc_state_t state,
                                                          int priority);

ORTE_DECLSPEC int orte_state_base_remove_proc_state(orte_proc_state_t state);

ORTE_DECLSPEC void orte_util_print_proc_state_machine(void);

/* common state processing functions */
ORTE_DECLSPEC void orte_state_base_local_launch_complete(int fd, short argc, void *cbdata);
ORTE_DECLSPEC void orte_state_base_cleanup_job(int fd, short argc, void *cbdata);
ORTE_DECLSPEC void orte_state_base_report_progress(int fd, short argc, void *cbdata);
ORTE_DECLSPEC void orte_state_base_track_procs(int fd, short argc, void *cbdata);
ORTE_DECLSPEC void orte_state_base_check_all_complete(int fd, short args, void *cbdata);
ORTE_DECLSPEC void orte_state_base_check_fds(orte_job_t *jdata);
ORTE_DECLSPEC void orte_state_base_notify_data_server(orte_process_name_t *target);

END_C_DECLS
#endif

VaKeR 2022