24小时热门版块排行榜    

查看: 1743  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 大佬帮着分析今年的评审意见?该课题连续申请了三年了,明年要不要换个方向。 100+3 cai-11138 2026-08-31 11/550 2026-09-06 20:49 by archvillain
[文学芳草园] 两块石头 +7 阿美_Lml888 2026-09-03 10/500 2026-09-06 20:08 by 阿美_Lml888
[博后之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 j5mmowWXNWxv 2026-09-05 6/300 2026-09-06 18:41 by eObJPa4gWmp6
[硕博家园] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +4 jPDp0sc2B7zQ 2026-09-05 6/300 2026-09-06 18:21 by eObJPa4gWmp6
[公派出国] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 jPDp0sc2B7zQ 2026-09-05 4/200 2026-09-06 18:09 by eObJPa4gWmp6
[论文投稿] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 jPDp0sc2B7zQ 2026-09-05 6/300 2026-09-06 18:01 by eObJPa4gWmp6
[找工作] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 jPDp0sc2B7zQ 2026-09-05 8/400 2026-09-06 17:49 by eObJPa4gWmp6
[考研] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 jPDp0sc2B7zQ 2026-09-04 8/400 2026-09-06 17:09 by eObJPa4gWmp6
[基金申请] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 j5mmowWXNWxv 2026-09-05 3/150 2026-09-06 12:49 by eObJPa4gWmp6
[考博] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 j5mmowWXNWxv 2026-09-05 4/200 2026-09-06 12:29 by eObJPa4gWmp6
[硕博家园] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 jPDp0sc2B7zQ 2026-09-05 7/350 2026-09-06 11:20 by eObJPa4gWmp6
[基金申请] 科研人应该花精力去思考如何解决问题,而不是去凝练问题 +10 瞬息宇宙 2026-09-01 19/950 2026-09-06 11:15 by jiangxuan2004
[博后之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 jPDp0sc2B7zQ 2026-09-05 8/400 2026-09-06 11:09 by eObJPa4gWmp6
[论文投稿] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 jPDp0sc2B7zQ 2026-09-04 8/400 2026-09-06 11:00 by eObJPa4gWmp6
[考研] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 jPDp0sc2B7zQ 2026-09-05 4/200 2026-09-06 07:20 by E1iiBLMU2XnD
[文学芳草园] 初秋的晨风 +4 阿美_Lml888 2026-09-04 6/300 2026-09-05 13:51 by 阿美_Lml888
[基金申请] 学科评审组评审是指会评吗? +6 瞬息宇宙 2026-08-31 9/450 2026-09-05 13:11 by haizai99
[硕博家园] Ei源刊怎么投 +4 Fengshun9711 2026-09-04 4/200 2026-09-04 19:30 by 研途知予
[硕博家园] 哈尔滨工业大学韩晓军教授课题组招收2027年硕士推免生及博士研究生 +3 灯灯灯灯DDDD 2026-09-03 3/150 2026-09-03 21:22 by 科研皮皮猪
[基金申请] 要骂人了,新模版改版就是要淡化问题凝练这种虚的东西,结果有个评委还在说凝练得不够 +9 瞬息宇宙 2026-08-31 17/850 2026-09-02 14:04 by anjeeshine
信息提示
请填处理意见