\hypertarget{orte__init_8c}{\section{orte/runtime/orte\+\_\+init.c File Reference}
\label{orte__init_8c}\index{orte/runtime/orte\+\_\+init.\+c@{orte/runtime/orte\+\_\+init.\+c}}
}
{\ttfamily \#include \char`\"{}orte\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/constants.\+h\char`\"{}}\\*
{\ttfamily \#include $<$sys/types.\+h$>$}\\*
{\ttfamily \#include \char`\"{}opal/util/error.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/output.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/runtime/opal.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/util/show\+\_\+help.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/ess/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/ess/ess.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/errmgr/errmgr.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/util/proc\+\_\+info.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/util/error\+\_\+strings.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/runtime/runtime.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/runtime/orte\+\_\+globals.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/runtime/orte\+\_\+locks.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{orte__init_8c_ad3d17e11986567be41151008db2c88e1}{orte\+\_\+init} (int $\ast$pargc, char $\ast$$\ast$$\ast$pargv, orte\+\_\+proc\+\_\+type\+\_\+t flags)
\begin{DoxyCompactList}\small\item\em Initialize the Open Run Time Environment. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{orte__init_8c_a6ec917caace0bdaea9604bd00ed37a5c}{bool \hyperlink{orte__init_8c_a6ec917caace0bdaea9604bd00ed37a5c}{orte\+\_\+initialized} = false}\label{orte__init_8c_a6ec917caace0bdaea9604bd00ed37a5c}

\begin{DoxyCompactList}\small\item\em Whether O\+R\+T\+E is initialized or we are in orte\+\_\+finalize. \end{DoxyCompactList}\item 
\hypertarget{orte__init_8c_aa2a2fd73809742980c8c9c654065f3d8}{bool {\bfseries orte\+\_\+finalizing} = false}\label{orte__init_8c_aa2a2fd73809742980c8c9c654065f3d8}

\item 
\hypertarget{orte__init_8c_a35c69b2f4bba8f3cd13073296083628f}{bool {\bfseries orte\+\_\+debug\+\_\+flag} = false}\label{orte__init_8c_a35c69b2f4bba8f3cd13073296083628f}

\item 
\hypertarget{orte__init_8c_a7b577a5b0acb2074b2d81506a642d29b}{int {\bfseries orte\+\_\+debug\+\_\+verbosity}}\label{orte__init_8c_a7b577a5b0acb2074b2d81506a642d29b}

\item 
\hypertarget{orte__init_8c_a0dc763b428c6b54d4a44b09616220ecb}{char $\ast$ {\bfseries orte\+\_\+prohibited\+\_\+session\+\_\+dirs} = N\+U\+L\+L}\label{orte__init_8c_a0dc763b428c6b54d4a44b09616220ecb}

\item 
\hypertarget{orte__init_8c_af99672738ab0b5b6b87af5d4ce10b20a}{bool {\bfseries orte\+\_\+create\+\_\+session\+\_\+dirs} = true}\label{orte__init_8c_af99672738ab0b5b6b87af5d4ce10b20a}

\item 
\hypertarget{orte__init_8c_a3a6ed3c3e4fa9d3d2e31c4719a45bb1d}{\hyperlink{structorte__process__name__t}{orte\+\_\+process\+\_\+name\+\_\+t} {\bfseries orte\+\_\+name\+\_\+wildcard} = \{O\+R\+T\+E\+\_\+\+J\+O\+B\+I\+D\+\_\+\+W\+I\+L\+D\+C\+A\+R\+D, O\+R\+T\+E\+\_\+\+V\+P\+I\+D\+\_\+\+W\+I\+L\+D\+C\+A\+R\+D\}}\label{orte__init_8c_a3a6ed3c3e4fa9d3d2e31c4719a45bb1d}

\item 
\hypertarget{orte__init_8c_a738e98201ade68a952e6bbf96ec8be72}{\hyperlink{structorte__process__name__t}{orte\+\_\+process\+\_\+name\+\_\+t} {\bfseries orte\+\_\+name\+\_\+invalid} = \{O\+R\+T\+E\+\_\+\+J\+O\+B\+I\+D\+\_\+\+I\+N\+V\+A\+L\+I\+D, O\+R\+T\+E\+\_\+\+V\+P\+I\+D\+\_\+\+I\+N\+V\+A\+L\+I\+D\}}\label{orte__init_8c_a738e98201ade68a952e6bbf96ec8be72}

\item 
\hypertarget{orte__init_8c_a9482a9b5db5a08098c828682a5ad4b3b}{const char \hyperlink{orte__init_8c_a9482a9b5db5a08098c828682a5ad4b3b}{orte\+\_\+version\+\_\+string} \mbox{[}$\,$\mbox{]} = O\+R\+T\+E\+\_\+\+I\+D\+E\+N\+T\+\_\+\+S\+T\+R\+I\+N\+G}\label{orte__init_8c_a9482a9b5db5a08098c828682a5ad4b3b}

\begin{DoxyCompactList}\small\item\em version string of ompi \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{orte__init_8c_ad3d17e11986567be41151008db2c88e1}{\index{orte\+\_\+init.\+c@{orte\+\_\+init.\+c}!orte\+\_\+init@{orte\+\_\+init}}
\index{orte\+\_\+init@{orte\+\_\+init}!orte\+\_\+init.\+c@{orte\+\_\+init.\+c}}
\subsubsection[{orte\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}int orte\+\_\+init (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{pargc, }
\item[{char $\ast$$\ast$$\ast$}]{pargv, }
\item[{orte\+\_\+proc\+\_\+type\+\_\+t}]{flags}
\end{DoxyParamCaption}
)}}\label{orte__init_8c_ad3d17e11986567be41151008db2c88e1}


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 R\+T\+E interface, including M\+P\+I applications and mpirun.


\begin{DoxyParams}{Parameters}
{\em pargc} & Pointer to the number of arguments in the pargv array \\
\hline
{\em pargv} & The list of arguments. \\
\hline
{\em flags} & Whether we are O\+R\+T\+E tool or not \\
\hline
\end{DoxyParams}


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().

