Hello,

I am writing a wrapper around `mpirun` which requires pre-processing of the 
user's program. To achieve this, I need to isolate the program from the 
`mpirun` arguments on the command-line. The manual describes the program as:
```
<program> The program executable. This is identified as the first 
non-recognized argument to `mpirun`.
```
However, it would be very unreliable to re-write my own parser and check the 
command line, so I was wondering if there is a clean built-in way to output 
what the argument parser understood as "the program" ?

Thanks,

Jean-Baptiste Skutnik

Reply via email to