prun(1)
none Do not redirect standard output (or standard error) from any process.
file prun opens the named file for output and associates it with the
standard output (standard error) stream so that each process writes
standard output (standard error) to the file.
file.% prun expands the %character to generate and open for output a
separate file name for each process: process 0 writes standard output
(standard error) to file.0, process 1 writes to file.1 and so on.
Standard output froma parallel program is line-buffered and redirected to prun when a
newline character is received. Output that does not end in a newline is buffered by
rmsloader.
Standard error is unbuffered and forwarded to prun as soon as it is received by
rmsloader.
There is noglobal synchronization of output from a parallel program. If multiple
processes output data, the orderin which the data is output will not necessarily be the
same each time the program is run.
prun exits when all of the processesin the parallel program have exited or when one
process has been killed. If all processes exit cleanly then the exit status of prun is the
global OR of their individual exit status values. If one of the processes is killed, prun will
exit with a status value of 128 plus the signal number. prun can also exit with the
following codes:
125 One or more processes were still running when the exit timeout expired.
126 prun was run with the -I option and resources were not available.
127 prun was run with invalid arguments.
If an application process started by prun is killed, RMS will run a post mortem core
analysis script that generates a backtrace if it can find a core file for the process.
The attribute rms-keep-core in the attributes table determines whether core files
are saved. (See Section 10.2.3). The environment variable RMS_KEEP_CORE can be set to
override the value in the attributes table.
Core files are savedin the directory local-corepath/resource-id . The value of
local-corepath is defined in the attributes table. The resource-id can be listed
by rinfo. (See Page 5-32). prun also sets the environment variable RMS_RESOURCE_ID
to the value of the resourceidentifier.
RMS Commands 5-15