计算化学公社
标题: 求教,编译QE时出错 [打印本页]
作者Author: qchem 时间: 2020-10-11 11:35
标题: 求教,编译QE时出错
CentOS 7.0按坛主的方法
编译过程中出现
xmltools.f90:823.18:
cp = c_loc(zmat)
1
Error: Assumed-shape array 'zmat' at (1) cannot be an argument to the procedure 'c_loc' because it is not C interoperable
xmltools.f90:797.18:
cp = c_loc(zvec)
1
Error: Assumed-shape array 'zvec' at (1) cannot be an argument to the procedure 'c_loc' because it is not C interoperable
请问要怎么处理呀?
作者Author: sobereva 时间: 2020-10-11 16:24
得说明QE版本
作者Author: qchem 时间: 2020-10-11 16:28
是QE 6.6
我查了一下,可能是gcc的版本太低了,编译gcc之后好像可以了
但是服务器上没有root权限不知道能不能搞定
作者Author: zjxitcc 时间: 2020-10-11 16:31
gcc也可以在自己目录下装,无需root权限。
作者Author: qchem 时间: 2020-10-11 16:33
好的,试试看,谢谢
作者Author: qchem 时间: 2020-10-11 16:58
社长,运行make run-tests-parallel测试的时候出现失败,是编译出来的软件有问题吗?
Running PH ...
ph_Ni_nc_spinorbit_mag - Ni.ph.in (arg(s): 2): **FAILED**.
phfreq
ERROR: absolute error 2.74e+03 greater than 2.00e+00. (Test: 2894.035405. Benchmark: 153.361965.)
phfreq
ERROR: absolute error 2.74e+03 greater than 2.00e+00. (Test: 2894.125034. Benchmark: 153.642608.)
phfreq
ERROR: absolute error 2.69e+03 greater than 2.00e+00. (Test: 2912.518104. Benchmark: 219.462661.)
作者Author: sobereva 时间: 2020-10-13 06:39
也不好说。也没准是开发者的测试脚本本身有问题,可以去QE的官方邮件列表问问
作者Author: abin 时间: 2020-12-28 21:17
GCC9源码编译
https://www.bilibili.com/video/BV1HJ411H7Ca
视频中的技术方案,适用于绕开root授权,给自己安装软件的场景。
作者Author: cyclohexane 时间: 2021-4-12 08:27
请教一下你编译成功了吗?是怎么解决的?我编译QE6.7也遇到这个问题,gcc装了9.3的版本也不行
作者Author: abin 时间: 2021-4-12 11:28
我有编译好的版本,分别针对haw skx处理器优化。
如想要,可以私信联系。
作者Author: ChemG 时间: 2021-5-14 11:13
确实gcc过低会影响编译6.6和6.7,如果对新版本没那么高要求,centos7标配的gcc4.8.5可以顺利编译QE6.5
作者Author: biogon 时间: 2021-5-14 18:19
对的,但是gcc4.8.5之前不知道怎么搞的居然编成了6.6,但是后来就再也没成
作者Author: 心之体 时间: 2022-3-30 22:34
碰到了同样的情况,升级gcc到9.3还是一样报错,QE版本6.7,这咋整。。
作者Author: pwzhou 时间: 2022-3-30 22:45
用intel编译器
作者Author: 心之体 时间: 2022-3-31 21:57
没用,一样的错误
| 欢迎光临 计算化学公社 (http://bbs.keinsci.com/) |
Powered by Discuz! X3.3 |