<div dir="ltr"><div>For mstar I have no idea why the error occurs, did you forget to add -qopenmp flag in compiler options? <br></div><div>For reformat, add int to definition of function in reformat.c (line 3 of file SRC_reformat/reformat.c should be "int main(argc,argv)")<br></div><div><br></div><div>M.<br></div><div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 27 May 2024 at 10:06, 夏宇阳 <<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">Thank you, sir.<br>
<br>
But some error still exists.<br>
<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>
Best wishes!<br>
Xiayuyang<br>
----- 原始邮件 -----<br>
发件人: "Nestoklon Mikhail" <<a href="mailto:nestoklon@gmail.com" target="_blank">nestoklon@gmail.com</a>><br>
收件人: "A Mailing list for WIEN2k users" <<a href="mailto:wien@zeus.theochem.tuwien.ac.at" target="_blank">wien@zeus.theochem.tuwien.ac.at</a>><br>
发送时间: 星期一, 2024年 5 月 27日 下午 3:38:06<br>
主题: Re: [Wien] WIen2k install using Oneapi<br>
<br>
Dear Xiayuyang, <br>
>From the errors it is clear that you did not recompile libxc with a new compiler. <br>
Note that fftw and elpa (if you use it) should be also recompiled. <br>
<br>
Sincerely yours, <br>
Mikhail <br>
<br>
On Mon, 27 May 2024 at 07:36, 夏宇阳 < [ mailto:<a href="mailto:harriron@sjtu.edu.cn" target="_blank">harriron@sjtu.edu.cn</a> | <a href="mailto:harriron@sjtu.edu.cn" target="_blank">harriron@sjtu.edu.cn</a> ] > wrote: <br>
<br>
<br>
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>
[ mailto:<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a> | <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> | <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> | <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>
<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>
_______________________________________________<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></div>