OpenMPI  0.1.1
runtime.h File Reference

Interface into the Open MPI Run Time Environment. More...

#include "orte_config.h"
#include "orte/util/proc_info.h"

Go to the source code of this file.

Functions

ORTE_DECLSPEC int orte_init (int *pargc, char ***pargv, orte_proc_type_t flags)
 Initialize the Open Run Time Environment. More...
 
ORTE_DECLSPEC int orte_register_params (void)
 Initialize parameters for ORTE. More...
 

Variables

BEGIN_C_DECLS ORTE_DECLSPEC
const char 
orte_version_string []
 version string of ompi
 
ORTE_DECLSPEC bool orte_initialized
 Whether ORTE is initialized or we are in orte_finalize.
 
ORTE_DECLSPEC bool orte_finalizing
 
ORTE_DECLSPEC int orte_debug_output
 
ORTE_DECLSPEC bool orte_debug_flag
 

Detailed Description

Interface into the Open MPI Run Time Environment.

Function Documentation

ORTE_DECLSPEC int orte_init ( int *  pargc,
char ***  pargv,
orte_proc_type_t  flags 
)

Initialize the Open Run Time Environment.

Initlize the Open Run Time Environment, including process control, malloc debugging and threads, and out of band messaging. This function should be called exactly once. This function should be called by every application using the RTE interface, including MPI applications and mpirun.

Parameters
pargcPointer to the number of arguments in the pargv array
pargvThe list of arguments.
flagsWhether we are ORTE tool or not

References opal_init(), orte_ess_base_open(), orte_ess_base_select(), orte_initialized, orte_locks_init(), orte_process_info, orte_register_params(), orte_show_help(), orte_show_help_init(), and orte_proc_info_t::proc_type.

Referenced by ompi_mpi_init().

ORTE_DECLSPEC int orte_register_params ( void  )