Amssetenv

From Infinity Wiki
Revision as of 13:27, 18 January 2024 by Kulhanek (talk | contribs)
Jump to navigation Jump to search

Documentation / Reference Manual / Advanced Module System // RefMan:AMS Commands // amssetenv


ams-setenv: version 9.421.a932b23(2024-01-17 16:15) [AMS]

Name

ams-setenv

Synopsis

ams-setenv OPTIONS

Description

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.

Options

-c, --ncpus INT
requested number of CPUs
(Default: 1)
-g, --ngpus INT
requested number of GPUs
(Default: 0)
-v, --verbose
increase output verbosity
--version
output version information and exit
-h, --help
display this help and exit