Script xalt_parse_mpirun_args_in_py
[hide private]
[frames] | no frames]

Script xalt_parse_mpirun_args_in_py

source code

Functions [hide private]
 
find_cmd(ignoreT, i, argA)
Walk the command line and find the command by ignoring names in ignoreT such as env time, etc
source code
 
find_exec(ignoreT, argT, cmdArg, argA, *n, **kw)
Walk the command line and first walk over the command line options.
source code
Function Details [hide private]

find_cmd(ignoreT, i, argA)

source code 

Walk the command line and find the command by ignoring names in ignoreT such as env time, etc

Parameters:
  • ignoreT - Table of names to ignore.
  • i - The location in the argA array to start looking.
  • argA - The command line split into an array.

find_exec(ignoreT, argT, cmdArg, argA, *n, **kw)

source code 

Walk the command line and first walk over the command line options.

Parameters:
  • ignoreT - Table of names to ignore.
  • argT - Table of command line args. Keys are the name of the argument, values are the number of arguments it takes (> 0).
  • cmdArg - command (like in ibrun.symm) that points to a user program.
  • argA - The command line split into an array.
  • kw - If dot=True then add "." to the end of PATH.