openmpi  3.1.6
About: Open MPI is a high performance Message Passing Interface (MPI) library project combining technologies and resources from several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best MPI library available. 3.x series.
  Fossies Dox: openmpi-3.1.6.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

output.c File Reference
#include <src/include/pmix_config.h>
#include <pmix_common.h>
#include <stdio.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include "src/util/pmix_environ.h"
#include "src/util/error.h"
#include "src/util/output.h"
Include dependency graph for output.c:

Go to the source code of this file.

Data Structures

struct  output_desc_t
 

Macros

#define PMIX_OUTPUT_MAX_STREAMS   64
 
#define USE_SYSLOG   0
 

Functions

static void construct (pmix_object_t *stream)
 
static void destruct (pmix_object_t *stream)
 
static int do_open (int output_id, pmix_output_stream_t *lds)
 
static int open_file (int i)
 
static void free_descriptor (int output_id)
 
static int make_string (char **out, char **no_newline_string, output_desc_t *ldi, const char *format, va_list arglist)
 
static int output (int output_id, const char *format, va_list arglist)
 
 PMIX_CLASS_INSTANCE (pmix_output_stream_t, pmix_object_t, construct, destruct)
 
bool pmix_output_init (void)
 Initializes the output stream system and opens a default "verbose" stream. More...
 
int pmix_output_open (pmix_output_stream_t *lds)
 Opens an output stream. More...
 
int pmix_output_reopen (int output_id, pmix_output_stream_t *lds)
 Re-opens / redirects an output stream. More...
 
bool pmix_output_switch (int output_id, bool enable)
 Enables and disables output streams. More...
 
void pmix_output_reopen_all (void)
 
void pmix_output_close (int output_id)
 Close an output stream. More...
 
PMIX_EXPORT void pmix_output (int output_id, const char *format,...)
 
PMIX_EXPORT void pmix_output_verbose (int level, int output_id, const char *format,...)
 
void pmix_output_vverbose (int level, int output_id, const char *format, va_list arglist)
 
void pmix_output_set_verbosity (int output_id, int level)
 Set the verbosity level for a stream. More...
 
void pmix_output_set_output_file_info (const char *dir, const char *prefix, char **olddir, char **oldprefix)
 Set characteristics for output files. More...
 
void pmix_output_hexdump (int verbose_level, int output_id, void *ptr, int buflen)
 Same as pmix_output_verbose(), but pointer to buffer and size. More...
 
void pmix_output_finalize (void)
 Shut down the output stream system. More...
 
int pmix_output_get_verbosity (int output_id)
 Get the verbosity level for a stream. More...
 

Variables

static int verbose_stream = -1
 
static pmix_output_stream_t verbose
 
static char * output_dir = NULL
 
static char * output_prefix = NULL
 
bool pmix_output_redirected_to_syslog = false
 
int pmix_output_redirected_syslog_pri = 0
 
static bool initialized = false
 
static int default_stderr_fd = -1
 
static output_desc_t info [64]
 
static char * redirect_syslog_ident = NULL
 

Macro Definition Documentation

◆ PMIX_OUTPUT_MAX_STREAMS

#define PMIX_OUTPUT_MAX_STREAMS   64

Definition at line 99 of file output.c.

◆ USE_SYSLOG

#define USE_SYSLOG   0

Definition at line 103 of file output.c.

Function Documentation

◆ construct()

◆ destruct()

static void destruct ( pmix_object_t stream)
static

Definition at line 487 of file output.c.

References free(), pmix_output_stream_t::lds_file_suffix, and NULL.

◆ do_open()

◆ free_descriptor()

◆ make_string()

static int make_string ( char **  out,
char **  no_newline_string,
output_desc_t ldi,
const char *  format,
va_list  arglist 
)
static

Definition at line 777 of file output.c.

References output_desc_t::ldi_prefix, output_desc_t::ldi_suffix, NULL, out, snprintf, temp_str, temp_str_len, and vasprintf.

Referenced by output().

◆ open_file()

◆ output()

◆ PMIX_CLASS_INSTANCE()

PMIX_CLASS_INSTANCE ( pmix_output_stream_t  ,
pmix_object_t  ,
construct  ,
destruct   
)

◆ pmix_output()

PMIX_EXPORT void pmix_output ( int  output_id,
const char *  format,
  ... 
)

Definition at line 321 of file output.c.

References output(), and PMIX_OUTPUT_MAX_STREAMS.

Referenced by _esh_session_init(), client_hndshk(), find_topic(), grow_table(), guess_strlen(), if_bsdx_ipv6_open(), if_bsdx_open(), if_linux_ipv6_open(), if_posix_open(), if_solaris_ipv6_open(), listen_thread(), lookup_proc(), make_opt(), open_file(), pack_val(), parse_error(), parse_verbose(), pmix12_bfrop_value_cmp(), pmix12_bfrop_value_xfer(), pmix20_bfrop_unpack_buffer(), pmix20_bfrop_value_cmp(), pmix20_bfrop_value_xfer(), pmix_bfrop_base_select(), pmix_bfrops_base_pack_darray(), pmix_bfrops_base_pack_val(), pmix_bfrops_base_unpack_buffer(), pmix_bfrops_base_unpack_val(), pmix_bfrops_base_value_cmp(), pmix_bfrops_base_value_xfer(), pmix_gds_base_select(), pmix_hash_table_get_value_ptr(), pmix_hash_table_get_value_uint32(), pmix_hash_table_get_value_uint64(), pmix_hash_table_remove_value_ptr(), pmix_hash_table_remove_value_uint32(), pmix_hash_table_remove_value_uint64(), pmix_hash_table_set_value_ptr(), pmix_hash_table_set_value_uint32(), pmix_hash_table_set_value_uint64(), pmix_hotel_checkout_and_return_occupant(), pmix_hotel_knock(), pmix_mca_base_component_repository_init(), pmix_mca_base_var_cache_files(), pmix_pnet_base_select(), pmix_pointer_array_set_item(), pmix_pointer_array_test_and_set_item(), pmix_preg_base_select(), pmix_psec_base_select(), pmix_psensor_base_select(), pmix_ptl_base_connect(), pmix_ptl_base_process_msg(), pmix_ptl_base_recv_handler(), pmix_ptl_base_select(), pmix_ptl_base_set_blocking(), pmix_ptl_base_set_nonblocking(), pmix_ptr_ltop(), pmix_show_vhelp_internal(), pmix_usock_recv_handler(), pmix_usock_send_handler(), pmix_util_get_ranges(), pmix_value_array_remove_item(), pmix_value_array_set_size(), pmix_value_cmp(), put_data_to_the_end(), resolve_relative_paths(), send_bytes(), send_msg(), server_hndshk(), setup_listener(), try_connect(), and unpack_val().

◆ pmix_output_close()

void pmix_output_close ( int  output_id)

Close an output stream.

Parameters
output_idHandle of the stream to close.

Close an output stream. No output will be sent to the stream after it is closed. Be aware that output handles tend to be re-used; it is possible that after a stream is closed, if another stream is opened, it will get the same handle value.

Definition at line 283 of file output.c.

References free_descriptor(), info, initialized, and PMIX_OUTPUT_MAX_STREAMS.

Referenced by framework_close_output(), framework_open_output(), pmix_mca_base_close(), pmix_output_finalize(), and pmix_show_help_finalize().

◆ pmix_output_finalize()

void pmix_output_finalize ( void  )

Shut down the output stream system.

Shut down the output stream system, including the default verbose stream.

Definition at line 450 of file output.c.

References free(), initialized, pmix_output_stream_t::lds_prefix, output_dir, output_prefix, PMIX_DESTRUCT, pmix_output_close(), verbose, and verbose_stream.

Referenced by pmix_rte_finalize().

◆ pmix_output_get_verbosity()

int pmix_output_get_verbosity ( int  output_id)

Get the verbosity level for a stream.

Parameters
output_idStream id returned from pmix_output_open()
Returns
Verbosity of stream

Definition at line 951 of file output.c.

References info, output_desc_t::ldi_verbose_level, and PMIX_OUTPUT_MAX_STREAMS.

Referenced by file_sample(), if_bsdx_ipv6_open(), pmix_bfrop_base_select(), pmix_gds_base_select(), pmix_pnet_base_select(), pmix_preg_base_select(), pmix_psec_base_select(), pmix_psensor_base_select(), and pmix_ptl_base_select().

◆ pmix_output_hexdump()

void pmix_output_hexdump ( int  verbose_level,
int  output_id,
void *  ptr,
int  buflen 
)

Same as pmix_output_verbose(), but pointer to buffer and size.

Definition at line 396 of file output.c.

References info, PMIX_OUTPUT_MAX_STREAMS, pmix_output_verbose(), and verbose_level.

Referenced by get_cbfunc().

◆ pmix_output_init()

bool pmix_output_init ( void  )

Initializes the output stream system and opens a default "verbose" stream.

Return values
trueUpon success.
falseUpon failure.

This should be the first function invoked in the output subsystem. After this call, the default "verbose" stream is open and can be written to via calls to pmix_output_verbose() and pmix_output_error().

By definition, the default verbose stream has a handle ID of 0, and has a verbose level of 0.

Definition at line 125 of file output.c.

References asprintf, default_stderr_fd, info, initialized, output_desc_t::ldi_enabled, output_desc_t::ldi_fd, output_desc_t::ldi_file, output_desc_t::ldi_file_num_lines_lost, output_desc_t::ldi_file_suffix, output_desc_t::ldi_file_want_append, output_desc_t::ldi_syslog, output_desc_t::ldi_used, pmix_output_stream_t::lds_prefix, pmix_output_stream_t::lds_syslog_ident, pmix_output_stream_t::lds_syslog_priority, pmix_output_stream_t::lds_want_stderr, pmix_output_stream_t::lds_want_stdout, pmix_output_stream_t::lds_want_syslog, NULL, output_dir, output_prefix, PMIX_CONSTRUCT, PMIX_MAXHOSTNAMELEN, PMIX_OUTPUT_MAX_STREAMS, pmix_output_open(), pmix_output_redirected_syslog_pri, pmix_output_redirected_to_syslog, pmix_tmp_directory(), redirect_syslog_ident, verbose, and verbose_stream.

Referenced by do_open(), output(), pmix_output_switch(), and pmix_rte_init().

◆ pmix_output_open()

int pmix_output_open ( pmix_output_stream_t lds)

Opens an output stream.

Parameters
ldsA pointer to pmix_output_stream_t describing what the characteristics of the output stream should be.

This function opens an output stream and returns an integer handle. The caller is responsible for maintaining the handle and using it in successive calls to PMIX_OUTPUT(), pmix_output(), pmix_output_switch(), and pmix_output_close().

If lds is NULL, the default descriptions will be used, meaning that output will only be sent to stderr.

It is safe to have multiple threads invoke this function simultaneously; their execution will be serialized in an unspecified manner.

Be sure to see pmix_output() for a description of what happens when open_open() / pmix_output() is directed to send output to a file but the process session directory does not yet exist.

Definition at line 216 of file output.c.

References do_open().

Referenced by framework_open_output(), PMIx_Init(), pmix_output_init(), pmix_rte_init(), pmix_server_initialize(), and pmix_show_help_init().

◆ pmix_output_reopen()

int pmix_output_reopen ( int  output_id,
pmix_output_stream_t lds 
)

Re-opens / redirects an output stream.

Parameters
output_idStream handle to reopen
ldsA pointer to pmix_output_stream_t describing what the characteristics of the reopened output stream should be.

This function redirects an existing stream into a new [set of] location[s], as specified by the lds parameter. If the output_id passed is invalid, this call is effectively the same as opening a new stream with a specific stream handle.

Definition at line 225 of file output.c.

References do_open().

Referenced by pmix_mca_base_open().

◆ pmix_output_reopen_all()

void pmix_output_reopen_all ( void  )

◆ pmix_output_set_output_file_info()

void pmix_output_set_output_file_info ( const char *  dir,
const char *  prefix,
char **  olddir,
char **  oldprefix 
)

Set characteristics for output files.

Parameters
dirDirectory where output files will go
olddirIf non-NULL, the directory where output files were previously opened
prefixPrefix of files in the output directory
oldprefixIf non-NULL, the old prefix

This function controls the final filename used for all new output streams that request output files. Specifically, when pmix_output_stream_t::lds_want_file is true, the output filename will be of the form $dir/$prefix$suffix.

The default value for the output directory is whatever is specified in the TMPDIR environment variable if it exists, or $HOME if it does not. The default value for the prefix is "output-pid<pid>-" (where "<pid>" is replaced by the PID of the current process).

If dir or prefix are NULL, new values are not set. The strings represented by dir and prefix are copied into internal storage; it is safe to pass string constants or free() these values after pmix_output_set_output_file_info() returns.

If olddir or oldprefix are not NULL, copies of the old directory and prefix (respectively) are returned in these parameters. The caller is responsible for calling (free) on these values. This allows one to get the old values, output an output file in a specific directory and/or with a specific prefix, and then restore the old values.

Note that this function only affects the creation of new streams – streams that have already started writing to output files are not affected (i.e., their output files are not moved to the new directory). More specifically, the pmix_output system only opens/creates output files lazily – so calling this function affects both new streams and any stream that was previously opened but had not yet output anything.

Definition at line 374 of file output.c.

References free(), NULL, output_dir, output_prefix, and prefix.

◆ pmix_output_set_verbosity()

void pmix_output_set_verbosity ( int  output_id,
int  level 
)

Set the verbosity level for a stream.

Parameters
output_idStream id returned from pmix_output_open().
levelNew verbosity level

This function sets the verbosity level on a given stream. It will be used for all future invocations of pmix_output_verbose().

Definition at line 363 of file output.c.

References info, output_desc_t::ldi_verbose_level, and PMIX_OUTPUT_MAX_STREAMS.

Referenced by framework_open_output(), PMIx_Init(), pmix_rte_init(), and pmix_server_initialize().

◆ pmix_output_switch()

bool pmix_output_switch ( int  output_id,
bool  enable 
)

Enables and disables output streams.

Parameters
output_idStream handle to switch
enableBoolean indicating whether to enable the stream output or not.
Returns
The previous enable state of the stream (true == enabled, false == disabled).

The output of a stream can be temporarily disabled by passing an enable value to false, and later resumed by passing an enable value of true. This does not close the stream – it simply tells the pmix_output subsystem to intercept and discard any output sent to the stream via PMIX_OUTPUT() or pmix_output() until the output is re-enabled.

Definition at line 234 of file output.c.

References info, initialized, output_desc_t::ldi_enabled, pmix_output_init(), and PMIX_OUTPUT_MAX_STREAMS.

◆ pmix_output_verbose()

PMIX_EXPORT void pmix_output_verbose ( int  level,
int  output_id,
const char *  format,
  ... 
)

Definition at line 335 of file output.c.

References info, output(), and PMIX_OUTPUT_MAX_STREAMS.

Referenced by _add_hdlr(), _cnct(), _deregister_client(), _deregister_nspace(), _discnct(), _dmodex_req(), _dstor_store_modex_cb(), _getnb_cbfunc(), _getnbfn(), _hash_store_modex(), _mdxcbfunc(), _mmap_segment_attach(), _mmap_segment_create(), _mmap_segment_detach(), _mmap_segment_unlink(), _notify_client_event(), _process_dmdx_reply(), _register_client(), _register_nspace(), _satisfy_request(), _store_data_for_rank(), alloc_cbfunc(), assign_module(), client_hndshk(), cnct_cbfunc(), connect_timeout(), connect_to_peer(), connection_handler(), create_cred(), df_search(), discnct_cbfunc(), dmdx_cbfunc(), fence_timeout(), fetch_appinfo(), fetch_nodeinfo(), fin_timeout(), finwait_cbfunc(), get_cbfunc(), get_timeout(), get_tracker(), hash_cache_job_info(), hash_fetch(), hash_finalize(), hash_init(), hash_register_job_info(), hash_store(), hash_store_job_info(), if_bsdx_ipv6_open(), if_linux_ipv6_open(), if_posix_open(), jctrl_cbfunc(), listen_thread(), listener_cb(), modex_cbfunc(), monitor_cbfunc(), munge_finalize(), munge_init(), native_finalize(), native_init(), new_tracker(), none_finalize(), none_init(), notification_fn(), notify_server_of_event(), notifyerror_cbfunc(), open_components(), parse_uri_file(), PMI2_KVS_Fence(), PMI2_KVS_Get(), PMI2_KVS_Put(), PMI_KVS_Commit(), PMI_KVS_Get(), PMI_KVS_Put(), pmix12_bfrop_pack_bool(), pmix12_bfrop_pack_buffer(), pmix12_bfrop_pack_byte(), pmix12_bfrop_pack_int16(), pmix12_bfrop_pack_int32(), pmix12_bfrop_pack_int64(), pmix12_bfrop_unpack(), pmix12_bfrop_unpack_app(), pmix12_bfrop_unpack_array(), pmix12_bfrop_unpack_bo(), pmix12_bfrop_unpack_bool(), pmix12_bfrop_unpack_buffer(), pmix12_bfrop_unpack_byte(), pmix12_bfrop_unpack_double(), pmix12_bfrop_unpack_float(), pmix12_bfrop_unpack_info(), pmix12_bfrop_unpack_int16(), pmix12_bfrop_unpack_int32(), pmix12_bfrop_unpack_int64(), pmix12_bfrop_unpack_kval(), pmix12_bfrop_unpack_modex(), pmix12_bfrop_unpack_pdata(), pmix12_bfrop_unpack_proc(), pmix12_bfrop_unpack_time(), pmix12_bfrop_unpack_timeval(), pmix20_bfrop_pack_bool(), pmix20_bfrop_pack_buffer(), pmix20_bfrop_pack_byte(), pmix20_bfrop_pack_int16(), pmix20_bfrop_pack_int32(), pmix20_bfrop_pack_int64(), pmix20_bfrop_unpack(), pmix20_bfrop_unpack_app(), pmix20_bfrop_unpack_array(), pmix20_bfrop_unpack_bo(), pmix20_bfrop_unpack_bool(), pmix20_bfrop_unpack_buffer(), pmix20_bfrop_unpack_byte(), pmix20_bfrop_unpack_darray(), pmix20_bfrop_unpack_double(), pmix20_bfrop_unpack_float(), pmix20_bfrop_unpack_info(), pmix20_bfrop_unpack_int16(), pmix20_bfrop_unpack_int32(), pmix20_bfrop_unpack_int64(), pmix20_bfrop_unpack_kval(), pmix20_bfrop_unpack_modex(), pmix20_bfrop_unpack_pdata(), pmix20_bfrop_unpack_pinfo(), pmix20_bfrop_unpack_proc(), pmix20_bfrop_unpack_query(), pmix20_bfrop_unpack_status(), pmix20_bfrop_unpack_time(), pmix20_bfrop_unpack_timeval(), pmix21_bfrop_unpack_array(), pmix21_bfrop_unpack_modex(), PMIx_Abort(), PMIx_Allocation_request_nb(), pmix_bfrop_base_select(), pmix_bfrops_base_pack_bool(), pmix_bfrops_base_pack_buffer(), pmix_bfrops_base_pack_byte(), pmix_bfrops_base_pack_int16(), pmix_bfrops_base_pack_int32(), pmix_bfrops_base_pack_int64(), pmix_bfrops_base_unpack(), pmix_bfrops_base_unpack_app(), pmix_bfrops_base_unpack_bo(), pmix_bfrops_base_unpack_bool(), pmix_bfrops_base_unpack_buffer(), pmix_bfrops_base_unpack_byte(), pmix_bfrops_base_unpack_darray(), pmix_bfrops_base_unpack_double(), pmix_bfrops_base_unpack_float(), pmix_bfrops_base_unpack_info(), pmix_bfrops_base_unpack_int16(), pmix_bfrops_base_unpack_int32(), pmix_bfrops_base_unpack_int64(), pmix_bfrops_base_unpack_kval(), pmix_bfrops_base_unpack_pdata(), pmix_bfrops_base_unpack_pinfo(), pmix_bfrops_base_unpack_proc(), pmix_bfrops_base_unpack_query(), pmix_bfrops_base_unpack_status(), pmix_bfrops_base_unpack_time(), pmix_bfrops_base_unpack_timeval(), pmix_client_notify_recv(), pmix_common_dstor_add_nspace(), pmix_common_dstor_fetch(), pmix_common_dstor_init(), pmix_common_dstor_register_job_info(), pmix_common_dstor_setup_fork(), pmix_common_dstor_store(), pmix_common_dstor_store_job_info(), PMIx_Connect(), PMIx_Connect_nb(), PMIx_Deregister_event_handler(), PMIx_Disconnect(), PMIx_Disconnect_nb(), pmix_execute_epilog(), PMIx_Fence(), PMIx_Fence_nb(), PMIx_Finalize(), pmix_gds_base_select(), PMIx_Get(), PMIx_Get_nb(), pmix_hash_fetch(), pmix_hash_fetch_by_key(), pmix_hash_store(), PMIx_Init(), pmix_invoke_local_event_hdlr(), PMIx_Job_control_nb(), PMIx_Log_nb(), PMIx_Lookup(), PMIx_Lookup_nb(), pmix_mca_base_component_close(), pmix_mca_base_component_find(), pmix_mca_base_component_repository_open(), pmix_mca_base_component_unload(), pmix_mca_base_components_filter(), pmix_mca_base_open(), pmix_mca_base_select(), PMIx_Notify_event(), pmix_output_hexdump(), pmix_pnet_base_select(), pmix_preg_base_select(), PMIx_Process_monitor_nb(), pmix_psec_base_select(), pmix_psensor_base_select(), pmix_psensor_base_start(), pmix_psensor_base_stop(), pmix_pshmem_base_select(), pmix_ptl_base_connect(), pmix_ptl_base_process_msg(), pmix_ptl_base_recv_blocking(), pmix_ptl_base_recv_handler(), pmix_ptl_base_select(), pmix_ptl_base_send(), pmix_ptl_base_send_blocking(), pmix_ptl_base_send_handler(), pmix_ptl_base_send_recv(), pmix_ptl_base_set_notification_cbfunc(), pmix_ptl_base_stop_listening(), PMIx_Publish(), PMIx_Publish_nb(), PMIx_Put(), PMIx_Query_info_nb(), PMIx_Register_event_handler(), pmix_server_abort(), pmix_server_alloc(), pmix_server_commit(), pmix_server_connect(), PMIx_server_deregister_client(), pmix_server_deregister_events(), PMIx_server_deregister_nspace(), PMIx_server_dmodex_request(), pmix_server_event_recvd_from_client(), pmix_server_execute_collective(), pmix_server_fence(), PMIx_server_finalize(), pmix_server_get(), PMIx_server_init(), pmix_server_initialize(), pmix_server_job_ctrl(), pmix_server_log(), pmix_server_lookup(), pmix_server_message_handler(), pmix_server_monitor(), pmix_server_notify_client_of_event(), pmix_server_publish(), pmix_server_query(), PMIx_server_register_client(), pmix_server_register_events(), PMIx_server_setup_fork(), pmix_server_spawn(), pmix_server_unpublish(), PMIx_Spawn(), PMIx_Spawn_nb(), PMIx_tool_finalize(), PMIx_tool_init(), pmix_tool_notify_recv(), PMIx_Unpublish(), PMIx_Unpublish_nb(), pmix_usock_recv_handler(), pmix_usock_send(), pmix_usock_send_handler(), pmix_usock_send_recv(), pmix_util_getid(), post_recv(), process_app_array(), process_cbfunc(), process_job_array(), process_node_array(), query_cbfunc(), read_bytes(), recv_connect_ack(), reg_event_hdlr(), regevents_cbfunc(), register_components(), relcbfunc(), send_connect_ack(), send_recv(), server_hndshk(), server_switchyard(), setup_listener(), simple_finalize(), simple_init(), split_and_resolve(), store_map(), try_connect(), unpack_return(), validate_cred(), wait_cbfunc(), and wait_lookup_cbfunc().

◆ pmix_output_vverbose()

void pmix_output_vverbose ( int  level,
int  output_id,
const char *  format,
va_list  arglist 
)

Definition at line 350 of file output.c.

References info, output(), and PMIX_OUTPUT_MAX_STREAMS.

Variable Documentation

◆ default_stderr_fd

int default_stderr_fd = -1
static

Definition at line 113 of file output.c.

Referenced by output(), pmix_output_init(), and pmix_output_reopen_all().

◆ info

output_desc_t info[64]
static

Definition at line 114 of file output.c.

Referenced by _check_for_notify(), _deregister_client(), _deregister_events(), _dmodex_req(), _dstore_fetch(), _getfn_fastpath(), _pack_get(), _register_client(), _register_events(), _store_job_info(), _update_ns_elem(), Intracomm::Accept(), mpi.Intracomm::accept(), ADIO_Open(), ADIO_Set_view(), ADIOI_BG_ConfInfo_free(), ADIOI_BG_ProcInfo_free(), ADIOI_GEN_SetInfo(), ADIOI_GPFS_SetInfo(), ADIOI_incorporate_system_hints(), ADIOI_Info_check_and_install_enabled(), ADIOI_Info_check_and_install_int(), ADIOI_Info_check_and_install_str(), ADIOI_Info_check_and_install_true(), ADIOI_Info_print_keyvals(), ADIOI_process_system_hints(), alloc_cbfunc(), alloc_window(), check_components(), check_config_value_bool(), check_config_value_equal(), check_one_component(), component_select(), Intracomm::Connect(), mpi.Intracomm::connect(), connect_to_peer(), connection_handler(), Win::Create(), create_local_tracker(), mpi.Intracomm::createDistGraph(), mpi.Intracomm::createDistGraphAdjacent(), data_type_string(), File::Delete(), mpi.File::delete(), delete_file(), delete_select(), df_search(), do_open(), dohash(), ds12_add_nspace(), ds12_assign_module(), ds12_fetch(), ds12_init(), ds21_add_nspace(), ds21_assign_module(), ds21_fetch(), ds21_init(), mpi.CartComm::dupWithInfo(), mpi.Comm::dupWithInfo(), mpi.GraphComm::dupWithInfo(), mpi.Intercomm::dupWithInfo(), mpi.Intracomm::dupWithInfo(), dvm_notify(), evhandler(), fetch_appinfo(), fetch_nodeinfo(), mpi.File::File(), file_to_info_all(), filter_module(), finalize(), free_descriptor(), hash_assign_module(), hash_cache_job_info(), hash_fetch(), hash_store_job_info(), hwloc_cuda_backend_notify_new_object(), hwloc_cuda_query_devices(), hwloc_fallback_nbprocessors(), hwloc_gl_backend_disable(), hwloc_gl_backend_notify_new_object(), hwloc_gl_query_devices(), hwloc_nvml_backend_notify_new_object(), hwloc_nvml_query_devices(), hwloc_opencl_backend_notify_new_object(), hwloc_opencl_query_devices(), hwloc_x86_add_cpuinfos(), info_cbfunc(), info_con(), info_constructor(), info_des(), info_destructor(), info_find_key(), infocb(), infocbfunc(), init_local_modex_part1(), Java_mpi_Comm_dupWithInfo(), Java_mpi_Comm_getInfo(), Java_mpi_Comm_setInfo(), Java_mpi_File_delete(), Java_mpi_File_getInfo(), Java_mpi_File_open(), Java_mpi_File_setInfo(), Java_mpi_File_setView(), Java_mpi_Info_create(), Java_mpi_Info_free(), Java_mpi_Info_get(), Java_mpi_Intracomm_accept(), Java_mpi_Intracomm_connect(), Java_mpi_Intracomm_createDistGraph(), Java_mpi_Intracomm_createDistGraphAdjacent(), Java_mpi_Intracomm_lookupName(), Java_mpi_Intracomm_openPort(), Java_mpi_Intracomm_publishName(), Java_mpi_Intracomm_spawn(), Java_mpi_Intracomm_spawnMultiple(), Java_mpi_Intracomm_splitType(), Java_mpi_Intracomm_unpublishName(), Java_mpi_Win_allocateSharedWin(), Java_mpi_Win_allocateWin(), Java_mpi_Win_createDynamicWin(), Java_mpi_Win_createWin(), Java_mpi_Win_getInfo(), Java_mpi_Win_setInfo(), jctrl_cbfunc(), mpi.Intracomm::lookupName(), main(), mca_common_ompio_file_open(), mca_fs_lustre_file_open(), mca_fs_pvfs2_file_open(), mca_io_base_delete(), mca_io_ompio_file_open(), mca_io_ompio_file_set_view(), mca_io_romio314_dist_MPI_File_delete(), mca_io_romio314_dist_MPI_File_open(), mca_io_romio314_dist_MPI_File_set_info(), mca_io_romio314_dist_MPI_File_set_view(), mca_io_romio314_file_open(), mca_io_romio314_file_set_info(), mca_io_romio314_file_set_view(), mca_mpool_hugepage_find_hugepages(), mca_osc_monitoring_component_select(), mca_patcher_linux_phdr_iterator(), mca_pml_ucx_improbe(), mca_pml_ucx_iprobe(), mca_pml_ucx_mprobe(), mca_pml_ucx_precv_completion(), mca_pml_ucx_probe(), mca_pml_ucx_recv(), mca_pml_ucx_recv_completion(), mca_pml_ucx_set_recv_status(), mca_pml_ucx_set_recv_status_safe(), mca_sharedfp_individual_component_file_query(), mca_sharedfp_individual_file_open(), mca_sharedfp_lockedfile_file_open(), mca_sharedfp_sm_file_open(), mca_topo_base_dist_graph_create(), mca_topo_base_dist_graph_create_adjacent(), model_callback(), monitor_cbfunc(), MPI_Alloc_mem(), MPI_Comm_accept(), MPI_Comm_connect(), MPI_Comm_dup_with_info(), MPI_Comm_set_info(), MPI_Comm_spawn(), MPI_Comm_split_type(), MPI_Dist_graph_create(), MPI_Dist_graph_create_adjacent(), mpi_file_delete(), MPI_File_delete(), MPI_File_open(), mpi_file_open(), MPI_File_set_info(), mpi_file_set_info(), MPI_File_set_view(), mpi_file_set_view(), MPI_Info_c2f(), MPI_Info_create(), MPI_Info_delete(), MPI_Info_dup(), MPI_Info_f2c(), MPI_Info_free(), MPI_Info_get(), MPI_Info_get_nkeys(), MPI_Info_get_nthkey(), MPI_Info_get_valuelen(), MPI_Info_set(), MPI_Lookup_name(), MPI_Open_port(), MPI_Publish_name(), MPI_Unpublish_name(), MPI_Win_allocate(), MPI_Win_allocate_shared(), MPI_Win_create(), MPI_Win_create_dynamic(), MPI_Win_set_info(), mqs_destroy_image_info(), mycbfunc(), myerr(), new_tracker(), notification_fn(), notify_event(), notify_server_of_event(), ompi_alloc_mem_cptr_f(), ompi_comm_allreduce_pmix_reduce_complete(), ompi_comm_idup_internal(), ompi_comm_idup_with_info(), ompi_comm_split_type(), OMPI_CR_Migrate(), ompi_crcp_base_quiesce_end(), ompi_crcp_base_quiesce_start(), ompi_dpm_connect_accept(), ompi_dpm_spawn(), ompi_file_open(), OMPI_GENERATE_F77_BINDINGS(), ompi_info_delete(), ompi_info_dup(), ompi_info_dup_mpistandard(), ompi_info_free(), ompi_info_get(), ompi_info_get_bool(), ompi_info_get_nkeys(), ompi_info_get_nthkey(), ompi_info_get_value_enum(), ompi_info_get_valuelen(), ompi_info_is_freed(), ompi_info_set(), ompi_info_set_value_enum(), ompi_interlib_declare(), ompi_mpi_init(), ompi_mpiinfo_finalize(), ompi_osc_base_select(), ompi_osc_portals4_get_info(), ompi_osc_pt2pt_get_info(), ompi_osc_rdma_component_select(), ompi_osc_sm_get_info(), ompi_win_allocate(), ompi_win_allocate_cptr_f(), ompi_win_allocate_shared(), ompi_win_allocate_shared_cptr_f(), ompi_win_create(), ompi_win_create_dynamic(), opal_dss_close(), opal_dss_compare(), opal_dss_copy(), opal_dss_get_data_type(), opal_dss_lookup_data_type(), opal_dss_pack_buffer(), opal_dss_print(), opal_dss_register(), opal_dss_store_data_type(), opal_dss_structured(), opal_dss_unpack_buffer(), opal_info_delete(), opal_info_dup(), opal_info_dup_mode(), opal_info_dup_mpistandard(), opal_info_get(), opal_info_get_bool(), opal_info_get_nkeys(), opal_info_get_nolock(), opal_info_get_nthkey(), opal_info_get_value_enum(), opal_info_get_valuelen(), opal_info_set(), opal_info_set_nolock(), opal_info_set_value_enum(), opal_pmix_base_evhandler(), opal_pmix_base_exchange(), File::Open(), open_file(), mpi.Intracomm::openPort(), orte_ess_base_tool_setup(), orte_pmix_server_register_nspace(), orte_show_help_norender(), orte_sstore_central_app_snapshot_info_construct(), orte_sstore_central_app_snapshot_info_destruct(), orte_sstore_central_global_snapshot_info_construct(), orte_sstore_central_global_snapshot_info_destruct(), orte_sstore_central_local_app_snapshot_info_construct(), orte_sstore_central_local_app_snapshot_info_destruct(), orte_sstore_central_local_snapshot_info_construct(), orte_sstore_central_local_snapshot_info_destruct(), orte_sstore_stage_app_snapshot_info_construct(), orte_sstore_stage_app_snapshot_info_destruct(), orte_sstore_stage_global_snapshot_info_construct(), orte_sstore_stage_global_snapshot_info_destruct(), orte_sstore_stage_local_app_snapshot_info_construct(), orte_sstore_stage_local_app_snapshot_info_destruct(), orte_sstore_stage_local_snapshot_info_construct(), orte_sstore_stage_local_snapshot_info_destruct(), orte_state_base_check_fds(), output(), pack_fence(), PMI2_Info_GetJobAttr(), PMI2_Info_GetNodeAttr(), PMI2_Info_GetSize(), PMI2_Init(), PMI2_Job_Spawn(), PMI2_KVS_Fence(), PMI2_Nameserv_publish(), PMI_Barrier(), pmi_fence(), PMI_Get_appnum(), PMI_Get_clique_size(), PMI_Get_size(), PMI_Get_universe_size(), PMI_Init(), PMI_Publish_name(), PMI_Spawn_multiple(), pmix12_bfrop_copy(), pmix12_bfrop_pack_app(), pmix12_bfrop_pack_buffer(), pmix12_bfrop_pack_info(), pmix12_bfrop_print(), pmix12_bfrop_unpack_app(), pmix12_bfrop_unpack_buffer(), pmix1_fence(), pmix1_fencenb(), pmix1_get(), pmix1_getnb(), pmix1_lookup(), pmix1_lookupnb(), pmix1_publish(), pmix1_publishnb(), pmix1_server_init(), pmix1_server_notify_error(), pmix1_server_register_nspace(), pmix1_spawn(), pmix1_spawnnb(), pmix1_unpublish(), pmix1_unpublishnb(), pmix20_bfrop_copy(), pmix20_bfrop_copy_darray(), pmix20_bfrop_pack_app(), pmix20_bfrop_pack_buffer(), pmix20_bfrop_pack_info(), pmix20_bfrop_print(), pmix20_bfrop_unpack_app(), pmix20_bfrop_unpack_buffer(), pmix20_bfrop_value_xfer(), pmix2x_event_hdlr(), pmix2x_fence(), pmix2x_get(), pmix2x_getnb(), pmix2x_log(), pmix2x_lookup(), pmix2x_lookupnb(), pmix2x_publish(), pmix2x_publishnb(), pmix2x_server_init(), pmix2x_server_notify_event(), pmix2x_server_register_nspace(), pmix2x_spawn(), pmix2x_spawnnb(), pmix2x_tool_init(), pmix2x_unpublish(), pmix2x_unpublishnb(), pmix2x_value_load(), PMIx_Allocation_request_nb(), pmix_bfrops_base_copy(), pmix_bfrops_base_copy_darray(), pmix_bfrops_base_data_type_string(), pmix_bfrops_base_pack_app(), pmix_bfrops_base_pack_buffer(), pmix_bfrops_base_pack_info(), pmix_bfrops_base_print(), pmix_bfrops_base_unpack_app(), pmix_bfrops_base_unpack_buffer(), pmix_common_dstor_add_nspace(), pmix_common_dstor_fetch(), pmix_common_dstor_init(), PMIx_Connect(), PMIx_Connect_nb(), PMIx_Disconnect(), PMIx_Disconnect_nb(), PMIx_Fence(), PMIx_Fence_nb(), PMIx_Finalize(), pmix_gds_base_assign_module(), pmix_gds_base_select(), PMIx_Get(), PMIx_Get_nb(), pmix_hash_fetch(), PMIx_Init(), PMIx_Lookup(), PMIx_Lookup_nb(), PMIx_Notify_event(), pmix_output_close(), pmix_output_get_verbosity(), pmix_output_hexdump(), pmix_output_init(), pmix_output_set_verbosity(), pmix_output_switch(), pmix_output_verbose(), pmix_output_vverbose(), pmix_pending_nspace_requests(), pmix_pnet_base_setup_local_network(), pmix_prep_event_chain(), pmix_ptl_base_connect_to_peer(), pmix_ptl_base_lost_connection(), pmix_ptl_base_start_listening(), PMIx_Publish(), PMIx_Publish_nb(), PMIx_Register_event_handler(), pmix_rte_init(), pmix_server_commit(), pmix_server_connect(), pmix_server_connect_fn(), pmix_server_deregister_events_fn(), pmix_server_disconnect(), pmix_server_disconnect_fn(), pmix_server_fence(), pmix_server_get(), PMIx_server_init(), pmix_server_init(), pmix_server_job_ctrl_fn(), pmix_server_keyval_client(), pmix_server_log_fn(), pmix_server_lookup_fn(), pmix_server_notify_client_of_event(), pmix_server_notify_event(), pmix_server_publish_fn(), pmix_server_register_events(), pmix_server_register_events_fn(), PMIx_server_register_nspace(), PMIx_server_setup_application(), PMIx_server_setup_local_support(), pmix_server_spawn_fn(), pmix_server_unpublish_fn(), pmix_tool_connected_fn(), PMIx_tool_init(), PMIx_Unpublish(), PMIx_Unpublish_nb(), process_app_array(), process_cbfunc(), process_job_array(), process_node_array(), process_values(), prun(), mpi.Intracomm::publishName(), query(), query_2_0_0(), query_cbfunc(), register_handler(), register_info(), resolve_peers(), save_original_key_val(), server_connect_fn(), server_disconnect_fn(), server_dmodex_req_fn(), server_fencenb_fn(), server_lookup_fn(), server_notify_event(), server_publish_fn(), server_register_events(), server_spawn_fn(), server_tool_connection(), server_unpublish_fn(), File::Set_info(), File::Set_view(), mpi.Comm::setInfo(), mpi.File::setInfo(), mpi.Win::setInfo(), setup_listener(), setup_listeners(), mpi.File::setView(), mpi.Intracomm::spawn(), mpi.Intracomm::spawnMultiple(), mpi.Intracomm::splitType(), store_map(), mpi.Intracomm::unpublishName(), unquery(), usnic_component_init(), and mpi.Win::Win().

◆ initialized

bool initialized = false
static

◆ output_dir

char* output_dir = NULL
static

◆ output_prefix

char* output_prefix = NULL
static

◆ pmix_output_redirected_syslog_pri

int pmix_output_redirected_syslog_pri = 0

Definition at line 107 of file output.c.

Referenced by do_open(), and pmix_output_init().

◆ pmix_output_redirected_to_syslog

bool pmix_output_redirected_to_syslog = false

Definition at line 106 of file output.c.

Referenced by do_open(), and pmix_output_init().

◆ redirect_syslog_ident

char* redirect_syslog_ident = NULL
static

Definition at line 118 of file output.c.

Referenced by do_open(), and pmix_output_init().

◆ verbose

◆ verbose_stream

int verbose_stream = -1
static

Definition at line 50 of file output.c.

Referenced by pmix_output_finalize(), and pmix_output_init().