Hi Marcus,

Your expectation sounds very reasonable to me. I have filed a bug in our bug 
tracker (https://svn.open-mpi.org/trac/ompi/ticket/1124), and you will 
receive emails as it is updated.

Unfortunately, this is in a part of the code which has not been touched for a 
long time, and is in somewhat of disrepair. So it might take a while to fix 
it.

Thanks,

Tim

On Wednesday 08 August 2007 04:01:01 pm Marcus R. Epperson wrote:
> We have a code that takes "-host <host>" as command-line arguments, and
> when run via orterun they are getting replaced with "-rawmap 1 <host>".  I
> would have expected orterun to stop parsing its own options after seeing
> the executable name.
>
> Here's a simple reproducer:
>
> $ cat myprogram.sh
> #!/bin/bash
> echo "$@"
>
> $ ./myprogram.sh a b -host c
> a b -host c
>
> $ orterun -n 1 ./myprogram.sh a b -host c
> a b -rawmap 1 c
>
> This seems like a bug to me, but maybe there is some other simple
> invocation that would make it work as expected.  I tried adding a "--"
> argument before the executable name in hopes that it would stop argument
> processing at that point (similar to bash), but it had no effect.
>
> Thanks for any help,
> -Marcus
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to