vasp的lib和vasp編譯出了點(diǎn)問題,麻煩各位大神幫忙看看
這是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
兩個都出現(xiàn)了點(diǎn)問題,各位大神能不能指導(dǎo)一下呀
返回小木蟲查看更多
京公網(wǎng)安備 11010802022153號
一個是mkl庫的問題,一個是用gfortran編譯的事?偟膩碚f,都是intel編譯器環(huán)境變量以及makefile.include文件沒有書寫正確的原因。
好的,謝謝
,
好的,謝謝!
好的,謝謝!