24小时热门版块排行榜    

CyRhmU.jpeg
查看: 686  |  回复: 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的回帖

老虎大王

木虫 (著名写手)

★ ★
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的回帖

bshliu

铁虫 (小有名气)

★ ★
qasd(金币+2,VIP+0):xiexie 3-4 22:24
首先判断你安装的是不是并行的
如果不是,
打开上一级目录,修改enviorments_virable 这个文件  ,把下面的两个变量设置为空
如果为并行版 ,下面第一个变量设置为mprirun的路径,
前提是先安装openmpi 才可以
5楼2009-02-15 14:40:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bshliu

铁虫 (小有名气)


wuli8(金币+1,VIP+0):3X!鼓励新虫!(*^__^*) …… 2-18 11:50
单机 ,
openmpi  必须手动安装

否则就不是并行的,只能用小任务 玩玩
6楼2009-02-15 14:43:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

idoldog

铜虫 (小有名气)

自己运行命令行得了,图省劲多

学学Linux吧,以后还可以转软件
7楼2009-03-04 22:01:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

idoldog

铜虫 (小有名气)

功底差很远啊,编译安装,库文件等等,有你受的了
8楼2009-03-04 22:02:53
已阅   回复此楼   关注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的回帖

cheapskate

木虫 (正式写手)

好像是跟楼主的情况是一样的,

你把相关命令改了就是了。
把mpirun -np 2 改掉。

如果你已经在单机,没有MPI的情况下编译通过了的话,改掉例子中给的命令方式就行了。
请问在哪里改,改成什么?/
做人凡事要静:静静地来,静静地去,静静努力,静静收获,切忌喧哗……
10楼2009-03-05 11:01:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 bearpow 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见