I install mpich-1.2.5 on my RH9.0.
I generate RAS key pair using command
Then I copy id_rsa.pub to .ssh/authorized_keys:
Code:
mv id_rsa.pub authorized_keys
Now I can log in my machine without password using SSH.
But when I run a MPI program, I got these error messages:
Code:
mpirun -np 2 ddscat
Permission denied.
p0_4657: p4_error: Child process exited while making connection to remote process on t0.lz.cn: 0
"t0.lz.cn" is my hostname.
I added "t0.lz.cn" to file /etc/hosts.equiv, the problem is solved.
But if you add hostnames to /etc/hosts.equiv, then there is no need to use RSA keys.
Could anyone give me some ideas, if I do not use the file /etc/hosts.equiv?
Thank you!