Am 26.10.2010 um 16:48 schrieb Bill McGrory:
> I'm trying to pass a full path name as an argument to my executable
> through mpirun on a windows platform. Some of the directories have
> spaces embedded in the file name (e.g. C:\Program Files)
>
> When I print out the argument list from the program, it has split the
> argument into two (or more).
>
> I have also enclosed the arguments in quotes, but that doesn't seem to
> help.
I don't know for Windows, but sometimes it can help to use single and double quotes in combination:
'"C:\Program Files"'
-- Reuti
> Is this a bug? or do I need to escape my argument list some way.
>
> TIA
>
> Bill
>
> This is v1.4.2 compiled with MSVS using MS compilers, and I see it on XP
> and Vista.
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
|