24小时热门版块排行榜    

查看: 936  |  回复: 10
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

bearpow

木虫 (著名写手)

[交流] 『求助』PWSCF运行问题

各位,我在运行PWSCF的第一个例子的时候,发现如下错误:

/root/pwscf/examples/example01 : starting

This example shows how to use pw.x to calculate the total energy and
the band structure of four simple systems: Si, Al, Cu, Ni.

  executables directory: /root/pwscf/bin
  pseudo directory:      /root/pwscf/pseudo
  temporary directory:   /root/tmp
  checking that needed directories and files exist... done

  running pw.x as: mpirun -np 2 /root/pwscf/bin/pw.x
  running bands.x as: mpirun -np 2 /root/pwscf/bin/bands.x

  cleaning /root/tmp... done
  running the scf calculation for Si..../run_example: line 124: mpirun: command not found
Error condition encountered during test: exit status = 127
Aborting

是不是我的机器没有安装mpi啊?
但是我的机器是单机,如果需要mpi的话,那该怎样安装呢?
谢谢!
回复此楼
[url=http://bbs.mse.tsinghua.edu.cn/get.php?refid=3626][IMG]http://bbs.mse.tsinghua.edu.cn/logo.gif[/IMG][/url]
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cheapskate

木虫 (正式写手)

zy@zy-desktop:~/安装文件/espresso-4.0.4/examples/example02$ ./run_example

/home/zy/安装文件/espresso-4.0.4/examples/example02 : starting

This example shows how to use pw.x and ph.x to calculate phonon
frequencies at Gamma and X for Si and C in the diamond structure and
for fcc-Ni.

  executables directory: /home/zy/安装文件/espresso-4.0.4/bin
  pseudo directory:      /home/zy/安装文件/espresso-4.0.4/pseudo
  temporary directory:   /home/zy/tmp

  checking that needed directories and files exist... done

  running pw.x as: mpirun -np 2 /home/zy/安装文件/espresso-4.0.4/bin/pw.x
  running ph.x as: mpirun -np 2 /home/zy/安装文件/espresso-4.0.4/bin/ph.x

  cleaning /home/zy/tmp... done
  running the scf calculation..../run_example: 120: mpirun: not found
Error condition encountered during test: exit status = 127
Aborting
zy@zy-desktop:~/安装文件/espresso-4.0.4/examples/example02$
那各位大哥能帮忙看看我这是怎么回事马
做人凡事要静:静静地来,静静地去,静静努力,静静收获,切忌喧哗……
9楼2009-03-05 10:54:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 11 个回答

老虎大王

木虫 (著名写手)

★ ★
fegg7502(金币+2,VIP+0):鼓励交流! 2-3 22:51
你把相关命令改了就是了。
把mpirun -np 2 改掉。

如果你已经在单机,没有MPI的情况下编译通过了的话,改掉例子中给的命令方式就行了。
2楼2009-02-03 20:15:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bearpow

木虫 (著名写手)

谢谢『老虎大王 』,我试试
[url=http://bbs.mse.tsinghua.edu.cn/get.php?refid=3626][IMG]http://bbs.mse.tsinghua.edu.cn/logo.gif[/IMG][/url]
3楼2009-02-04 16:00:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

老虎大王

木虫 (著名写手)

呵呵。搞定了没有啊?我刚又帮你看了一下,要改的地方在examples目录里的environment_variables文件中。你看一看就明白了。
4楼2009-02-05 17:50:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 23jxep3nCNZb 2026-09-14 3/150 2026-09-15 01:21 by mibUvS8DDCwf
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 6F5UbRU2I5hL 2026-09-14 3/150 2026-09-15 00:21 by mibUvS8DDCwf
[教师之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 6F5UbRU2I5hL 2026-09-14 3/150 2026-09-15 00:12 by vZfe6xYu34yj
[考博] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +5 s3fFTmArrBt6 2026-09-14 5/250 2026-09-14 23:33 by vZfe6xYu34yj
[博后之家] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +3 s3fFTmArrBt6 2026-09-13 4/200 2026-09-14 23:24 by vZfe6xYu34yj
[考研] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +5 LwdutQ8HoqWP 2026-09-13 5/250 2026-09-14 22:25 by vZfe6xYu34yj
[硕博家园] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 LwdutQ8HoqWP 2026-09-13 3/150 2026-09-14 22:24 by vZfe6xYu34yj
[博后之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +4 QUjhNVAcOSff 2026-09-13 4/200 2026-09-14 21:37 by vZfe6xYu34yj
[考博] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +5 QUjhNVAcOSff 2026-09-13 5/250 2026-09-14 21:36 by vZfe6xYu34yj
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +4 QUjhNVAcOSff 2026-09-13 5/250 2026-09-14 21:33 by vZfe6xYu34yj
[博后之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +4 QUjhNVAcOSff 2026-09-13 5/250 2026-09-14 21:24 by vZfe6xYu34yj
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +5 QUjhNVAcOSff 2026-09-13 7/350 2026-09-14 21:21 by vZfe6xYu34yj
[考博] 上海工程技术大学激光智能制造课题组招收博士研究生 +4 两三岁ss 2026-09-14 4/200 2026-09-14 20:29 by 班主任的同桌
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 s3fFTmArrBt6 2026-09-14 4/200 2026-09-14 17:48 by Aj1rhIDL5ixY
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 3/150 2026-09-14 15:09 by Aj1rhIDL5ixY
[考研] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 QUjhNVAcOSff 2026-09-13 3/150 2026-09-14 14:57 by Aj1rhIDL5ixY
[基金申请] 求教各位大神:2026教育部人文社科青年基金项目何时公示呀? +5 云宴山人 2026-09-10 7/350 2026-09-14 12:11 by ecnu2013
[找工作] 浙江师范大学是怎么坑我的 +6 recruit123 2026-09-09 6/300 2026-09-14 12:00 by 萨仁其其格
[考博] 西北工业大学材料学院电化学传感与催化课题组招收2027年推免研究生、博士生、博士后 +3 马方园 2026-09-10 4/200 2026-09-14 09:29 by Chem张zz
[考博] 27秋季材料博士申请求助 10+3 Cahal1 2026-09-11 4/200 2026-09-14 08:50 by 北京莱茵编辑
信息提示
请填处理意见