I'm afraid the short answer is "no" - there is no way to do that today.


> On Mar 30, 2020, at 1:45 PM, Jean-Baptiste Skutnik via users 
> <users@lists.open-mpi.org> wrote:
> 
> 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