|
|
第一步:MPI库的安装
按照http://sobereva.com/451安装openmpi-3.1.4.tar.gz的库压缩包后,采用mpiexec -V命令查看版本,显示版本号如下。
liaorongbao@liaorongbao:~/ORCA$ mpiexec -V
Intel(R) MPI Library for Linux, 64-bit applications, Version 4.1 Build 20120831
Copyright (C) 2003-2012 Intel Corporation. All rights reserved.
MPI库版本对应4.1,不知是否正确,为什么压缩包显示的3.1.4呢?我的机器大约一年前安装过intel的某些库,担心冲突,4.1会不会是一年前安装的什么东西造成的?
第二步:算例
安装MPI库后,安装了ORCA。似乎安装过程顺利。
Sob博文的输入文件名为test.inp, 内容如下
! BLYP def2-SVP noautostart miniprint pal4
* xyz 0 1
C 0.00000000 0.00000000 -0.56221066
H 0.00000000 -0.92444767 -1.10110537
H -0.00000000 0.92444767 -1.10110537
O 0.00000000 0.00000000 0.69618930
*
在当前目录下执行命令liaorongbao@liaorongbao:~/ORCA$ orca test.inp
屏幕上显示:
*****************
* O R C A *
*****************
--- An Ab Initio, DFT and Semiempirical electronic structure package ---
#######################################################
# -***- #
# Department of theory and spectroscopy #
# Directorship: Frank Neese #
# Max Planck Institute fuer Kohlenforschung #
# Kaiser Wilhelm Platz 1 #
# D-45470 Muelheim/Ruhr #
# Germany #
# #
# All rights reserved #
# -***- #
#######################################################
Program Version 4.2.0 - RELEASE -
略去中间一大段显示内容,以下是出错信息
CARTESIAN COORDINATES (ANGSTROEM)
---------------------------------
C 0.000000 0.000000 -0.562211
H 0.000000 -0.924448 -1.101105
H -0.000000 0.924448 -1.101105
O 0.000000 0.000000 0.696189
----------------------------
CARTESIAN COORDINATES (A.U.)
----------------------------
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
/opt/intel/composer_xe_2013.2.146/mpirt/bin/intel64/mpirun: 96: .: Can't open /opt/intel/composer_xe_2013.2.146/mpirt/bin/intel64/mpivars.sh
ORCA finished by error termination in GTOInt
Calling Command: mpirun -np 4 /home/liaorongbao/ORCA/orca_4_2_0_linux_x86-64_shared_openmpi314/orca_gtoint_mpi test.int.tmp test
[file orca_tools/qcmsg.cpp, line 458]:
.... aborting the run
[file orca_tools/qcmsg.cpp, line 458]:
.... aborting the run
liaorongbao@liaorongbao:~/ORCA$
毛病显示为:Can't open /opt/intel/composer_xe_2013.2.146/mpirt/bin/intel64/mpivars.sh
大概意思是无法打开mpivars.sh。大概一年前机器里面安装过intel的某些库的东西,不会是不是那个东西造成的
|
|