\hypertarget{ras__gridengine__module_8c}{\section{orte/mca/ras/gridengine/ras\+\_\+gridengine\+\_\+module.c File Reference}
\label{ras__gridengine__module_8c}\index{orte/mca/ras/gridengine/ras\+\_\+gridengine\+\_\+module.\+c@{orte/mca/ras/gridengine/ras\+\_\+gridengine\+\_\+module.\+c}}
}


Resource Allocation for Grid Engine.  


{\ttfamily \#include \char`\"{}orte\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/constants.\+h\char`\"{}}\\*
{\ttfamily \#include $<$errno.\+h$>$}\\*
{\ttfamily \#include $<$unistd.\+h$>$}\\*
{\ttfamily \#include $<$string.\+h$>$}\\*
{\ttfamily \#include \char`\"{}opal/util/output.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/util/show\+\_\+help.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/errmgr/errmgr.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/runtime/orte\+\_\+globals.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/ras/base/ras\+\_\+private.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/mca/ras/gridengine/ras\+\_\+gridengine.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static int \hyperlink{ras__gridengine__module_8c_a1183123abdb209fdd8038b3ffb792fe7}{orte\+\_\+ras\+\_\+gridengine\+\_\+allocate} (\hyperlink{structopal__list__t}{opal\+\_\+list\+\_\+t} $\ast$nodelist)
\begin{DoxyCompactList}\small\item\em Discover available (pre-\/allocated) nodes. \end{DoxyCompactList}\item 
\hypertarget{ras__gridengine__module_8c_a9c6d45201891ecaa73037b4840c53608}{static int \hyperlink{ras__gridengine__module_8c_a9c6d45201891ecaa73037b4840c53608}{orte\+\_\+ras\+\_\+gridengine\+\_\+finalize} (void)}\label{ras__gridengine__module_8c_a9c6d45201891ecaa73037b4840c53608}

\begin{DoxyCompactList}\small\item\em finalize \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hyperlink{ras_8h_a95468542a9d70945c81c11b7c3bdf19e}{orte\+\_\+ras\+\_\+base\+\_\+module\+\_\+t} {\bfseries orte\+\_\+ras\+\_\+gridengine\+\_\+module}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Resource Allocation for Grid Engine. 



\subsection{Function Documentation}
\hypertarget{ras__gridengine__module_8c_a1183123abdb209fdd8038b3ffb792fe7}{\index{ras\+\_\+gridengine\+\_\+module.\+c@{ras\+\_\+gridengine\+\_\+module.\+c}!orte\+\_\+ras\+\_\+gridengine\+\_\+allocate@{orte\+\_\+ras\+\_\+gridengine\+\_\+allocate}}
\index{orte\+\_\+ras\+\_\+gridengine\+\_\+allocate@{orte\+\_\+ras\+\_\+gridengine\+\_\+allocate}!ras\+\_\+gridengine\+\_\+module.\+c@{ras\+\_\+gridengine\+\_\+module.\+c}}
\subsubsection[{orte\+\_\+ras\+\_\+gridengine\+\_\+allocate}]{\setlength{\rightskip}{0pt plus 5cm}static int orte\+\_\+ras\+\_\+gridengine\+\_\+allocate (
\begin{DoxyParamCaption}
\item[{{\bf opal\+\_\+list\+\_\+t} $\ast$}]{nodelist}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{ras__gridengine__module_8c_a1183123abdb209fdd8038b3ffb792fe7}


Discover available (pre-\/allocated) nodes. 

Allocate the requested number of nodes/process slots to the job. 

References orte\+\_\+node\+\_\+t\+::name, opal\+\_\+list\+\_\+append, opal\+\_\+list\+\_\+get\+\_\+end(), opal\+\_\+list\+\_\+get\+\_\+first(), opal\+\_\+list\+\_\+get\+\_\+next, opal\+\_\+list\+\_\+is\+\_\+empty(), opal\+\_\+output(), orte\+\_\+show\+\_\+help(), orte\+\_\+node\+\_\+t\+::slots, orte\+\_\+node\+\_\+t\+::slots\+\_\+inuse, orte\+\_\+node\+\_\+t\+::slots\+\_\+max, orte\+\_\+node\+\_\+t\+::state, and orte\+\_\+node\+\_\+t\+::super.



\subsection{Variable Documentation}
\hypertarget{ras__gridengine__module_8c_ad5cf64351fe8e187469eaa15744261b1}{\index{ras\+\_\+gridengine\+\_\+module.\+c@{ras\+\_\+gridengine\+\_\+module.\+c}!orte\+\_\+ras\+\_\+gridengine\+\_\+module@{orte\+\_\+ras\+\_\+gridengine\+\_\+module}}
\index{orte\+\_\+ras\+\_\+gridengine\+\_\+module@{orte\+\_\+ras\+\_\+gridengine\+\_\+module}!ras\+\_\+gridengine\+\_\+module.\+c@{ras\+\_\+gridengine\+\_\+module.\+c}}
\subsubsection[{orte\+\_\+ras\+\_\+gridengine\+\_\+module}]{\setlength{\rightskip}{0pt plus 5cm}{\bf orte\+\_\+ras\+\_\+base\+\_\+module\+\_\+t} orte\+\_\+ras\+\_\+gridengine\+\_\+module}}\label{ras__gridengine__module_8c_ad5cf64351fe8e187469eaa15744261b1}
{\bfseries Initial value\+:}
\begin{DoxyCode}
= \{
    \hyperlink{ras__gridengine__module_8c_a1183123abdb209fdd8038b3ffb792fe7}{orte\_ras\_gridengine\_allocate},
    \hyperlink{ras__gridengine__module_8c_a9c6d45201891ecaa73037b4840c53608}{orte\_ras\_gridengine\_finalize}
\}
\end{DoxyCode}
