Sun MPI 4.0 User's Guide: With CRE

mprun Options

The following table lists and briefly describes the mprun options. Their use is described more fully in "Specifying Where a Program Is to Run " through "Specifying the Behavior of I/O Streams".

Table 3-2 Options for mprun

Option 

Meaning 

-A aout

Execute aout and use a different argument as the argv[0] argument to the program. See "Specifying a Different Argument Vector".

-B 

Send stderr and stdout output streams to files. See "Specifying the Behavior of I/O Streams".

-c cluster_name

Run on the specified cluster. See "Specifying the Cluster".

-C path

Use the specified directory as the current working directory for the job. See "Changing the Working Directory".

-D 

Provide separate stdout and stderr streams. See "Specifying the Behavior of I/O Streams".

-G group

Execute with the specified group ID or group name. See "Executing with a Different User or Group Name".

-h 

Display help. See "Getting Information".

-i 

Standard input to mprun is sent only to rank 0, and not to all other ranks.  

-I file_descr_string

Use the specified I/O file descriptor string to control I/O stream handling. See "Specifying the Behavior of I/O Streams".

-j jid

Run on the same node(s) as the job with job ID jid. See "Running on the Same Node(s) as a Another Specified Job".

-J

Show the jid, cluster name, and number of processes after executing. See "Getting Information".

-n 

Read stdin from . See "Specifying the Behavior of I/O Streams".

-N 

Do not open any standard I/O connections. See "Specifying the Behavior of I/O Streams".

-np number

Request the specified number of processes. See "Controlling Process Spawning".

-Ns 

Disable spawning of multiple processes from a job on SMPs; see "Default Process Spawning".

-o 

Prefix each output line with the rank of the process that wrote it. 

-p partition

Run in the specified partition. See "Specifying the Partition".

-R "resource_string"

Specify conditions for choosing nodes. See "Expressing More Complex Resource Requirements".

-S 

Settle for the available number of nodes (used with -np). See "Controlling Process Spawning".

-U user

Execute with the specified user ID or user name. See "Executing with a Different User or Group Name".

-V 

Display version information. See "Getting Information".

-W 

Wrap the requested processes on the available CPUs (used with -np). See "Controlling Process Spawning".

-Ys 

Allow spawning on SMPs. See "Default Process Spawning".

-Z rank

Run processes, by groups of size rank, together on the same node. (incompatible with -S and -W) See "Mapping MPI Ranks to Nodes".