Dear Xiayuyang,
>From the errors it is clear that you did not recompile libxc with a new
compiler.
Note that fftw and elpa (if you use it) should be also recompiled.

Sincerely yours,
Mikhail

On Mon, 27 May 2024 at 07:36, 夏宇阳 <harri...@sjtu.edu.cn> wrote:

> Dear all,
>
> When i install Wien2K using OneAPI, i found "icc" was deprecated. There is
> only "icx".
>
> I followed the steps of Gavin Abo's guide just replaced all "icc" with
> "icx". And it came out errors after complie.
>
> SRC_lapw0/compile.msg:libxc_mod.F(4): error #7013: This module file was
> not generated by any release of this compiler.   [XC_F03_LIB_M]
> SRC_lapw0/compile.msg:libxc_mod.F(9): error #6457: This derived type name
> has not been declared.   [XC_F03_FUNC_T]
> SRC_lapw0/compile.msg:libxc_mod.F(10): error #6457: This derived type name
> has not been declared.   [XC_F03_FUNC_INFO_T]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [XCCONST]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [VX_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [VC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [EX_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [EC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(22): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_FUNC_X]
> SRC_lapw0/compile.msg:libxc_mod.F(22): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_UNPOLARIZED]
> SRC_lapw0/compile.msg:libxc_mod.F(23): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_FUNC_C]
> SRC_lapw0/compile.msg:libxc_mod.F(25): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_POLARIZED]
> SRC_lapw0/compile.msg:libxc_mod.F(34): error #6404: This name does not
> have a type, and must have an explicit type.   [XCCONST]
> SRC_lapw0/compile.msg:libxc_mod.F(38): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_INFO_C]
> SRC_lapw0/compile.msg:libxc_mod.F(38): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_F03_FUNC_GET_INFO]
> SRC_lapw0/compile.msg:libxc_mod.F(39): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_INFO_X]
> SRC_lapw0/compile.msg:libxc_mod.F(40): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_F03_FUNC_INFO_GET_FLAGS]
> SRC_lapw0/compile.msg:libxc_mod.F(56): error #6404: This name does not
> have a type, and must have an explicit type.   [VC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(56): error #6404: This name does not
> have a type, and must have an explicit type.   [EC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(57): error #6404: This name does not
> have a type, and must have an explicit type.   [VX_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(57): error #6404: This name does not
> have a type, and must have an explicit type.   [EX_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(4): error #7013: This module file was
> not generated by any release of this compiler.   [XC_F03_LIB_M]
> SRC_lapw0/compile.msg:libxc_mod.F(9): error #6457: This derived type name
> has not been declared.   [XC_F03_FUNC_T]
> SRC_lapw0/compile.msg:libxc_mod.F(10): error #6457: This derived type name
> has not been declared.   [XC_F03_FUNC_INFO_T]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [XCCONST]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [VX_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [VC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [EX_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does
> not exist or is not accessible.   [EC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(22): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_FUNC_X]
> SRC_lapw0/compile.msg:libxc_mod.F(22): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_UNPOLARIZED]
> SRC_lapw0/compile.msg:libxc_mod.F(23): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_FUNC_C]
> SRC_lapw0/compile.msg:libxc_mod.F(25): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_POLARIZED]
> SRC_lapw0/compile.msg:libxc_mod.F(34): error #6404: This name does not
> have a type, and must have an explicit type.   [XCCONST]
> SRC_lapw0/compile.msg:libxc_mod.F(38): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_INFO_C]
> SRC_lapw0/compile.msg:libxc_mod.F(38): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_F03_FUNC_GET_INFO]
> SRC_lapw0/compile.msg:libxc_mod.F(39): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_INFO_X]
> SRC_lapw0/compile.msg:libxc_mod.F(40): error #6404: This name does not
> have a type, and must have an explicit type.   [XC_F03_FUNC_INFO_GET_FLAGS]
> SRC_lapw0/compile.msg:libxc_mod.F(56): error #6404: This name does not
> have a type, and must have an explicit type.   [VC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(56): error #6404: This name does not
> have a type, and must have an explicit type.   [EC_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(57): error #6404: This name does not
> have a type, and must have an explicit type.   [VX_SWITCH]
> SRC_lapw0/compile.msg:libxc_mod.F(57): error #6404: This name does not
> have a type, and must have an explicit type.   [EX_SWITCH]
> SRC_mstar/compile.msg:mstar.f90(57): error #7002: Error in opening the
> compiled module file.  Check INCLUDE paths.   [OMP_LIB]
> SRC_reformat/compile.msg:reformat.c:3:1: error: type specifier missing,
> defaults to 'int'; ISO C99 and later do not support implicit int
> [-Wimplicit-int]
> SRC_reformat/compile.msg:1 warning and 1 error generated.
> SRC_sumpara/compile.msg:sumpara.F(4): error #7002: Error in opening the
> compiled module file.  Check INCLUDE paths.   [OMP_LIB]
> SRC_wplot/compile.msg:modules.f(195): error #6911: The syntax of this
> substring is invalid.   [CART]
> SRC_wplot/compile.msg:modules.f(195): error #6911: The syntax of this
> substring is invalid.   [CART]
>
> what should i do to solve it?
>
> Best wishes!
>
> Xiayuyang
>
> _______________________________________________
> Wien mailing list
> Wien@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
>
_______________________________________________
Wien mailing list
Wien@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

Reply via email to