[mpich-discuss] Spaces in path to hydra_pmi_proxy in Launch arguments

Derek DiFilippo ddifilippo at lumerical.com
Fri Jan 7 12:57:59 CST 2011


Hi everyone,

I am deploying mpich2-1.3.1 on the Mac.  I am coming up against a problem
that may require modifying the mpich source to resolve: if there are spaces
in the path to hydra_pmi_proxy and -host is not the default, the constructed
launch arguments to ssh are not correctly handling spaces.  Spaces in the
path are correctly handled if the default host is used.  

Excerpted command lines below.  The machine name is microburst and its
address on our network is 192.168.0.174.  

** Success with localhost **
microburst:MacOS ddifilippo$ pwd
/Applications/Lumerical/FDTD Solutions/FDTD Solutions.app/Contents/MacOS
microburst:MacOS ddifilippo$ ./mpiexec -host localhost ./cpi ...
[mpiexec at microburst] Launch arguments: /Applications/Lumerical/FDTD
Solutions/FDTD Solutions.app/Contents/MacOS/./hydra_pmi_proxy --control-port
microburst:49465 --debug --demux poll --pgid 0 --enable-stdin 1 --proxy-id 0
...
Process 0 on microburst
pi is approximately 3.1416009869231254, Error is 0.0000083333333323 wall
clock time = 0.000060

** Not success... with -host 192.168.0.174, alias to localhost **
microburst:MacOS ddifilippo$ ./mpiexec -host 192.168.0.174 ./cpi ...
[mpiexec at microburst] Launch arguments: /usr/bin/ssh -x 192.168.0.174
/Applications/Lumerical/FDTD Solutions/FDTD
Solutions.app/Contents/MacOS/./hydra_pmi_proxy --control-port
microburst:49367 --debug --demux poll --pgid 0 --enable-stdin 1 --proxy-id 0
...


bash: /Applications/Lumerical/FDTD: No such file or directory

If I replace both instances of "FDTD Solutions" with "FDTD_Solutions" the
second call using -host 192.168.0.174 succeeds.  If anyone has a suggestion
or patch that would allow me to keep spaces in our path, it would be warmly
received.

Thanks for your time.

regards,
-Derek.





More information about the mpich-discuss mailing list