\hypertarget{opal__init_8c}{\section{opal/runtime/opal\+\_\+init.c File Reference}
\label{opal__init_8c}\index{opal/runtime/opal\+\_\+init.\+c@{opal/runtime/opal\+\_\+init.\+c}}
}
{\ttfamily \#include \char`\"{}opal\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/malloc.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/output.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/trace.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/show\+\_\+help.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/memoryhooks/memory.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/runtime/opal.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/net.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/datatype/opal\+\_\+datatype.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/installdirs/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/memory/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/memcpy/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/hwloc/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/paffinity/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/timer/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/memchecker/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/dss/dss.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/carto/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/shmem/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/runtime/opal\+\_\+cr.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/crs/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/runtime/opal\+\_\+progress.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/event/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/backtrace/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/constants.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/error.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/stacktrace.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/keyval\+\_\+parse.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/sys\+\_\+limits.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/util/opal\+\_\+sos.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{opal__init_8c_a9dc6a721a8ccd940e6858fa54e60794d}{static int {\bfseries opal\+\_\+err2str} (int errnum, const char $\ast$$\ast$errmsg)}\label{opal__init_8c_a9dc6a721a8ccd940e6858fa54e60794d}

\item 
int \hyperlink{opal__init_8c_a7a004bd529e3a7db970d77f5dc037bce}{opal\+\_\+init\+\_\+util} (int $\ast$pargc, char $\ast$$\ast$$\ast$pargv)
\begin{DoxyCompactList}\small\item\em Initialize the O\+P\+A\+L layer, excluding the M\+C\+A system. \end{DoxyCompactList}\item 
int \hyperlink{opal__init_8c_a9e1e5f30f50c320e6a86cbbe4e18e31c}{opal\+\_\+init} (int $\ast$pargc, char $\ast$$\ast$$\ast$pargv)
\begin{DoxyCompactList}\small\item\em Initialize the O\+P\+A\+L layer, including the M\+C\+A system. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{opal__init_8c_a064b1504b690b6d14bdb26d6046706ee}{const char \hyperlink{opal__init_8c_a064b1504b690b6d14bdb26d6046706ee}{opal\+\_\+version\+\_\+string} \mbox{[}$\,$\mbox{]} = O\+P\+A\+L\+\_\+\+I\+D\+E\+N\+T\+\_\+\+S\+T\+R\+I\+N\+G}\label{opal__init_8c_a064b1504b690b6d14bdb26d6046706ee}

\begin{DoxyCompactList}\small\item\em version string of opal \end{DoxyCompactList}\item 
\hypertarget{opal__init_8c_a0b07c1e7122a968c96c11e7db134f9ba}{int {\bfseries opal\+\_\+initialized} = 0}\label{opal__init_8c_a0b07c1e7122a968c96c11e7db134f9ba}

\item 
\hypertarget{opal__init_8c_a9226b6a32aed5af44a62527ecbf03a5c}{int {\bfseries opal\+\_\+util\+\_\+initialized} = 0}\label{opal__init_8c_a9226b6a32aed5af44a62527ecbf03a5c}

\item 
\hypertarget{opal__init_8c_a64d5e919ad881f53b7e8ef4d0c97c4e4}{int {\bfseries opal\+\_\+cache\+\_\+line\+\_\+size}}\label{opal__init_8c_a64d5e919ad881f53b7e8ef4d0c97c4e4}

\end{DoxyCompactItemize}


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


Initialize the O\+P\+A\+L layer, including the M\+C\+A system. 


\begin{DoxyRetVals}{Return values}
{\em O\+P\+A\+L\+\_\+\+S\+U\+C\+C\+E\+S\+S} & Upon success. \\
\hline
{\em O\+P\+A\+L\+\_\+\+E\+R\+R\+O\+R} & Upon failure.\\
\hline
\end{DoxyRetVals}
\begin{DoxyNote}{Note}
If this function is called, \hyperlink{opal_8h_a66f873f2661f2fa906e4d72598350ea5}{opal\+\_\+init\+\_\+util()} should {\itshape not} be called. 
\end{DoxyNote}


References opal\+\_\+cr\+\_\+init(), opal\+\_\+init\+\_\+util(), opal\+\_\+progress\+\_\+event\+\_\+users\+\_\+increment(), and opal\+\_\+progress\+\_\+init().



Referenced by orte\+\_\+init().

\hypertarget{opal__init_8c_a7a004bd529e3a7db970d77f5dc037bce}{\index{opal\+\_\+init.\+c@{opal\+\_\+init.\+c}!opal\+\_\+init\+\_\+util@{opal\+\_\+init\+\_\+util}}
\index{opal\+\_\+init\+\_\+util@{opal\+\_\+init\+\_\+util}!opal\+\_\+init.\+c@{opal\+\_\+init.\+c}}
\subsubsection[{opal\+\_\+init\+\_\+util}]{\setlength{\rightskip}{0pt plus 5cm}int opal\+\_\+init\+\_\+util (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{pargc, }
\item[{char $\ast$$\ast$$\ast$}]{pargv}
\end{DoxyParamCaption}
)}}\label{opal__init_8c_a7a004bd529e3a7db970d77f5dc037bce}


Initialize the O\+P\+A\+L layer, excluding the M\+C\+A system. 


\begin{DoxyRetVals}{Return values}
{\em O\+P\+A\+L\+\_\+\+S\+U\+C\+C\+E\+S\+S} & Upon success. \\
\hline
{\em O\+P\+A\+L\+\_\+\+E\+R\+R\+O\+R} & Upon failure.\\
\hline
\end{DoxyRetVals}
\begin{DoxyNote}{Note}
If this function is called, \hyperlink{opal_8h_a6bb568620041efe29a6e83bd98f9aedc}{opal\+\_\+init()} should {\itshape not} be called. 
\end{DoxyNote}


References mca\+\_\+base\+\_\+param\+\_\+init(), opal\+\_\+dss\+\_\+open(), opal\+\_\+malloc\+\_\+init(), opal\+\_\+output\+\_\+init(), and opal\+\_\+register\+\_\+params().



Referenced by ompi\+\_\+mpi\+\_\+init(), and opal\+\_\+init().

