<p>In a production environment, it can be useful to custom DMS options for each components. To do so, within the <code>components</code>
section in the jflow configuration file, add a line following the schema: [component_name].batch_options = [options].</p>
<p>Cpu and memory values are then avalaible in the component via the methods <code>get_cpu()</code> and <code>get_memory()</code> on local and SGE enviroment only/</p>
<h3>Local configuration</h3>
<p>you can provide option with format <code>mem=XX[K|M|G] cpu=XX"</code></p>
<p><code>get_cpu()</code> return the cpu value of <code>batch_options</code> configuration for this component (available for <b>local and sge only</b>).
This option is usefull to set software parameter that needs more than one CPU.</p>
<p>For more information about how to configure a component see advanced configuration</p>
</div>
<divid="get_memory"class="subgroup">
<h2>Get memory</h2>
<p><code>get_memory()</code> return the memory value of <code>batch_options</code> configuration for this component (available for <b>local and sge only</b>).
This option is usefull to set software parameter that needs specific value of memory.</p>
<p>For more information about how to configure a component see advanced configuration</p>