24小时热门版块排行榜    

查看: 1728  |  回复: 4
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

lpfycbx

铜虫 (正式写手)

[交流] vasp的lib和vasp编译出了点问题,麻烦各位大神帮忙看看 已有1人参与

这是vasp.lib的编译问题Lenovo-ideapad-720S-13ARR:~/Downloads/vasp.5.4.1/vasp.5.lib$ make
ifort -O0 -FI -FR  -c diolib.f
diolib.f(13): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(14): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(87): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(88): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(143): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(144): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(200): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(201): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(222): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(223): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(245): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(246): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(269): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(270): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(299): error #7013: This module file was not generated by any release of this compiler.   [PRECLIB]
      USE preclib
----------^
diolib.f(300): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
compilation aborted for diolib.f (code 1)
makefile:58: recipe for target 'diolib.o' failed
make: *** [diolib.o] Error 1


这是vasp5.4.1的编译过程Lenovo-ideapad-720S-13ARR:~/Downloads/vasp.5.4.1$ make all
mkdir build/std ; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
mkdir: cannot create directory ‘build/std’: File exists
make[1]: Entering directory '/home/worm/Downloads/vasp.5.4.1/build/std'
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib
make[2]: Entering directory '/home/worm/Downloads/vasp.5.4.1/build/std/lib'
mpif90 -O1 -free -names lowercase -c -o preclib.o preclib.f90
gfortran: error: lowercase: No such file or directory
gfortran: error: unrecognized command line option ‘-names’; did you mean ‘-maes’?
makefile:25: recipe for target 'preclib.o' failed
make[2]: *** [preclib.o] Error 1
make[2]: Leaving directory '/home/worm/Downloads/vasp.5.4.1/build/std/lib'
makefile:155: recipe for target 'lib' failed
make[1]: *** [lib] Error 2
make[1]: Leaving directory '/home/worm/Downloads/vasp.5.4.1/build/std'
makefile:10: recipe for target 'std' failed
make: *** [std] Error 2

两个都出现了点问题,各位大神能不能指导一下呀
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lpfycbx

铜虫 (正式写手)

引用回帖:
2楼: Originally posted by 未岸亡灵 at 2020-09-26 22:37:28
一个是mkl库的问题,一个是用gfortran编译的事。总的来说,都是intel编译器环境变量以及makefile.include文件没有书写正确的原因。

好的,谢谢!
3楼2020-09-30 08:54:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 5 个回答

未岸亡灵

铁杆木虫 (著名写手)

暂时离开小木虫



小木虫: 金币+0.5, 给个红包,谢谢回帖
一个是mkl库的问题,一个是用gfortran编译的事。总的来说,都是intel编译器环境变量以及makefile.include文件没有书写正确的原因。
2楼2020-09-27 18:37:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lpfycbx

铜虫 (正式写手)

引用回帖:
2楼: Originally posted by 未岸亡灵 at 2020-09-26 22:37:28
一个是mkl库的问题,一个是用gfortran编译的事。总的来说,都是intel编译器环境变量以及makefile.include文件没有书写正确的原因。

好的,谢谢!
4楼2020-09-30 08:54:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lpfycbx

铜虫 (正式写手)

引用回帖:
2楼: Originally posted by 未岸亡灵 at 2020-09-26 22:37:28
一个是mkl库的问题,一个是用gfortran编译的事。总的来说,都是intel编译器环境变量以及makefile.include文件没有书写正确的原因。

好的,谢谢!
5楼2020-09-30 08:54:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 2026国自然函评费到账 +9 羊腰板 2026-08-21 9/450 2026-08-22 00:03 by anji999
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] 让我中一个面上吧! +11 大萍1987 2026-08-20 13/650 2026-08-21 14:48 by 20120902066
[基金申请] 人气不行了 +7 fansofjerry 2026-08-21 7/350 2026-08-21 14:13 by Vivilian
[基金申请] 感觉是下周放榜了 +7 angus9576 2026-08-17 12/600 2026-08-21 13:38 by weiyin
[基金申请] 我面上完蛋了 +7 且听虎啸 2026-08-20 8/400 2026-08-21 12:31 by 酷酷墨镜
[基金申请] 只有每年这种时候来逛逛小木虫 +23 yaoyewhu2008 2026-08-20 25/1250 2026-08-21 12:19 by Poppy1104
[基金申请] 什么时候开奖? +7 CrisMessi 2026-08-18 7/350 2026-08-21 12:15 by weiyin
[基金申请] 时间戳又变了8-15 +15 archvillain 2026-08-15 27/1350 2026-08-21 11:32 by tim76
[基金申请] 今天基金会出结果吗?20260819 +15 kkkl_v 2026-08-19 16/800 2026-08-21 11:22 by 365372687
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
[基金申请] 估计是周四 +3 archvillain 2026-08-18 3/150 2026-08-21 01:48 by jnhyjjm
[基金申请] 今天系统多次维护,明天很可能放榜! +10 zju2000 2026-08-16 11/550 2026-08-20 20:02 by cl479861084
[基金申请] 时间戳变了,能看出什么问题? +18 基诺咪客 2026-08-17 23/1150 2026-08-20 17:19 by Godzela
[教师之家] 为什么余额宝的年化利率越来越低?主要原因有哪些? +5 瞬息宇宙 2026-08-15 5/250 2026-08-19 20:23 by super2002521
[基金申请] 今天放榜吗? +14 布布和一二 2026-08-19 15/750 2026-08-19 18:07 by gltch
[基金申请] 2027广东省杰青 +4 奶牛小黑 2026-08-15 10/500 2026-08-19 11:02 by wanfengnew
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
信息提示
请填处理意见