-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sam Steingold wrote:
> mpiexec script does not pass $ssi_args to lamboot (it passes them to
> mpirun though).
here is the fix:
2007-06-29 Sam Steingold <sds_at_[hidden]>
* mpiexec (parse_global_args): quote ssi option values
to allow multi-word values such as boot_rsh_agent "ssh -x"
(few): pass $ssi_args to lamboot
- --- /home/sds/mpiexec 2005-03-08 16:55:36.000000000 -0500
+++ /usr/bin/mpiexec 2007-06-29 14:22:12.000000000 -0400
@@ -413,8 +413,8 @@
} elsif ($ARGV[$arg_index] eq "-tv") {
$tv_mode = "-tv";
} elsif ($ARGV[$arg_index] eq "-ssi") {
- - $ssi_args = "$ssi_args -ssi " . $ARGV[++$arg_index] . " " .
- - $ARGV[++$arg_index];
+ $ssi_args = "$ssi_args -ssi " . $ARGV[++$arg_index] . " \"" .
+ $ARGV[++$arg_index] . "\"";
} elsif ($ARGV[$arg_index] eq "-h") {
show_help();
exit(0);
@@ -777,7 +777,7 @@
if ( $prefix_boot == 1) {
$prefix_arg = "-prefix $prefix_path";
}
- - exec("lamboot $boot_flag $verbose_mode $debug_mode $bootargs
$prefix_arg $machinefile")
+ exec("lamboot $ssi_args $boot_flag $verbose_mode $debug_mode
$bootargs $prefix_arg $machinefile")
|| die "mpiexec cannot exec lamboot $machinefile: $!\n";
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGhU6+Pp1Qsf2qnMcRAgA6AJwKmFTmmADGCXIR2zOR4vJQ0adPCACdHouL
gZyt72ODi6EaAlcf1ScrJcE=
=mz0q
-----END PGP SIGNATURE-----
|