mpich執行port問題 - Linux

Table of Contents

使用的OS是ubuntu 10
電腦是四核心的PC
似乎因為ssh server設定不是預設的port 22
造成mpirun.mpich -np 2 .... 執行時出錯 以下是錯誤訊息
ssh: connect to host localhost port 22: Connection refused
p0_10064: p4_error: Child process exited while making connection to remote process on localhost: 0
p0_10064: (2.003906) net_send: could not write to fd=4, errno = 32
但是只是用一顆核心時是可以正常執行程式的(mpirun.mpich -np 1 ......)

google到的資訊大部分都是ssh server由於沒有安裝所產生的問題
但是機器的ssh server已經安裝好 使用上也正常
請教各位高手除了把port改回22之外有沒有其他解決這個問題的方法

--

All Comments

Elizabeth avatarElizabeth2011-03-21
check一下 /etc/services ?
Agatha avatarAgatha2011-03-22
man ssh_config,放一個 ~/.ssh/ssh_config 指定 port