24小时热门版块排行榜    

查看: 1691  |  回复: 4

niuli

金虫 (小有名气)

[交流] 【其他】Pwscf不能并行计算

在服务器上安装pwscf,运行./configure 结束前出现如下信息:


ESPRESSO can take advantage of several optimized numerical libraries
(essl, fftw, mkl...).  This configure script attempts to find them,
but may fail if they have been installed in non-standard locations.
If a required library is not found, the local copy will be compiled.


The following libraries have been found:
  BLAS_LIBS= -lblas
  LAPACK_LIBS= -llapack
  FFT_LIBS=-L/public1/software/fftw/lib -lfftw3
Please check if this is what you expect.

If any libraries are missing, you may specify a list of directories
to search and retry, as follows:
  ./configure LIBDIRS="list of directories, separated by spaces"

Parallel environment detected successfully.\
Configured for compilation of parallel executables.

For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
--------------------------------------------------------------------
configure: success
./install/configure: line 9250: sort: No such file or directory
./install/configure: line 9247: sed: No such file or directory

我看到并行环境已检测到,且显示成功安装,就没在意后面的两行是什么含义。make all后,尝试运行个例子。

运行命令:
/public1/software/mpich-1.2.7p1-intel/bin/mpirun -np 1 -machinefile ./machinefile1 /home/niuli/espresso-4.2/bin/pw.x  <./in2o3.scf.in> in2o3.scf.out &
(指定用1个处理器计算)
/public1/software/mpich-1.2.7p1-intel/bin/mpirun -np 4 -machinefile ./machinefile1 /home/niuli/espresso-4.2/bin/pw.x  <./in2o3.scf.in> in2o3.scf.out &
(指定用4个处理器计算)

结果发现1个处理器的能进行计算,4个处理器或2个以上都不能运算,结果文件中有如下信息:

p0_18612: (1000.488281) Procgroup:
p0_18612: (1000.488281)     entry 0: node1 0 0 /home/niuli/espresso-4.2/bin/pw.x niuli
p0_18612: (1000.488281)     entry 1: node 1 1 /home/niuli/espresso-4.2/bin/pw.x niuli
p0_18612: (1000.488281)     entry 2: 4 1 2 /home/niuli/espresso-4.2/bin/pw.x niuli
p0_18612: (1000.488281)     entry 3: node 1 3 /home/niuli/espresso-4.2/bin/pw.x niuli
p0_18612:  p4_error: Could not gethostbyname for host node; may be invalid name
: 1001


麻烦大家帮忙指点
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

子虚乌有5388

木虫 (正式写手)

★ ★
niuli(金币+1):谢谢参与
niuli(金币+1):我试试 2010-10-12 14:35:13
zzy870720z(金币+1):谢谢指教 2010-10-12 14:36:41
你的是mpich2吧?试一下mpiexec -n 4 /home/niuli/espresso-4.2/bin/pw.x  <./in2o3.scf.in> in2o3.scf.out &
房无一间,地无一亩,身无分文,胸无大志。
2楼2010-10-12 14:32:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

niuli

金虫 (小有名气)

还是不能计算

服务器上装的是mpich-1.2.7p1,按照你说的也不能计算
3楼2010-10-12 14:41:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

子虚乌有5388

木虫 (正式写手)


ym23(金币+1):欢迎常来交流 2010-10-12 16:13:10
你是运行例子还是在自己新建的目录下运算,如果是例子是不是并行的环境变量没有设置?你自己建一个目录试试,把例子的结构拷贝进去计算。
按理说有并行环境的话,pwscf默认的应该是并行安装。
房无一间,地无一亩,身无分文,胸无大志。
4楼2010-10-12 15:50:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

goldenfisher

金虫 (著名写手)


niuli(金币+1):谢谢参与
p0_18612:  p4_error: Could not gethostbyname for host node; may be invalid name

关键是这句话。我觉得可能是不是你的machinefile文件有问题哦
5楼2010-10-12 15:53:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 niuli 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 面上再次挂了,太难了,躺也躺不了,倦也卷不过,小学校之殇! +23 低垂的野花 2026-07-31 31/1550 2026-08-07 12:22 by speculiar
[基金申请] filecode +14 等待解的谜 2026-08-06 19/950 2026-08-07 12:20 by wlwhappy
[基金申请] filecode变化情况 +3 布布和一二 2026-08-07 9/450 2026-08-07 12:19 by 医学老男孩
[基金申请] 关于豆爷回答的JTJC与%2F数量 +3 yang182083 2026-08-06 4/200 2026-08-07 11:07 by 虫友是什么虫
[基金申请] 基金中了 +11 laoda193707 2026-08-06 11/550 2026-08-07 10:54 by TT和NN
[基金申请] 听说今天filecode变了 +21 布布和一二 2026-08-06 44/2200 2026-08-07 10:11 by 布布和一二
[基金申请] 固定端突然变了,今天 +4 archvillain 2026-08-06 8/400 2026-08-07 08:06 by 带你看大海
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +5 Tide man 2026-08-06 6/300 2026-08-06 20:19 by 苏知砚
[有机交流] 一个有机合成实验室都需要哪些设备? 50+3 kf2781974 2026-07-31 12/600 2026-08-06 15:11 by eddyin
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
[基金申请] 8月时间戳变的,举个手。玩一下,释放压力 +9 archvillain 2026-08-04 11/550 2026-08-05 20:06 by wlwhappy
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
[考博] 【2027博士申请】纳米药物递送方向 20+3 13586093586 2026-08-03 4/200 2026-08-05 09:59 by lfy8008
[基金申请] 有没有H口的?有收到消息的吗? +3 超级海虾 2026-08-04 3/150 2026-08-04 17:26 by 学教育滴
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
[基金申请] 面上提前没消息,有中的吗 +14 archvillain 2026-08-02 18/900 2026-08-04 14:42 by archvillain
[基金申请] 娱乐 +4 Tide man 2026-08-03 4/200 2026-08-04 11:51 by wgch518
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
信息提示
请填处理意见