Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Help passing filename arguments with spaces through mpirun on windows
From: Reuti (reuti_at_[hidden])
Date: 2010-10-26 10:54:30

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.
> 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]