Amssetenv: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
No edit summary
Line 1: Line 1:
[[Documentation]] / [[RefMan|Reference Manual]] / [[RefMan:AMS | Advanced Module System]] // [[RefMan:AMS Commands]] // [[amssetenv]]  __NOEDITSECTION__ __NOTOC__
[[Documentation]] / [[RefMan|Reference Manual]] / [[RefMan:AMS | Advanced Module System]] // [[RefMan:AMS Commands]] // [[amssetenv]]  __NOEDITSECTION__ __NOTOC__
----
----
<div style="text-align: center">ams-setenv: version 9.421.a932b23(2024-01-17 16:15) [AMS]</div>'''Name'''
<span style="margin-left: 15px;">ams-setenv</span>
'''Synopsis'''
<span style="color: maroon; margin-left: 15px;">ams-setenv</span> <span style="color: blue;">OPTIONS</span>
'''Description'''
<p style="text-indent: 1em; text-align: justify;">Setup local environment for given number of CPUs and GPUs. Requested number of resources cannot exceed available resources on the local host. It updates AMS_NCPUS, AMS_NGPUS, AMS_NNODES, AMS_NODEFILE and AMS_GPUFILE as well as INF_NCPUS, INF_NGPUS, INF_NNODES, INF_NODEFILE and INF_GPUFILE variables and generates files for AMS_NODEFILE, AMS_GPUFILE and INF_NODEFILE, INF_GPUFILE.</p>
'''Options'''
{| style="margin-left: 2em; width: 95%;"
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-c, --ncpus INT</span><br/><div style="margin-left: 30px;">requested number of CPUs</div><span style="color:purple; margin-left: 30px;">(Default: 1)</span>
|- style="vertical-align: top;"
|<span style="color: blue;">-g, --ngpus INT</span><br/><div style="margin-left: 30px;">requested number of GPUs</div><span style="color:purple; margin-left: 30px;">(Default: 0)</span>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-v, --verbose</span><br/><div style="margin-left: 30px;">increase output verbosity</div>
|- style="vertical-align: top;"
|<span style="color: blue;">--version</span><br/><div style="margin-left: 30px;">output version information and exit</div>
|- style="vertical-align: top; background-color: #e6e6e6;"
|<span style="color: blue;">-h, --help</span><br/><div style="margin-left: 30px;">display this help and exit</div>
|}

Navigation menu