OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Macros | Typedefs | Functions | Variables
proc_info.h File Reference

Populates global structure with process-specific information. More...

`#include "orte_config.h"`
`#include "orte/types.h"`
`#include "opal/dss/dss_types.h"`
`#include "opal/mca/hwloc/hwloc.h"`

Go to the source code of this file.

## Data Structures
struct | orte_proc_info_t
| Process information structure. More...

## Macros
#define | ORTE_MAX_HOSTNAME_SIZE 512
#define | ORTE_PROC_TYPE_NONE 0x0000
#define | ORTE_PROC_SINGLETON 0x0001
#define | ORTE_PROC_DAEMON 0x0002
#define | ORTE_PROC_HNP 0x0004
#define | ORTE_PROC_TOOL 0x0008
#define | ORTE_PROC_NON_MPI 0x0010
#define | ORTE_PROC_MPI 0x0020
#define | ORTE_PROC_APP 0x0030
#define | ORTE_PROC_CM 0x0040
#define | ORTE_PROC_IOF_ENDPT 0x1000
#define | ORTE_PROC_SCHEDULER 0x2000
#define | ORTE_PROC_IS_SINGLETON (ORTE_PROC_SINGLETON & orte_process_info.proc_type)
#define | ORTE_PROC_IS_DAEMON (ORTE_PROC_DAEMON & orte_process_info.proc_type)
#define | ORTE_PROC_IS_HNP (ORTE_PROC_HNP & orte_process_info.proc_type)
#define | ORTE_PROC_IS_TOOL (ORTE_PROC_TOOL & orte_process_info.proc_type)
#define | ORTE_PROC_IS_NON_MPI (ORTE_PROC_NON_MPI & orte_process_info.proc_type)
#define | ORTE_PROC_IS_MPI (ORTE_PROC_MPI & orte_process_info.proc_type)
#define | ORTE_PROC_IS_APP (ORTE_PROC_APP & orte_process_info.proc_type)
#define | ORTE_PROC_IS_CM (ORTE_PROC_CM & orte_process_info.proc_type)
#define | ORTE_PROC_IS_IOF_ENDPT (ORTE_PROC_IOF_ENDPT & orte_process_info.proc_type)
#define | ORTE_PROC_IS_SCHEDULER (ORTE_PROC_SCHEDULER & orte_process_info.proc_type)

## Typedefs
typedef uint32_t | orte_proc_type_t
typedef struct orte_proc_info_t | orte_proc_info_t

## Functions
ORTE_DECLSPEC int | orte_proc_info (void)
ORTE_DECLSPEC int | orte_proc_info_finalize (void)

## Variables
ORTE_DECLSPEC orte_proc_info_t | orte_process_info
| Global process info descriptor. More...

## Detailed Description

Populates global structure with process-specific information.

## Variable Documentation

ORTE_DECLSPEC orte_proc_info_t orte_process_info

Global process info descriptor.

Initialized to almost no meaningful information - data is provided by calling `orte_rte_init()` (which calls `orte_proc_info()` to fill in the structure).

The exception to this rule is the `orte_process_info.seed` field, which will be initialized to `false`, but should be set to `true` before calling `orte_rte_info()` if the caller is a seed daemon.

Referenced by mca_oob_tcp_init(), mca_oob_tcp_resolve(), ompi_mpi_abort(), ompi_mpi_finalize(), ompi_mpi_init(), ompi_proc_complete_init(), ompi_proc_init(), ompi_proc_refresh(), ompi_proc_unpack(), orte_ess_base_orted_setup(), orte_init(), orte_plm_base_orted_append_basic_args(), orte_plm_submit_launch(), orte_register_params(), orte_rml_base_update_contact_info(), orte_session_dir(), orte_session_dir_cleanup(), orte_session_dir_finalize(), orte_show_help_norender(), and orte_show_help_suppress().