Page 1 of 1

VASP-ifort problems

Posted: Mon Sep 17, 2007 8:00 pm
by bmeredig
Hi,

I'm trying to install VASP using ifort Ver. 10.0.023 and the linux_ifc_P4 makefile. I'm getting an error that makes it sound as if diolib.f isn't compiling properly. Short of rewriting the file, I don't know what to do. Any advice would be appreciated.


quadcore:~/VASP/src/vasp.4.lib # make
ifort -O3 -byte_kinds -free -c diolib.f
ifort: command line warning #10006: ignoring unknown option '-byte_kinds'
fortcom: Error: diolib.f, line 11: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 12: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
fortcom: Error: diolib.f, line 85: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 86: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
fortcom: Error: diolib.f, line 141: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 142: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
fortcom: Error: diolib.f, line 198: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 199: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
fortcom: Error: diolib.f, line 220: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 221: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
fortcom: Error: diolib.f, line 243: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 244: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
fortcom: Error: diolib.f, line 267: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 268: A kind type parameter must be a compile-time constant. [Q]
IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
fortcom: Error: diolib.f, line 297: This module file was not generated by any release of this compiler. [PRECLIB]
USE preclib
----------^
fortcom: Error: diolib.f, line 298: 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)
make: *** [diolib.o] Error 1

VASP-ifort problems

Posted: Tue Sep 25, 2007 7:10 pm
by bmeredig
Just FYI, in case anyone else runs into this: all I did to resolve it was untar the files again and start from scratch. I guess if you mess something up you can cause this error.

VASP-ifort problems

Posted: Wed Sep 26, 2007 1:33 pm
by admin
hmmm, that sounds strange. In the makefiles, preclib should be compiled BEFORE diolib, therefore the parameter q should be defined and known at this stage of compilation. please check if prelib.o was generated. In case it was not,
please check if the pre-compiler generated the preclib.f file properly (your problem may be due to some error in the precomiler)
Also, please
--) check the
DOBJ = preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o
line in your makefile and
--) remove the -byte-kinds compilation option (it is ignored anyway, because it is an unknown option to ifort)