Download Compaq AlphaServer SC User Guide

Transcript
allocate(1)
used when a user wants to run a sequence of commands or several programs
concurrently on the same set of CPUs.
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 A-11).
The resources are reserved until the shell exits or until a time limit defined by the
system administrator expires, whichever happens first.
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
sub-shell 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. These environment variables will be used where no
specific command line options are specified.
RMS_IMMEDIATE Controls whether to exit rather than block if resources are not
immediately available. By default, allocate blocks until resources
become available. Root resource requests are always met.
RMS_MEMLIMIT
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. This is the same as using the -p
option.
RMS_PROJECT
The name of the project with which the request should be associated
for accounting purposes.
RMS_TIMELIMIT Specifies the execution time limit in seconds. The program will be
signalled either after this time has elapsed or after any time limit
imposed by the system has elapsed. The shorter of the two time limits
is used.
RMS_DEBUG
Whether to execute in verbose mode and display diagnostic messages.
This is the same as using the -v option. Setting a value of 1 or more
will generate additional information that may be useful in diagnosing
problems.
RMS Commands A-3