File: MPI_Info_env.3.rst

package info (click to toggle)
openmpi 5.0.8-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 201,692 kB
  • sloc: ansic: 613,078; makefile: 42,351; sh: 11,194; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,179; python: 1,859; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (96 lines) | stat: -rw-r--r-- 2,795 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.. _mpi_info_env:


MPI_Info_env
============

.. include_body

:ref:`MPI_INFO_ENV` |mdash| Static MPI_Info object containing info about the
application


DESCRIPTION
-----------

The MPI-3 standard established a static MPI_Info object named
:ref:`MPI_INFO_ENV` that can be used to access information about how the
application was executed from the run-time.


SUPPORTED FIELDS
----------------

command
   If available, the value will be set to argv[0]. Note that the value
   may not always be available - e.g., it is valid for a program to call
   :ref:`MPI_Init` with NULL parameters, in which case argv[0] will not be set
   if run as a singleton. This value will never be set in a Fortran
   program as the argv are not available.

argv
   The argv given for the application. If no arguments are passed to the
   application, then this value will not be set. It will also not be set
   in the case of a singleton that calls :ref:`MPI_Init` with NULL parameters,
   or a Fortran program.

maxprocs
   The number of processes in the job.

soft
   Open MPI does not support the *soft* option for specifying the number
   of processes to be executed, so this value is set to the same as
   *maxprocs*.

host
   The name of the host this process is executing upon - the value
   returned from *gethostname()*.

arch
   The architecture of the host this process is executing upon. This
   value indicates the underlying chip architecture (e.g., x86_64), if
   it can be determined.

wdir
   The working directory at the time of process launch by mpiexec. Note
   that this value will not be set for processes launched as singletons
   as there is no reliable way for the MPI library to determine the
   location.

file
   Although specified by the MPI-3 standard, no value is currently set
   for this field.

thread_level
   The requested MPI thread level - note that this may differ from the
   *actual* MPI thread level of the application.

ompi_num_apps
   The number of application contexts in an MPMD job. This is an Open
   MPI-specific field and value.

ompi_np
   The number of processes in each application context, provided as a
   space-delimited list of integers. This is an Open MPI-specific field
   and value.

ompi_first_rank
   The MPI rank of the first process in each application context,
   provided as a space-delimited list of integers This is an Open
   MPI-specific field and value.

ompi_positioned_file_dir
   If Open MPI was asked to pre-position files, this field provides the
   top-level directory where those files were place. This is an Open
   MPI-specific field and value.


ERRORS
------

| When calling :ref:`MPI_INFO_GET`, the *flag* parameter will be set to zero
  (false) if a value for the field has not been set.


.. seealso::
   * :ref:`MPI_Info_get`