24小时热门版块排行榜    

查看: 728  |  回复: 1

lstone03

木虫 (小有名气)

[求助] lammps安装错误求助

在安装lammps过程中,已经到了make serial这一步,然后就出现了下面的错误:
compute_voronoi_atom.cpp:31:21: 致命错误: voro++.hh:没有那个文件或目录
编译中断。

然后就没有然后了。。。
还请高手指点!
回复此楼

» 猜你喜欢

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

感觉还不错!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

w76990480

荣誉版主 (文坛精英)

super-emuch

优秀版主文献杰出贡献文献杰出贡献

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
jiaoyixiong: 金币+5, 一步一个金币,哈哈哈,鼓励牛人参与交流 2013-03-25 22:36:14
lstone03: 金币+20, ★★★★★最佳答案, 我后来直接并行安装了,安装过程中就没有出现这样的错误,谢谢楼主的回答! 2013-03-26 10:10:33
你应该编译的是最新版的lammps
voronoi_atom这个应该是计算每个原子的体积
== Installation of the Voro++ library ==

1.  Download Voro++ at http://math.lbl.gov/voro++/download
    which gives instructions for using SVN to check-out the source:
    % svn checkout https://codeforge.lbl.gov/anonscm/voro/trunk

2.  compile Voro++
    % make

3.  install Voro++ at the default location (/usr/local)
    % sudo make install

3b. ..or change the PREFIX variable in the config.mk file
    to a location that is writable by the user i.e.
    PREFIX=/home/maxuser/install/

4.  In the LAMMPS src directory add the VORONOI package
    % make yes-voronoi

4b. if a different PREFIX than the default was used to install Voro++
    update the paths in the src/VORONOI/Makefile.lammps file

5.  Compile LAMMPS (you should know how that works)
按照上面的5步安装
专业文献求助
2楼2013-03-25 22:00:29
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 lstone03 的主题更新
信息提示
请填处理意见