cmsubmpi -p <numproc> [-d...] [-w...] [-c...] [-t...] <prog> [args]
Submit an MPI batch job

Options:

    -p  <number or processors> (MANDATORY)
    -d  <output directory> (default .)
    -w  <working directory> (default .)
    -c  <priority> where priority ={med|high|low} (default med)
    -t  <estimated execution time in minutes> (default 20)
    <prog>  must be path to a compiled MPI program, which will accept arguments[args].

When the job begins, LAM universe is booted on the allocated nodes, and the program is executed with mpirun on all the allocated CPUs. After it is done, LAM is halted.

The standard output and standard error streams of the program will be directed to <output directory>/<jobID>.stdout - note that the file will include any LAM messages (normally only a brief booting/halting report).