Your message dated Sat, 21 Dec 2024 22:40:28 +0100
with message-id <[email protected]>
and subject line Re: [mpich-bin] tstmachines doesn't handle spaces in path
has caused the Debian Bug report #512142,
regarding [mpich-bin] tstmachines doesn't handle spaces in path
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
512142: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512142
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mpich-bin
Version: 1.2.7-8
Severity: normal
Tags: patch
Hi!
Executing tstmachines from a path with spaces in it doesn't work.
Here is the result:
pau@pau:~/Pràctiques/Màster/Eines i entorns per a programació
paral·lela/Pràctiques/Skel$ LANG=C LC_ALL=C tstmachines
/usr/bin/tstmachines: line 71: [: too many arguments
/usr/bin/tstmachines: line 77: [: too many arguments
/usr/bin/tstmachines: line 94: [: too many arguments
/bin/ls: cannot access /home/pau/Pràctiques/Màster/Eines: No such file or
directory
/bin/ls: cannot access i: No such file or directory
/bin/ls: cannot access entorns: No such file or directory
/bin/ls: cannot access per: No such file or directory
/bin/ls: cannot access a: No such file or directory
/bin/ls: cannot access programació: No such file or directory
/bin/ls: cannot access paral·lela/Pràctiques/Skel/mpichfoo: No such file or
directory
Errors while trying to run /usr/bin/rsh
localhost -n /bin/ls /home/pau/Pràctiques/Màster/Eines i entorns per a
programació paral·lela/Pràctiques/Skel/mpichfoo
Unexpected response from localhost:
--> /bin/ls: cannot access /home/pau/Pràctiques/Màster/Eines: No such file or
directory
/bin/ls: cannot access i: No such file or directory
/bin/ls: cannot access entorns: No such file or directory
/bin/ls: cannot access per: No such file or directory
/bin/ls: cannot access a: No such file or directory
/bin/ls: cannot access programació: No such file or directory
/bin/ls: cannot access paral·lela/Pràctiques/Skel/mpichfoo: No such file or
directory
Unexpected response from pau:
--> /bin/ls: cannot access /home/pau/Pràctiques/Màster/Eines: No such file or
directory
/bin/ls: cannot access i: No such file or directory
/bin/ls: cannot access entorns: No such file or directory
/bin/ls: cannot access per: No such file or directory
/bin/ls: cannot access a: No such file or directory
/bin/ls: cannot access programació: No such file or directory
/bin/ls: cannot access paral·lela/Pràctiques/Skel/mpichfoo: No such file or
directory
The ls test failed on some machines.
This usually means that you do not have a common filesystem on
all of the machines in your machines list; MPICH requires this
for mpirun (it is possible to handle this in a procgroup file; see
the documentation for more details).
Other possible problems include:
The remote shell command /usr/bin/rsh does not allow you to run ls.
See the documentation about remote shell and rhosts.
You have a common file system, but with inconsistent names.
See the documentation on the automounter fix.
2 errors were encountered while testing the machines list for LINUX
No machines seem to be available!
Attached is a first try to add double quotes around. I'm sure it need some
more.
Thanks!
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.26-1-686
Debian Release: 5.0
990 testing security.debian.org
990 testing ftp.es.debian.org
990 testing debian-multimedia.org
500 unstable ftp.es.debian.org
500 stable ftp.es.debian.org
500 etch ftp5.es.postgresql.org
1 experimental ftp.es.debian.org
--- Package information. ---
Depends (Version) | Installed
=============================-+-============
libc6 (>= 2.7-1) | 2.7-16
libmpich1.0gf (= 1.2.7-8) | 1.2.7-8
rsh-client |
--
Pau Tallada Crespí
GNU/Linux User : #345498
GnuPG Key : 0xC2E6DD29
"La religió ha posat un càstig a sobre de totes les coses de la vida amb les
que gaudim. O són perjudicials per la salut, o malmeten l'ànima, o ens
engreixen.
(Albert Einstein)
--- tstmachines.orig 2009-01-17 20:23:36.000000000 +0100
+++ tstmachines 2009-01-17 20:11:21.000000000 +0100
@@ -68,13 +68,13 @@
# Use same mechanism as in mpirun to get the value of pwd...
if [ -n "sed -e s@/tmp_mnt/@/@g" ] ; then
PWDtest=`pwd | sed -e s@/tmp_mnt/@/@g`
- if [ ! -d "$PWDtest" ] ; then
+ if [ ! -d $PWDtest ] ; then
PWDtest=`pwd`
fi
if [ -n "$PWD" ] ; then
rm -f $PWDtest/.mpirtmp $PWD/.mpirtmp
echo "test" > $PWD/.mpirtmp
- if [ ! -s "$PWDtest/.mpirtmp" ] ; then
+ if [ ! -s $PWDtest/.mpirtmp ] ; then
rm -f $PWD/.mpirtmp
PWD=$PWDtest
fi
@@ -91,7 +91,7 @@
else
PWD_TRIAL=$PWDtest
fi
-if [ ! -d "$PWD_TRIAL" ] ; then
+if [ ! -d $PWD_TRIAL ] ; then
echo "Warning: your default path uses the automounter; this may"
echo "cause some problems if you use other NFS-connected systems."
PWD_TRIAL=`pwd`
@@ -181,7 +181,7 @@
#
# Get the output form to expect from ls.
# Use /bin/ls to avoid any alias problems
-tstout=`/bin/ls "$myprog"`
+tstout=`/bin/ls $myprog`
for machine in $list ; do
# Strip cluster size from machine name
ntest=`expr $machine : '.*:\([0-9]*\)'`
@@ -191,7 +191,7 @@
if [ $verbose = 1 ] ; then
echo "Trying ls on $machine ..."
fi
- output=`$rsh $machine -n /bin/ls \""$myprog"\" 2>&1`
+ output=`$rsh $machine -n /bin/ls $myprog 2>&1`
if [ "$output" != "$tstout" ] ; then
if [ -z "$printedheader" ] ; then
echo "Errors while trying to run $rsh $machine -n /bin/ls $myprog"
@@ -244,7 +244,7 @@
if [ $verbose = 1 ] ; then
echo "Trying user program on $machine ..."
fi
- output=`$rsh $machine -n \""$myprog"\" 2>&1`
+ output=`$rsh $machine -n $myprog 2>&1`
if [ "$output" != "" ] ; then
if [ -z "$printedheader" ] ; then
echo "Errors while trying to run a simple C program with $rsh $machine -n"
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---
On Sat, 17 Jan 2009 20:48:03 +0100 Pau Tallada =?iso-8859-1?q?Cresp=ED?=
<[email protected]> wrote:
Package: mpich-bin
Version: 1.2.7-8
/usr/bin/tstmachines: line 71: [: too many arguments
tstmachines is long gone from Debian ...
Andreas
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers