[Wien] Compilation error with libxc

Peter Blaha pblaha at theochem.tuwien.ac.at
Tue Dec 27 10:45:00 CET 2016



On 12/24/2016 03:24 PM, Dr. K. C. Bhamu wrote:
> Dear Users,
> I compiled Wien2k_16.1 without any error on latest 64 bit Ubuntu OS on
> Lenovo laptop with ifort+cc (2015).
>
> If I install with LIBXC, I am getting below error(compile.msg file is
> attached here):
>
> Compile time errors (if any) were:
> SRC_lapw0/compile.msg:inputpars.F(6): error #7013: This module file was
> not generated by any release of this compiler.   [XC_F03_LIB_M]


When you install the libxc you probably have to tell him, that your 
fortran compiler is ifort (and not gfortran).





> SRC_lapw0/compile.msg:inputpars.F(17): error #6457: This derived type
> name has not been declared.   [XC_F03_FUNC_T]
> SRC_lapw0/compile.msg:inputpars.F(18): error #6457: This derived type
> name has not been declared.   [XC_F03_FUNC_INFO_T]
> SRC_lapw0/compile.msg:inputpars.F(161): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_FUNC]
> SRC_lapw0/compile.msg:inputpars.F(161): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_UNPOLARIZED]
> SRC_lapw0/compile.msg:inputpars.F(162): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_INFO]
> SRC_lapw0/compile.msg:inputpars.F(162): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_F03_FUNC_GET_INFO]
> SRC_lapw0/compile.msg:inputpars.F(163): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_F03_FUNC_INFO_GET_FAMILY]
> SRC_lapw0/compile.msg:inputpars.F(163): error #6608: In a CASE
> statement, the case-expr must be of type INTEGER, CHARACTER, or LOGICAL.
>   [XC_F03_FUNC_INFO_GET_FAMILY]
> SRC_lapw0/compile.msg:inputpars.F(164): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(164): error #6601: In a CASE
> statement, the case-value must be a constant expression.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(164): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(164): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(164): error #6601: In a CASE
> statement, the case-value must be a constant expression.
> [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(164): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(173): error #6608: In a CASE
> statement, the case-expr must be of type INTEGER, CHARACTER, or LOGICAL.
>   [XC_F03_FUNC_INFO_GET_FAMILY]
> SRC_lapw0/compile.msg:inputpars.F(174): error #6601: In a CASE
> statement, the case-value must be a constant expression.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(174): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(174): error #6601: In a CASE
> statement, the case-value must be a constant expression.
> [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(174): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(189): error #6608: In a CASE
> statement, the case-expr must be of type INTEGER, CHARACTER, or LOGICAL.
>   [XC_F03_FUNC_INFO_GET_FAMILY]
> SRC_lapw0/compile.msg:inputpars.F(190): error #6601: In a CASE
> statement, the case-value must be a constant expression.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(190): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(190): error #6601: In a CASE
> statement, the case-value must be a constant expression.
> [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(190): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(195): error #6608: In a CASE
> statement, the case-expr must be of type INTEGER, CHARACTER, or LOGICAL.
>   [XC_F03_FUNC_INFO_GET_FAMILY]
> SRC_lapw0/compile.msg:inputpars.F(196): error #6601: In a CASE
> statement, the case-value must be a constant expression.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(196): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(196): error #6601: In a CASE
> statement, the case-value must be a constant expression.
> [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:inputpars.F(196): error #6612: In a CASE
> statement, the case-value must be of type INTEGER, CHARACTER, or
> LOGICAL.   [XC_FAMILY_HYB_MGGA]
> SRC_lapw0/compile.msg:/tmp/ifort150RO5.i(813): catastrophic error: Too
> many errors, exiting
> SRC_lapw0/compile.msg:make[1]: *** [inputpars.o] Error 1
> SRC_lapw0/compile.msg:make: *** [seq] Error 2
>
>
> Check file   compile.msg   in the corresponding SRC_* directory for the
> compilation log and more info on any compilation problem.
>
>      Press RETURN to continue
>
> Please suggest me how to get rig of this problem.
>
> PFA comile.msg
>
>
> Sincerely
> Bhamu
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>

-- 

                                       P.Blaha
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300             FAX: +43-1-58801-165982
Email: blaha at theochem.tuwien.ac.at    WIEN2k: http://www.wien2k.at
WWW:   http://www.imc.tuwien.ac.at/TC_Blaha
--------------------------------------------------------------------------


More information about the Wien mailing list