Man page - mpi_t_pvar_get_info.openmpi(3)
Packages contains this manual
- shmem_float_swap.openmpi(3)
- shmem_long_xor_to_all.openmpi(3)
- shmem_iput32.openmpi(3)
- shmem_longlong_inc.openmpi(3)
- shmem_longlong_cswap.openmpi(3)
- prterun(1)
- shmem_longlong_swap.openmpi(3)
- shmem_get32.openmpi(3)
- shmem_addr_accessible.openmpi(3)
- shmem_short_g.openmpi(3)
- shmem_longdouble_put_nbi.openmpi(3)
- shmem_longlong_iget.openmpi(3)
- shmem_udcflush.openmpi(3)
- shmem_put32.openmpi(3)
- shmem_fence.openmpi(3)
- shmem_int_wait_until.openmpi(3)
- shmem_swap.openmpi(3)
- shmem_longlong_put.openmpi(3)
- shmem_alltoall64.openmpi(3)
- shmem_double_swap.openmpi(3)
- shmem_put128_nbi.openmpi(3)
- shmem_char_g.openmpi(3)
- shmem_float_fetch.openmpi(3)
- shmem_long_finc.openmpi(3)
- shmem_float_put_nbi.openmpi(3)
- shmem_int_max_to_all.openmpi(3)
- shmem_longdouble_prod_to_all.openmpi(3)
- shmem_longlong_g.openmpi(3)
- shmem_long_fetch.openmpi(3)
- shmem_long_and_to_all.openmpi(3)
- prte(5)
- shmem_barrier_all.openmpi(3)
- shmem_int_xor_to_all.openmpi(3)
- shmem_double_set.openmpi(3)
- shmem_get8_nbi.openmpi(3)
- shmem_short_wait_until.openmpi(3)
- shmem_float_put.openmpi(3)
- shmem_get64.openmpi(3)
- shmem_double_iput.openmpi(3)
- shmem_longlong_iput.openmpi(3)
- shmem_finalize.openmpi(3)
- shmem_alltoalls32.openmpi(3)
- shmem_double_max_to_all.openmpi(3)
- shmem_int_iput.openmpi(3)
- shmem_test_lock.openmpi(3)
- shmem_longlong_min_to_all.openmpi(3)
- shmem_get64_nbi.openmpi(3)
- shmem_long_set.openmpi(3)
- shmem_float_p.openmpi(3)
- shmem_longlong_add.openmpi(3)
- shmem_longdouble_iput.openmpi(3)
- shmem_iput128.openmpi(3)
- shmem_short_iget.openmpi(3)
- shmem_double_g.openmpi(3)
- shmem_long_wait_until.openmpi(3)
- shmem_wait.openmpi(3)
- shmem_longlong_p.openmpi(3)
- shmem_put32_nbi.openmpi(3)
- shmem_iget128.openmpi(3)
- shmem_longdouble_g.openmpi(3)
- shmem_long_p.openmpi(3)
- shmem_int_get_nbi.openmpi(3)
- shmem_my_pe.openmpi(3)
- shmem_int_and_to_all.openmpi(3)
- shmem_align.openmpi(3)
- shmem_n_pes.openmpi(3)
- shmem_get16_nbi.openmpi(3)
- shmem_int_or_to_all.openmpi(3)
- shmem_int_prod_to_all.openmpi(3)
- shmem_short_get.openmpi(3)
- _num_pes.openmpi(3)
- shmem_long_g.openmpi(3)
- shmem_short_get_nbi.openmpi(3)
- shmem_short_put.openmpi(3)
- shmem_int_finc.openmpi(3)
- shmem_iget32.openmpi(3)
- shmem_long_inc.openmpi(3)
- shmem_put8_nbi.openmpi(3)
- shmem_longlong_set.openmpi(3)
- shmem_short_min_to_all.openmpi(3)
- shmem_float_max_to_all.openmpi(3)
- shmem_longlong_xor_to_all.openmpi(3)
- shmem_double_iget.openmpi(3)
- shmem_float_get_nbi.openmpi(3)
- shmemalign.openmpi(3)
- shmem_double_put.openmpi(3)
- shfree.openmpi(3)
- shmem_barrier.openmpi(3)
- shmem_int_set.openmpi(3)
- shmem_put128.openmpi(3)
- shmem_double_sum_to_all.openmpi(3)
- shmem_longlong_wait.openmpi(3)
- shmem_longlong_prod_to_all.openmpi(3)
- shmem_int_cswap.openmpi(3)
- shmem_long_swap.openmpi(3)
- shmem_getmem_nbi.openmpi(3)
- shmem_long_wait.openmpi(3)
- prte(1)
- shmem_short_or_to_all.openmpi(3)
- shmem_double_p.openmpi(3)
- shmem_wait_until.openmpi(3)
- shmem_longdouble_get.openmpi(3)
- shmem_longlong_wait_until.openmpi(3)
- shmem_put64.openmpi(3)
- shmem_iput64.openmpi(3)
- shmem_int_swap.openmpi(3)
- shmem_complexf_prod_to_all.openmpi(3)
- shmem_longlong_put_nbi.openmpi(3)
- shmem_short_xor_to_all.openmpi(3)
- shmem_int_wait.openmpi(3)
- shmem_short_iput.openmpi(3)
- shmem_long_sum_to_all.openmpi(3)
- shmem_long_or_to_all.openmpi(3)
- shmem_float_get.openmpi(3)
- shmem_short_sum_to_all.openmpi(3)
- shmem_int_iget.openmpi(3)
- shmem_longdouble_get_nbi.openmpi(3)
- prte_info(1)
- shmem_longlong_max_to_all.openmpi(3)
- shmem_long_put.openmpi(3)
- shmem_float_prod_to_all.openmpi(3)
- shmem_short_p.openmpi(3)
- shmem_int_min_to_all.openmpi(3)
- shmem_broadcast32.openmpi(3)
- shmem_broadcast64.openmpi(3)
- shmem_long_get.openmpi(3)
- shmem_collect64.openmpi(3)
- mpisync(1)
- shmem_longdouble_p.openmpi(3)
- shmem_complexf_sum_to_all.openmpi(3)
- shmem_longlong_sum_to_all.openmpi(3)
- shmem_long_prod_to_all.openmpi(3)
- shmalloc.openmpi(3)
- shmem_complexd_prod_to_all.openmpi(3)
- shmem_alltoall32.openmpi(3)
- shmem_short_and_to_all.openmpi(3)
- shmem_malloc.openmpi(3)
- start_pes.openmpi(3)
- shmem_quiet.openmpi(3)
- shmem_double_put_nbi.openmpi(3)
- shmem_int_put.openmpi(3)
- shmem_float_iput.openmpi(3)
- shmem_longlong_or_to_all.openmpi(3)
- oshmem-wrapper-compiler(1)
- shmem_udcflush_line.openmpi(3)
- shmem_get128_nbi.openmpi(3)
- shmem_float_sum_to_all.openmpi(3)
- shmem_fcollect64.openmpi(3)
- shmem_longlong_finc.openmpi(3)
- shmem_clear_cache_inv.openmpi(3)
- shmem_int_put_nbi.openmpi(3)
- shmem_putmem_nbi.openmpi(3)
- pterm.openmpi(1)
- shmem_long_iget.openmpi(3)
- shmem_longlong_fetch.openmpi(3)
- shmem_put64_nbi.openmpi(3)
- shmem_get32_nbi.openmpi(3)
- shmem_char_put_nbi.openmpi(3)
- shmem_init.openmpi(3)
- shmem_char_put.openmpi(3)
- _my_pe.openmpi(3)
- ompi-wrapper-compiler(1)
- shmem_double_min_to_all.openmpi(3)
- shmem_alltoalls64.openmpi(3)
- shmem_char_get.openmpi(3)
- shmem_short_prod_to_all.openmpi(3)
- shmem_put16_nbi.openmpi(3)
- shmem_int_sum_to_all.openmpi(3)
- shmem_putmem.openmpi(3)
- shmem_clear_cache_line_inv.openmpi(3)
- shmem_short_max_to_all.openmpi(3)
- shmem_short_put_nbi.openmpi(3)
- shmem_longlong_and_to_all.openmpi(3)
- shmem_int_get.openmpi(3)
- shmem_int_inc.openmpi(3)
- shmem_short_wait.openmpi(3)
- shmem_set_cache_line_inv.openmpi(3)
- shmem_realloc.openmpi(3)
- shmem_getmem.openmpi(3)
- shmem_char_get_nbi.openmpi(3)
- intro_shmem.openmpi(3)
- shmem_long_put_nbi.openmpi(3)
- shmem_get128.openmpi(3)
- shmem_float_min_to_all.openmpi(3)
- shmem_set_lock.openmpi(3)
- shmem_double_get.openmpi(3)
- shmem_set_cache_inv.openmpi(3)
- shmem_longlong_get_nbi.openmpi(3)
- shmem_info_get_version.openmpi(3)
- shmem_collect32.openmpi(3)
- shmem_clear_lock.openmpi(3)
- shmem_complexd_sum_to_all.openmpi(3)
- shmem_longlong_fadd.openmpi(3)
- shmem_longdouble_max_to_all.openmpi(3)
- shmem_int_fadd.openmpi(3)
- shmem_int_p.openmpi(3)
- prted(1)
- shmem_long_fadd.openmpi(3)
- shmem_long_iput.openmpi(3)
- shmem_int_g.openmpi(3)
- shmem_global_exit.openmpi(3)
- shmem_int_add.openmpi(3)
- shmem_free.openmpi(3)
- shmem_double_prod_to_all.openmpi(3)
- shmem_fcollect32.openmpi(3)
- shmem_iget64.openmpi(3)
- shmem_long_add.openmpi(3)
- shmem_longlong_get.openmpi(3)
- shmem_pe_accessible.openmpi(3)
- shmem_float_g.openmpi(3)
- shmem_long_cswap.openmpi(3)
- shmem_long_min_to_all.openmpi(3)
- shmem_longdouble_min_to_all.openmpi(3)
- shrealloc.openmpi(3)
- shmem_float_set.openmpi(3)
- shmem_ptr.openmpi(3)
- shmem_longdouble_put.openmpi(3)
- shmem_double_fetch.openmpi(3)
- shmem_float_iget.openmpi(3)
- shmem_longdouble_iget.openmpi(3)
- shmem_long_get_nbi.openmpi(3)
- prun(1)
- shmem_long_max_to_all.openmpi(3)
- shmem_char_p.openmpi(3)
- shmem_info_get_name.openmpi(3)
- shmem_double_get_nbi.openmpi(3)
- shmem_int_fetch.openmpi(3)
- shmem_longdouble_sum_to_all.openmpi(3)
apt-get install openmpi-doc
Manual
MPI_T_PVAR_GET_INFO
SYNTAXC Syntax
INPUT PARAMETERS
INPUT/OUTPUT PARAMETERS
OUTPUT PARAMETERS
DESCRIPTION
VARIABLE CLASS
DATATYPE
BINDING
NOTES
ERRORS
COPYRIGHT
MPI_T_pvar_get_info — Query information from a performance variable
SYNTAX
C Syntax
#include <mpi.h>
int
MPI_T_pvar_get_info(int pvar_index, char *name, int
*name_len,
int *verbosity, int *var_class, MPI_Datatype *datatype,
MPI_T_enum *enumtype,
char *desc, int *desc_len, int *bind, int *readonly, int
*continuous,
int *atomic)
INPUT PARAMETERS
|
• |
pvar_index : Index of the performance variable to be queried. |
INPUT/OUTPUT PARAMETERS
|
• |
name_len : Length of the string and/or buffer for name. |
|||
|
• |
desc_len : Length of the string and/or buffer for desc. |
OUTPUT PARAMETERS
|
• |
name : Buffer to return the string containing the name of the performance variable. |
||
|
• |
verbosity : Verbosity level of this variable. |
||
|
• |
var_class : Class of performance variable. |
||
|
• |
datatype : MPI datatype of the information stored in the performance variable. |
||
|
• |
enumtype : Optional descriptor for enumeration information. |
||
|
• |
desc : Buffer to return the string containing the description of the performance variable. |
||
|
• |
bind : Type of MPI object to which this variable must be bound. |
||
|
• |
readonly : Flag indicating whether the variable can be written/reset. |
||
|
• |
continuous : Flag indicating whether the variable can be started and stopped or is continuously active. |
||
|
• |
atomic : Flag indicating whether the variable can be atomically read and reset. |
DESCRIPTION
MPI_T_pvar_get_info can be used to query information from a performance variable. The function returns the verbosity, class, datatype, enumeration type, and binding of the queried control variable in the arguments verbosity , var_class , datatype , enumtype , and bind respectively. Flags indicating whether the variable is read-only, continuous, or atomic are returns in readonly , continuous , and atomic accordingly. See MPI-3 section 14.3.7 for more information. See the man page for MPI_T_cvar_get_info for information on variable verbosity.
VARIABLE CLASS
Performance variables are categorized into classes which describe their initial value, valid types, and behavior. The class returned in the var_class parameter may be one of the following:
|
• |
MPI_T_PVAR_CLASS_STATE : Variable represents a set of discrete states that may be described by an enumerator. Variables of this class must be represented by an MPI_INT. The starting value is the current state of the variable. |
||
|
• |
MPI_T_PVAR_CLASS_LEVEL : Variable represents the current utilization level of a resource. Variables of this class must be represented by an MPI_UNSIGNED, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, or MPI_DOUBLE. The starting value is the current utilization level of the resource. |
||
|
• |
MPI_T_PVAR_CLASS_SIZE : Variable represents the fixed size of a resource. Variables of this class are represented by an MPI_UNSIGNED, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, or MPI_DOUBLE. The starting value is the current size of the resource. |
||
|
• |
MPI_T_PVAR_CLASS_PERCENTAGE : Variable represents the current percentage utilization level of a resource. Variables of this class are represented by an MPI_DOUBLE. The starting value is the current percentage utilization of the resource. |
||
|
• |
MPI_T_PVAR_CLASS_HIGHWATERMARK : Variable represents the high watermark of the utilization of a resource. Variables of this class are represented by an MPI_UNSIGNED, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, or MPI_DOUBLE. The starting value is the current utilization of the resource. |
||
|
• |
MPI_T_PVAR_CLASS_HIGHWATERMARK : Variable represents the low watermark of the utilization of a resource. Variables of this class are represented by an MPI_UNSIGNED, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, or MPI_DOUBLE. The starting value is the current utilization of the resource. |
||
|
• |
MPI_T_PVAR_CLASS_COUNTER : Variable represents a count of the number of occurrences of a specific event. Variables of this class are represented by an MPI_UNSIGNED, MPI_UNSIGNED_LONG, or MPI_UNSIGNED_LONG_LONG. The starting value is 0. |
||
|
• |
MPI_T_PVAR_CLASS_COUNTER : Variable represents an aggregated value that represents a sum of arguments processed during a specific event. Variables of this class are represented by an MPI_UNSIGNED, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, or MPI_DOUBLE. The starting value is 0. |
||
|
• |
MPI_T_PVAR_CLASS_TIMER : Variable represents the aggregated time spent by the MPI implementation while processing an event, type of event, or section of code. Variables of this class are represented by an MPI_UNSIGNED, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, or MPI_DOUBLE. If the variable is represented by an MPI_DOUBLE the units will be the same as those used by MPI_Wtime(). The starting value is 0. |
||
|
• |
MPI_T_PVAR_CLASS_GENERIC : Variable does not fit into any other class. Can by represented by an type supported by the MPI tool information interface (see DATATYPE). Starting value is variable specific. |
For more information see MPI-3 section 14.3.7.
DATATYPE
The datatype returned by MPI_T_pvar_get_info is restricted to one of the following datatypes: MPI_INT, MPI_UNSIGNED, MPI_UNSIGNED_LONG, MPI_UNSIGNED_LONG_LONG, MPI_COUNT, MPI_CHAR, and MPI_DOUBLE. For more information on datatypes in the MPI Tool information interface see MPI-3 section 14.3.5.
BINDING
Performance variables may be bound to an MPI object. The binding returned in the bind parameter may be one of the following:
|
• |
MPI_T_BIND_NO_OBJECT : No object |
|||
|
• |
MPI_T_BIND_MPI_COMM : MPI communicator |
|||
|
• |
MPI_T_BIND_MPI_DATATYPE : MPI datatype |
|||
|
• |
MPI_T_BIND_MPI_ERRHANDLER : MPI error handler |
|||
|
• |
MPI_T_BIND_MPI_FILE : MPI file handle |
|||
|
• |
MPI_T_BIND_MPI_GROUP : MPI group |
|||
|
• |
MPI_T_BIND_MPI_OP : MPI reduction operator |
|||
|
• |
MPI_T_BIND_MPI_REQUEST : MPI request |
|||
|
• |
MPI_T_BIND_MPI_WIN : MPI window for one-sided communication |
|||
|
• |
MPI_T_BIND_MPI_MESSAGE : MPI message object |
|||
|
• |
MPI_T_BIND_MPI_INFO : MPI info object |
For more information see MPI-3 section 14.3.2.
NOTES
This MPI tool interface function returns two strings. This function takes two argument for each string: a buffer to store the string, and a length which must initially specify the size of the buffer. If the length passed is n then this function will copy at most n - 1 characters of the string into the corresponding buffer and set the length to the number of characters copied - 1. If the length argument is NULL or the value specified in the length is 0 the corresponding string buffer is ignored and the string is not returned. For more information see MPI-3 section 14.3.3.
ERRORS
MPI_T_pvar_get_info will fail if:
|
• |
MPI_T_ERR_NOT_INITIALIZED : The MPI Tools interface not initialized |
|||
|
• |
MPI_T_ERR_INVALID_INDEX : The performance variable index is invalid |
SEE ALSO:
|
• |
MPI_T_cvar_get_info |
COPYRIGHT
2003-2025, The Open MPI Community