[GE users] FW: SGE Does Something Bad to rsh
FLengyel at gc.cuny.edu
Fri Apr 22 22:02:39 BST 2005
[ The following text is in the "iso-8859-1" character set. ]
[ Your display is set for the "ISO-8859-10" character set. ]
[ Some special characters may be displayed incorrectly. ]
This email was sent to me by one of my users. We're using SGE 5.3p6 -- we
upgrade to SGE 6.03u soon. Ad interim, we'd like to fix this trouble.
SGE is using ssh instead of rsh. Can someone tell me what the (global) SGE
should look like to use rsh?
From: Rossi, Angelo
To: Research Technology Fellows
Sent: 4/22/2005 4:28 PM
Subject: SGE Does Something Bad to rsh
Hello My Fellow Tech Fellows:
Here is what I did:
1) I recompiled the mpich library using the pgi compiler so that it uses
instead of ssh.
2) I compiled a test program that uses mpi (the pingpong program) and
it to the new mpich library. Using the following command:
/home/m254/rossi/mpich/bin/mpirun -nolocal -np 2 -machinefile
THIS WORKS BEAUTIFULLY. NO PASSWORDS REQUIRED!!!!
"-nolocal" spawns parallel tasks on remote nodes defined in machinefile.
3) Now try the same program using the sge batch engine. Here is the
#$ -pe mpich 2
#$ -N pingpongf90
#$ -j y
#$ -S /bin/bash
/home/m254/rossi/mpich/bin/mpirun -np $NSLOTS -machinefile
Here is what is in the error file:
/usr/bin/rsh: invalid option -- p
usage: rsh [-nd] [-l login] host [command]
/home/m254/rossi/mpich/bin/mpirun: line 1: 18306 Broken pipe
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net
More information about the gridengine-users