24小时热门版块排行榜    

查看: 664  |  回复: 4
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

yxie3189

至尊木虫 (正式写手)

[交流] 【求助】在其它节点上编译的程序在新节点上不能运行 已有2人参与

在其它节点上编译的并行程序在新节点上不能运行,出现如下错误:
p0_13461:  p4_error: Child process exited while making connection to remote process on node142: 0
望高手帮忙!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yxie3189

至尊木虫 (正式写手)

引用回帖:
Originally posted by wanglifei007 at 2010-05-28 20:21:45:
是不是分配机群的时候限制可用的节点数了,你问一下你们的机群管理员吧。

我看看吧
3楼2010-05-28 21:45:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 5 个回答

wanglifei007

金虫 (正式写手)


yxie3189(金币+1): 2010-05-28 21:44:15
resonant(金币+1):欢迎参与讨论。 2010-05-28 21:57:32
是不是分配机群的时候限制可用的节点数了,你问一下你们的机群管理员吧。
2楼2010-05-28 20:21:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yxie3189

至尊木虫 (正式写手)

program test_gather
        include 'mpif.h'

      integer numprocs,myid,ierr,a,b
      dimension a(3),b(9)
     
      call MPI_INIT(ierr)
      call MPI_COMM_RANK(MPI_COMM_WORLD,myid,ierr)
      call MPI_COMM_SIZE(MPI_COMM_WORLD,numprocs,ierr)
      print *,'process',myid,' is alive'

      do i=1,3
       a(i)=myid+1
      end do

      call MPI_GATHER(a,3,MPI_INTEGER,b,3,MPI_INTEGER,
                      0,MPI_COMM_WORLD,ierr)

     
      write(*,*)(a(i),i=1,3)

      if ( myid .eq. 0 ) then
          write(*,*) (b(i),i=1,9)
      endif
     
      call MPI_FINALIZE(ierr)

      end
这个程序编译结果如下:
[yxie@node169 yxie]$ mpif77 -O3 -o test test_gather.f
test_gather.f: In program `test_gather':
test_gather.f:16:
         call MPI_GATHER(a,3,MPI_INTEGER,b,3,MPI_INTEGER,
              1                                          2
Invalid token at (2) in expression or subexpression at (1)
test_gather.f:17:
                         0,MPI_COMM_WORLD,ierr)
                          ^
Statement at (^) begins with invalid token [info -f g77 M LEX]
[yxie@node169 yxie]$
4楼2010-05-28 22:43:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yxie3189

至尊木虫 (正式写手)

program test_gather
        include 'mpif.h'
      integer numprocs,myid,ierr,a,b
      dimension a(3),b(9)
     
      call MPI_INIT(ierr)
      call MPI_COMM_RANK(MPI_COMM_WORLD,myid,ierr)
      call MPI_COMM_SIZE(MPI_COMM_WORLD,numprocs,ierr)
      print *,'process',myid,' is alive'
      do i=1,3
       a(i)=myid+1
      end do
      call MPI_GATHER(a,3,MPI_INTEGER,b,3,MPI_INTEGER,
     +                0,MPI_COMM_WORLD,ierr)
     
      write(*,*)(a(i),i=1,3)
      if ( myid .eq. 0 ) then
          write(*,*) (b(i),i=1,9)
      endif
     
      call MPI_FINALIZE(ierr)
      end
该测试程序在45,46等节点上运行正常,得到结果如下:
编译:mpif77 -o test_gather test_gather.f
运行: mpiexec -n 3 ./test_gather
结果如下:
process 0 is alive
process 2 is alive
process 1 is alive
2 2 2
1 1 1
1 1 1 2 2 2 3 3 3
3 3 3

在169节点上,结果如下:
[yxie@node169 yxie]$ mpiexec -n 3 ./test
process 0 is alive
1 1 1
1 1 1 50 5566888 0 0 0 0
process 0 is alive
1 1 1
1 1 1 50 5566888 0 0 0 0
process 0 is alive
1 1 1
1 1 1 50 5566888 0 0 0 0
[yxie@node169 yxie]$

大家帮我看是不是能有什么办法解决?
5楼2010-05-29 14:51:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 博士自荐 +4 kkluvs 2026-02-28 4/200 2026-03-01 10:19 by 馥安馥安
[考研] 317一志愿华南理工电气工程求调剂 +5 Soliloquy_Q 2026-02-28 9/450 2026-03-01 10:15 by Soliloquy_Q
[考研] 0856化工专硕求调剂 +4 董boxing 2026-03-01 4/200 2026-03-01 10:11 by 杨杨杨紫
[考研] 0856求调剂285 +6 吕仔龙 2026-02-28 6/300 2026-03-01 10:03 by wang_dand
[考研] 高分子化学与物理调剂 +4 好好好1233 2026-02-28 8/400 2026-03-01 09:26 by 好好好1233
[考研] 272求调剂 +4 材紫有化 2026-02-28 4/200 2026-03-01 09:20 by L135790
[考研] 291分工科求调剂 +5 science饿饿 2026-03-01 5/250 2026-03-01 09:19 by L135790
[考研] 284求调剂 +5 天下熯 2026-02-28 5/250 2026-03-01 08:49 by ms629
[考研] 285求调剂 +6 满头大汗的学生 2026-02-28 6/300 2026-03-01 06:29 by Trying]
[考研] 295求调剂 +5 19171856320 2026-02-28 5/250 2026-02-28 21:39 by gaoxiaoniuma
[考研] 材料学调剂 +5 提神豆沙包 2026-02-28 5/250 2026-02-28 21:34 by gaoxiaoniuma
[考研] 264求调剂 +3 巴拉巴拉根556 2026-02-28 3/150 2026-02-28 21:31 by gaoxiaoniuma
[考研] 311求调剂 +8 南迦720 2026-02-28 8/400 2026-02-28 21:30 by gaoxiaoniuma
[考研] 085600材料工程一志愿中科大总分312求调剂 +8 吃宵夜1 2026-02-28 10/500 2026-02-28 20:27 by L135790
[考研] 298求调剂 +8 人间唯你是清欢 2026-02-28 11/550 2026-02-28 20:26 by L135790
[考研] 276求调剂 +3 路lyh123 2026-02-28 4/200 2026-02-28 19:45 by 路lyh123
[考研] 0856材料求调剂 +10 hyf hyf hyf 2026-02-28 11/550 2026-02-28 18:50 by 无际的草原
[考研] 0856调剂 +3 刘梦微 2026-02-28 3/150 2026-02-28 13:22 by houyaoxu
[基金申请] 面上可以超过30页吧? +12 阿拉贡aragon 2026-02-22 13/650 2026-02-26 22:09 by Hahaxia
[硕博家园] 【博士招生】太原理工大学2026化工博士 +4 N1ce_try 2026-02-24 8/400 2026-02-26 08:40 by N1ce_try
信息提示
请填处理意见