Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Tim Prins (tprins_at_[hidden])
Date: 2007-11-05 14:10:20


Commit 16364 broke things when using multiword mca param values. For

mpirun --debug-daemons -mca orte_debug 1 -mca pls rsh -mca pls_rsh_agent
"ssh -Y" xterm

Will crash and burn, because the value "ssh -Y" is being stored into the
argv orted_cmd_line in orterun.c:1506. This is then added to the launch
command for the orted:

/usr/bin/ssh -Y odin004 PATH=/san/homedirs/tprins/usr/rsl/bin:$PATH ;
export PATH ;
LD_LIBRARY_PATH=/san/homedirs/tprins/usr/rsl/lib:$LD_LIBRARY_PATH ;
export LD_LIBRARY_PATH ; /san/homedirs/tprins/usr/rsl/bin/orted --debug
--debug-daemons --name 0.1 --num_procs 2 --vpid_start 0 --nodename
odin004 --universe tprins_at_[hidden]:default-universe-27872
-mca orte_debug 1 -mca pls_rsh_agent ssh -Y -mca
-mca mca_base_param_file_path_force /san/homedirs/tprins/rsl/examples

Notice that in this command we now have "-mca pls_rsh_agent ssh -Y". So
the quotes have been lost, as we die a horrible death.

So we need to add the quotes back in somehow, or pass these options
differently. I'm not sure what the best way to fix this.