计算化学公社

标题: ORCA安装问题 [打印本页]

作者
Author:
gauss98    时间: 2019-6-10 14:33
标题: ORCA安装问题
按照板上sob大神的介绍安装了MPI和ORCA后,试运行测试文件出现如下错误,是什么原因?谢谢!
  NO LB      ZA    FRAG     MASS         X           Y           Z
   0 C     6.0000    0    12.011    0.000000    0.000000   -1.062424
   1 H     1.0000    0     1.008    0.000000   -1.746953   -2.080788
   2 H     1.0000    0     1.008   -0.000000    1.746953   -2.080788
   3 O     8.0000    0    15.999    0.000000    0.000000    1.315607

/home/gauss/orca411/orca_gtoint_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
/home/gauss/orca411/orca_gtoint_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
/home/gauss/orca411/orca_gtoint_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
/home/gauss/orca411/orca_gtoint_mpi: error while loading shared libraries: libmpi.so.40: cannot open shared object file: No such file or directory
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------

ORCA finished by error termination in GTOInt
Calling Command: mpirun -np 4  /home/gauss/orca411/orca_gtoint_mpi or.int.tmp or
[file orca_tools/qcmsg.cpp, line 458]:
  .... aborting the run

[file orca_tools/qcmsg.cpp, line 458]:
  .... aborting the run



作者
Author:
zjxitcc    时间: 2019-6-10 15:08
error while loading shared libraries
太常见了,一搜一大把这种问题。就是openmpi没装对、环境变量没写对这几个原因造成的。导致程序无法调用动态库。
作者
Author:
gauss98    时间: 2019-6-10 16:49
搞定。
我是把
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sob/openmpi313/lib
最后的lib写成bin了。

谢谢!

作者
Author:
dongdong    时间: 2020-7-2 12:09
gauss98 发表于 2019-6-10 16:49
搞定。
我是把
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/sob/openmpi313/lib

您好!这样能解决么?
作者
Author:
zjxitcc    时间: 2020-7-2 14:10
dongdong 发表于 2020-7-2 12:09
您好!这样能解决么?

楼上是原本写错了然后改正过来了。你得说说的你碰到的具体问题。
作者
Author:
dongdong    时间: 2020-7-2 14:21
本帖最后由 dongdong 于 2020-7-2 14:33 编辑
zjxitcc 发表于 2020-7-2 14:10
楼上是原本写错了然后改正过来了。你得说说的你碰到的具体问题。

http://bbs.keinsci.com/thread-18217-1-1.html
您好,这是我前两天发的贴子,也是遇到同样的问题,还没有解决。我现在准备用 openmpi-2.1.5和orca4.1.0版本再试一下。
作者
Author:
zjxitcc    时间: 2020-7-2 14:27
本帖最后由 zjxitcc 于 2020-7-2 14:28 编辑
dongdong 发表于 2020-7-2 14:21
http://bbs.keinsci.com/thread-18217-1-1.html
您好,这是我前两天发的贴子,也是遇到同样的问题,还没 ...

这位提问者的问题是error while loading shared libraries

你在那个帖子贴出的输出文件并没有这个报错信息,有可能是其他原因。
作者
Author:
dongdong    时间: 2020-7-2 14:37
zjxitcc 发表于 2020-7-2 14:27
这位提问者的问题是error while loading shared libraries

你在那个帖子贴出的输出文件并没有这个报错 ...

对的,我的报错确实不是加载共享库的问题,所以就非常奇怪,搞了很久也没有弄明白。
作者
Author:
zjxitcc    时间: 2020-7-2 14:41
dongdong 发表于 2020-7-2 14:37
对的,我的报错确实不是加载共享库的问题,所以就非常奇怪,搞了很久也没有弄明白。

试过把$LD_LIBRARY_PATH和$PATH写到路径后面么,像
export PATH=xxx:$PATH




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3