Compaq SC RMS Server User Manual


 
allocate(1)
can be used with hwbcast set to 1 to ensure that the range of nodes allocated is
contiguous.
Before allocating resources, the Partition Manager checks the resource limits imposed
on the current project. The project can be specified explicitly with the -P option. This
overrides the value of the environment variable RMS_PROJECT or any default setting in
the users table. (See Section 10.2.24).
The script argument (with optional arguments) can be used in two different ways, as
follows:
1. script is not specified, in which case an interactive command shell is spawned with
the resources allocated to it. The user can confirm that resources have been allocated
to an interactive shell by using the rinfo command. (See Page 5-32).
The resources are reserved until the shell exits or until a time limit defined by the
system administrator expires, whichever happens first. (See Section 10.2.16).
Parallel programs, executed from this interactive shell, all run on the shell’s
resources (concurrently, if sufficient resources are available).
2. script specifies a shell script, in which case the resources are allocated to the named
subshell and freed when execution of the script completes.
ENVIRONMENT VARIABLES
The following environment variables may be used to identify resource requirements and
modes of operation to allocate. They are used where no equivalent command line
options are given.
RMS_IMMEDIATE Controls whether to exit (value 1) rather than block (value 0) if
resources are not immediately available. The -I option overrides the
value of this environment variable. By default, allocate blocks until
resources become available. Root resource requests are always met.
RMS_MEMLIMIT Specifies the maximum amount of memory required. This must be
less than or equal to the limit set by the system administrator.
RMS_PARTITION Specifies the name of a partition. The -p option overrides the value of
this environment variable.
RMS_PROJECT Specifies the name of the project with which the request should be
associated for accounting purposes. The -P option overrides the value
of this environment variable.
RMS Commands 5-5