mpirun: rsh: command not found

Dear All

I am trying to run on parallel processors simulation in Fluent but each time I am receiving message like

Host Host spawning Node 0 on machine “linux-3oi6” (unix).

/home/mateusz/fluent/Fluent.Inc/fluent6.3.26/bin/fluent -r6.3.26 3ddp -node -t4 -pethernet -mpi=hp -mport 127.0.0.2:127.0.0.2:3424:0
Starting /home/mateusz/fluent/Fluent.Inc/fluent6.3.26/multiport/mpi/lnamd64/hp/bin/mpirun -np 4 /home/mateusz/fluent/Fluent.Inc/fluent6.3.26/lnamd64/3ddp_node/fluent_mpi.6.3.26 node -mpiw hp -pic ethernet -mport 127.0.0.2:127.0.0.2:3424:0

mpirun: rsh: Command not found

Can anybody help me? I will be very grateful for any help

All the best

MAT

rsh has fallen out of favour due to the use of plaintext passwords for logging in over the network. Does mpirun support other methods like ssh?

If you really have to, you can install the rsh client and install the rsh service, usually running under xinetd. It’s been a while since I used rsh so I’m not sure if there are any quirks now. And please only do this on a private LAN with no untrusted users.

You’re using HP MPI, you can try the following before exectuing your fluent run:

export MPI_REMSH=ssh

I personally haven’t tried it, so I’m not sure how it handles a case where your keys aren’t set up properly.

If you are only going to run locally, which appears to be what you’re doing, you could use yast to install rsh, then ‘chkconfig rsh on’, ‘ckhconfig xinetd on’ and add the following to your /etc/hosts.equiv:

localhost
yourhostname

This will allow your machine to trust rsh from itself only. This is what I did for my own MPI development work.