Additional aprun Information

Information about aprun input/ouput modes, resource limits, signal processing.

Usage Output String

utime, stime, rss, inblocks and outblocks are printed to stdout upon application exit. The values given are approximate as they are a rounded aggregate scaled by the number of resources used. For more information on these values, see the getrusage(2) man page.

aprun Input and Output Modes

The aprun utility handles standard input (stdin) on behalf of the user and handles standard output (stdout) and standard error messages (stderr) for user applications.

aprun Resource Limits

The aprun utility does not forward its user resource limits to each compute node (except for RLIMIT_CORE and RLIMIT_CPU, which are always forwarded).

To enable the forwarding of user resource limits, set the APRUN_XFER_LIMITS environment variable to 1 (export APRUN_XFER_LIMITS=1 or setenv APRUN_XFER_LIMITS 1) . For more information, see the getrlimit(P) man page.

aprun Signal Processing

The aprun utility forwards the following signals to an application:

  • SIGHUP
  • SIGINT
  • SIGQUIT
  • SIGTERM
  • SIGABRT
  • SIGUSR1
  • SIGUSR2
  • SIGURG
  • SIGWINCH

The aprun utility ignores SIGPIPE and SIGTTIN signals. All other signals remain at default and are not forwarded to an application. The default behaviors that terminate aprun also cause ALPS to terminate the application with a SIGKILL signal.

Reserved File Descriptors

The following file descriptors are used by ALPS and should not be closed by applications: 100, 102, 108, 110.