<div dir="ltr"><div>Dear Xiayuyang,</div><div>From the errors it is clear that you did not recompile libxc with a new compiler.</div><div>Note that fftw and elpa (if you use it) should be also recompiled. <br></div><div></div><div><br></div><div>Sincerely yours, <br></div><div>Mikhail<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 27 May 2024 at 07:36, 夏宇阳 <<a href="mailto:harriron@sjtu.edu.cn">harriron@sjtu.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all,<br>
<br>
When i install Wien2K using OneAPI, i found "icc" was deprecated. There is only "icx". <br>
<br>
I followed the steps of Gavin Abo's guide just replaced all "icc" with "icx". And it came out errors after complie.<br>
<br>
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]<br>
SRC_lapw0/compile.msg:libxc_mod.F(9): error #6457: This derived type name has not been declared.   [XC_F03_FUNC_T]<br>
SRC_lapw0/compile.msg:libxc_mod.F(10): error #6457: This derived type name has not been declared.   [XC_F03_FUNC_INFO_T]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [XCCONST]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [VX_SWITCH]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [VC_SWITCH]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [EX_SWITCH]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [EC_SWITCH]<br>
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]<br>
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]<br>
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]<br>
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]<br>
SRC_lapw0/compile.msg:libxc_mod.F(34): error #6404: This name does not have a type, and must have an explicit type.   [XCCONST]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
SRC_lapw0/compile.msg:libxc_mod.F(9): error #6457: This derived type name has not been declared.   [XC_F03_FUNC_T]<br>
SRC_lapw0/compile.msg:libxc_mod.F(10): error #6457: This derived type name has not been declared.   [XC_F03_FUNC_INFO_T]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [XCCONST]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [VX_SWITCH]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [VC_SWITCH]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [EX_SWITCH]<br>
SRC_lapw0/compile.msg:libxc_mod.F(5): error #6580: Name in only-list does not exist or is not accessible.   [EC_SWITCH]<br>
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]<br>
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]<br>
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]<br>
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]<br>
SRC_lapw0/compile.msg:libxc_mod.F(34): error #6404: This name does not have a type, and must have an explicit type.   [XCCONST]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
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]<br>
SRC_mstar/compile.msg:mstar.f90(57): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [OMP_LIB]<br>
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]<br>
SRC_reformat/compile.msg:1 warning and 1 error generated.<br>
SRC_sumpara/compile.msg:sumpara.F(4): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [OMP_LIB]<br>
SRC_wplot/compile.msg:modules.f(195): error #6911: The syntax of this substring is invalid.   [CART]<br>
SRC_wplot/compile.msg:modules.f(195): error #6911: The syntax of this substring is invalid.   [CART]<br>
<br>
what should i do to solve it?<br>
<br>
Best wishes!<br>
<br>
Xiayuyang<br>
<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at:  <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote></div>