32 #ifndef OMPI_PROC_PROC_H
33 #define OMPI_PROC_PROC_H
35 #include "ompi_config.h"
36 #include "ompi/constants.h"
37 #include "ompi/types.h"
75 #if OPAL_ENABLE_FT_MPI
83 #if OPAL_ENABLE_FT_MPI
84 static inline bool ompi_proc_is_active(
ompi_proc_t *proc)
86 return (proc->proc_active);
90 static inline void ompi_proc_mark_as_failed(
ompi_proc_t *proc)
92 proc->proc_active =
false;
OMPI_DECLSPEC int ompi_proc_finalize(void)
Finalize the OMPI Process subsystem.
Definition: proc.c:195
struct mca_bml_base_endpoint_t * proc_bml
BML specific proc data.
Definition: proc.h:64
OMPI_DECLSPEC ompi_proc_t ** ompi_proc_self(size_t *size)
Returns a list of the local process.
Definition: proc.c:320
static ompi_proc_t * ompi_proc_local(void)
Returns a pointer to the local process.
Definition: proc.h:225
OMPI_DECLSPEC ompi_proc_t ** ompi_proc_world(size_t *size)
Returns the list of proc instances associated with this job.
Definition: proc.c:228
opal_list_item_t super
allow proc to be placed on a list
Definition: proc.h:58
struct mca_pml_endpoint_t * proc_pml
PML specific proc data.
Definition: proc.h:62
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Remote Open MPI process structure.
Definition: proc.h:56
OMPI_DECLSPEC int ompi_proc_init(void)
Initialize the OMPI process subsystem.
Definition: proc.c:101
Definition: opal_list.h:98
orte_process_name_t proc_name
this process' name
Definition: proc.h:60
opal_paffinity_locality_t proc_flags
flags for this proc
Definition: proc.h:68
char * proc_hostname
A pointer to the name of this host - data is actually stored in the RTE.
Definition: proc.h:74
OMPI_DECLSPEC ompi_proc_t * ompi_proc_find(const orte_process_name_t *name)
Returns the proc instance for a given name.
Definition: proc.c:338
OMPI_DECLSPEC ompi_proc_t ** ompi_proc_all(size_t *size)
Returns the list of all known proc instances.
Definition: proc.c:290
paffinity (processor affinity) framework component interface definitions.
Structure associated w/ ompi_proc_t that contains the set of BTLs used to reach a destination...
Definition: bml.h:222
Definition: opal_convertor.h:90
OMPI_DECLSPEC int ompi_proc_refresh(void)
Refresh the OMPI process subsystem.
Definition: proc.c:360
struct opal_convertor_t * proc_convertor
Base convertor for the proc described by this process.
Definition: proc.h:70
uint32_t proc_arch
architecture of this process
Definition: proc.h:66
Structure for holding a buffer to be used with the RML or OOB subsystems.
Definition: dss_types.h:159
OMPI_DECLSPEC int ompi_proc_complete_init(void)
Complete filling up the proc information (arch, name and locality) for all procs related to this job...
Definition: proc.c:147
OMPI_DECLSPEC int ompi_proc_pack(ompi_proc_t **proclist, int proclistsize, opal_buffer_t *buf)
Pack proc list into portable buffer.
Definition: proc.c:411
OMPI_DECLSPEC int ompi_proc_unpack(opal_buffer_t *buf, int proclistsize, ompi_proc_t ***proclist, int *newproclistsize, ompi_proc_t ***newproclist)
Unpack a portable buffer of procs.
Definition: proc.c:493
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236
OMPI_DECLSPEC ompi_proc_t * ompi_proc_local_proc
Pointer to the ompi_proc_t structure for the local process.
Definition: proc.c:46