- 积分
- 14
- UID
- 8486
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
一台双c的机器,redhat linux9 装mpich 1-2-xx
设置好之后运行,mpirun -np 1 xxx可以。
但是当用多于一个时候就不行了。
在machine.LINUX里设置
hostname:0
hostname:1
或者 hostname
之后运行 mpirun –np 2 xxx
等待很长时间之后出现:
hostname:Connection refused
p0_2063:p4_error:Child process exited while making connection to remote process on hostname:0
p0_2063L33.091749)net_send :could not write to fd=4,errno=32
用cpi测试的。我在examples里加了文件pgfile内容如下:
math.nxu.edu.cn 0 /usr/local/mpi/examples/cpi
math.nxu.edu.cn 1 /usr/local/mpi/examples/cpi
然后直接在examples里运行:
mpirun –p4pg pgfile cpi
但是运行之后还是和以前的提示一样。
help |
|