\hypertarget{ompi_2mca_2mpool_2base_2base_8h}{\section{ompi/mca/mpool/base/base.h File Reference}
\label{ompi_2mca_2mpool_2base_2base_8h}\index{ompi/mca/mpool/base/base.\+h@{ompi/mca/mpool/base/base.\+h}}
}
{\ttfamily \#include \char`\"{}ompi\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/class/opal\+\_\+list.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/mca.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}ompi/mca/mpool/mpool.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structmca__mpool__base__selected__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+selected\+\_\+module\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_ad7b678b5af54dcbfc2cd06c1b70f32e5}{typedef struct \\*
\hyperlink{structmca__mpool__base__selected__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+selected\+\_\+module\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+selected\+\_\+module\+\_\+t}}\label{ompi_2mca_2mpool_2base_2base_8h_ad7b678b5af54dcbfc2cd06c1b70f32e5}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a596ffbd1291019828679a02a712bb07a}{static B\+E\+G\+I\+N\+\_\+\+C\+\_\+\+D\+E\+C\+L\+S unsigned int {\bfseries my\+\_\+log2} (unsigned long val)}\label{ompi_2mca_2mpool_2base_2base_8h_a596ffbd1291019828679a02a712bb07a}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a372a395d80bbf361cd51f00ec310df7d}{static void $\ast$ {\bfseries down\+\_\+align\+\_\+addr} (void $\ast$addr, unsigned int shift)}\label{ompi_2mca_2mpool_2base_2base_8h_a372a395d80bbf361cd51f00ec310df7d}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_ac18f7a48495ee3608d7b4ca1f0a6d321}{static void $\ast$ {\bfseries up\+\_\+align\+\_\+addr} (void $\ast$addr, unsigned int shift)}\label{ompi_2mca_2mpool_2base_2base_8h_ac18f7a48495ee3608d7b4ca1f0a6d321}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a248bd8ffa608f017eda380a93ffed59d}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C {\bfseries O\+B\+J\+\_\+\+C\+L\+A\+S\+S\+\_\+\+D\+E\+C\+L\+A\+R\+A\+T\+I\+O\+N} (\hyperlink{structmca__mpool__base__selected__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+selected\+\_\+module\+\_\+t})}\label{ompi_2mca_2mpool_2base_2base_8h_a248bd8ffa608f017eda380a93ffed59d}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_aeef7d8b32628163c2c7967462e14e6bd}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{ompi_2mca_2mpool_2base_2base_8h_aeef7d8b32628163c2c7967462e14e6bd}{mca\+\_\+mpool\+\_\+base\+\_\+open} (void)}\label{ompi_2mca_2mpool_2base_2base_8h_aeef7d8b32628163c2c7967462e14e6bd}

\begin{DoxyCompactList}\small\item\em \hyperlink{structFunction}{Function} for finding and opening either all M\+C\+A components, or the one that was specifically requested via a M\+C\+A parameter. \end{DoxyCompactList}\item 
O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int \hyperlink{ompi_2mca_2mpool_2base_2base_8h_a50fdeff6114ba58e117f98f481e90447}{mca\+\_\+mpool\+\_\+base\+\_\+init} (bool enable\+\_\+progress\+\_\+threads, bool enable\+\_\+mpi\+\_\+threads)
\begin{DoxyCompactList}\small\item\em \hyperlink{structFunction}{Function} for weeding out mpool modules that don't want to run. \end{DoxyCompactList}\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_adf9675268f0aa9544dfd2779cab09e03}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+close} (void)}\label{ompi_2mca_2mpool_2base_2base_8h_adf9675268f0aa9544dfd2779cab09e03}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a9498f6bbcddc98557fb5d000e84f35ee}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
\hyperlink{mpool_8h_ac17cbfc8f12a117dfd410d6169e00c9a}{mca\+\_\+mpool\+\_\+base\+\_\+component\+\_\+t} $\ast$ {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+component\+\_\+lookup} (const char $\ast$name)}\label{ompi_2mca_2mpool_2base_2base_8h_a9498f6bbcddc98557fb5d000e84f35ee}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a1a5f6bddf1f0daac8c398646df1a7660}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$ {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+create} (const char $\ast$name, void $\ast$\hyperlink{structuser__data}{user\+\_\+data}, struct \hyperlink{structmca__mpool__base__resources__t}{mca\+\_\+mpool\+\_\+base\+\_\+resources\+\_\+t} $\ast$mpool\+\_\+resources)}\label{ompi_2mca_2mpool_2base_2base_8h_a1a5f6bddf1f0daac8c398646df1a7660}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_aa42e3ec97956cb749f9386b111920b11}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \\*
\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$ {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+lookup} (const char $\ast$name)}\label{ompi_2mca_2mpool_2base_2base_8h_aa42e3ec97956cb749f9386b111920b11}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a47c66764fdc5baa4a1dcd82c95ef7144}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+destroy} (\hyperlink{structmca__mpool__base__module__t}{mca\+\_\+mpool\+\_\+base\+\_\+module\+\_\+t} $\ast$module)}\label{ompi_2mca_2mpool_2base_2base_8h_a47c66764fdc5baa4a1dcd82c95ef7144}

\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_af4417b24c99265d06c9ea51d7c40a822}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+output}}\label{ompi_2mca_2mpool_2base_2base_8h_af4417b24c99265d06c9ea51d7c40a822}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_af5c024e778e6f1fa60928cf3841835c3}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+components}}\label{ompi_2mca_2mpool_2base_2base_8h_af5c024e778e6f1fa60928cf3841835c3}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a0620d2118a14db2f3ceba53bcbe1f3cc}{\hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+modules}}\label{ompi_2mca_2mpool_2base_2base_8h_a0620d2118a14db2f3ceba53bcbe1f3cc}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_ac098d236f24cf401b778bb5595058747}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C uint32\+\_\+t {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+page\+\_\+size}}\label{ompi_2mca_2mpool_2base_2base_8h_ac098d236f24cf401b778bb5595058747}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a09ec93ffae7d7a93f8dcaf51b8c1b77e}{O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C uint32\+\_\+t {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+page\+\_\+size\+\_\+log}}\label{ompi_2mca_2mpool_2base_2base_8h_a09ec93ffae7d7a93f8dcaf51b8c1b77e}

\item 
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a1cc577860c93b0ff16507ecbff601fa9}{int {\bfseries mca\+\_\+mpool\+\_\+base\+\_\+used\+\_\+mem\+\_\+hooks}}\label{ompi_2mca_2mpool_2base_2base_8h_a1cc577860c93b0ff16507ecbff601fa9}

\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{ompi_2mca_2mpool_2base_2base_8h_a50fdeff6114ba58e117f98f481e90447}{\index{ompi/mca/mpool/base/base.\+h@{ompi/mca/mpool/base/base.\+h}!mca\+\_\+mpool\+\_\+base\+\_\+init@{mca\+\_\+mpool\+\_\+base\+\_\+init}}
\index{mca\+\_\+mpool\+\_\+base\+\_\+init@{mca\+\_\+mpool\+\_\+base\+\_\+init}!ompi/mca/mpool/base/base.\+h@{ompi/mca/mpool/base/base.\+h}}
\subsubsection[{mca\+\_\+mpool\+\_\+base\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}O\+M\+P\+I\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C int mca\+\_\+mpool\+\_\+base\+\_\+init (
\begin{DoxyParamCaption}
\item[{bool}]{enable\+\_\+progress\+\_\+threads, }
\item[{bool}]{enable\+\_\+mpi\+\_\+thread\+\_\+multiple}
\end{DoxyParamCaption}
)}}\label{ompi_2mca_2mpool_2base_2base_8h_a50fdeff6114ba58e117f98f481e90447}


\hyperlink{structFunction}{Function} for weeding out mpool modules that don't want to run. 

Call the init function on all available components to find out if they want to run. Select all components that don't fail. Failing modules will be closed and unloaded. The selected modules will be returned to the caller in a \hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t}. 

Referenced by ompi\+\_\+mpi\+\_\+init().

