<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>The SRC_plot error was already solved by Jan Doumont in a
previous thread:<br>
</p>
<p><br>
</p>
<p><i>Dear Peter,
<br>
</i>
<i><br>
Interestingly, I get the same error when using IFORT with the
newest oneapi...
<br>
</i>
<i><br>
ifort -O -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
-traceback -assume buffered_io
-I/opt/intel/oneapi/mkl/2024.0/include
-DHAVE_PTR_ALLOC_GENERICS -Ilib -free -gen-interface nosource
-traceback -g -I../SRC_w2w/lib -I../SRC_w2w/lib -c modules.f
-olib/modules.o -module lib
<br>
ifort: remark #10448: Intel(R) Fortran Compiler Classic (ifort)
is now deprecated and will be discontinued late 2024. Intel
recommends that customers transition now to using the LLVM-based
Intel(R) Fortran Compiler (ifx) for continued Windows* and
Linux* support, new language support, new language features, and
optimizations. Use '-diag-disable=10448' to disable this
message.
<br>
modules.f(195): error #6911: The syntax of this substring is
invalid. [CART]
<br>
inw%grid%len = (/ ( sqrt(sum( inw%grid%Cart(:,i)**2 )),
i=1,3 ) /)
<br>
----------------------------------------------^
<br>
compilation aborted for modules.f (code 1)
<br>
make: *** [Makefile:140: lib/modules.o] Error 1
<br>
</i>
<i><br>
However, I found the following workaround works with both ifort
and ifx on oneapi 2024:
<br>
</i>
<i><br>
do i=1,3
<br>
inw%grid%len(i) = sqrt(sum(inw%grid%cart(:,i)**2 ))
<br>
end do
<br>
</i>
<i><br>
i.e. to replace the implicit loop by an explicit one.
<br>
</i>
<i><br>
BW
<br>
Jan Doumont </i><br>
</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Michael Fechtelkord<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 27.05.2024 um 12:59 schrieb 夏宇阳:<br>
</div>
<blockquote type="cite"
cite="mid:1224635788.2225859.1716807552302.JavaMail.zimbra@sjtu.edu.cn">
<pre class="moz-quote-pre" wrap="">This is my compiler options.
Current settings:
M OpenMP switch: -qopenmp
O Compiler options: -O -FR -mpl -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback -assume buffered_io -I$(MKLROOT)/include
L Linker Flags: $(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -lpthread -lm -ldl -liomp5
P Preprocessor flags '-DParallel'
R R_LIBS (LAPACK+BLAS): -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core
F FFTW options: -DFFTW3 -I/home/xiayuyang/fftw-3.3.10/include
FFTW-LIBS: -L/home/xiayuyang/fftw-3.3.10/lib -lfftw3
FFTW-PLIBS: -lfftw3_mpi
X LIBX options: -DLIBXC -I/home/xiayuyang/libxc-6.2.2/include
LIBXC-LIBS: -L/home/xiayuyang/libxc-6.2.2/lib -lxcf03 -lxc
And the 195 lines of modules.f is:
inw%grid%len = (/( sqrt(sum( inw%grid%Cart(:,i)**2 )), i=1,3 )/)
Best wishes!
Xiayuyang
----- 原始邮件 -----
发件人: "Nestoklon Mikhail" <a class="moz-txt-link-rfc2396E" href="mailto:nestoklon@gmail.com"><nestoklon@gmail.com></a>
收件人: "A Mailing list for WIEN2k users" <a class="moz-txt-link-rfc2396E" href="mailto:wien@zeus.theochem.tuwien.ac.at"><wien@zeus.theochem.tuwien.ac.at></a>
发送时间: 星期一, 2024年 5 月 27日 下午 6:16:24
主题: Re: [Wien] WIen2k install using Oneapi
For mstar I have no idea why the error occurs, did you forget to add -qopenmp flag in compiler options?
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)")
M.
On Mon, 27 May 2024 at 10:06, 夏宇阳 < [ <a class="moz-txt-link-freetext" href="mailto:harriron@sjtu.edu.cn">mailto:harriron@sjtu.edu.cn</a> | <a class="moz-txt-link-abbreviated" href="mailto:harriron@sjtu.edu.cn">harriron@sjtu.edu.cn</a> ] > wrote:
Thank you, sir.
But some error still exists.
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]
Best wishes!
Xiayuyang
----- 原始邮件 -----
发件人: "Nestoklon Mikhail" < [ <a class="moz-txt-link-freetext" href="mailto:nestoklon@gmail.com">mailto:nestoklon@gmail.com</a> | <a class="moz-txt-link-abbreviated" href="mailto:nestoklon@gmail.com">nestoklon@gmail.com</a> ] >
收件人: "A Mailing list for WIEN2k users" < [ <a class="moz-txt-link-freetext" href="mailto:wien@zeus.theochem.tuwien.ac.at">mailto:wien@zeus.theochem.tuwien.ac.at</a> | <a class="moz-txt-link-abbreviated" href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a> ] >
发送时间: 星期一, 2024年 5 月 27日 下午 3:38:06
主题: Re: [Wien] WIen2k install using Oneapi
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, 夏宇阳 < [ mailto: [ <a class="moz-txt-link-freetext" href="mailto:harriron@sjtu.edu.cn">mailto:harriron@sjtu.edu.cn</a> | <a class="moz-txt-link-abbreviated" href="mailto:harriron@sjtu.edu.cn">harriron@sjtu.edu.cn</a> ] | [ <a class="moz-txt-link-freetext" href="mailto:harriron@sjtu.edu.cn">mailto:harriron@sjtu.edu.cn</a> | <a class="moz-txt-link-abbreviated" href="mailto:harriron@sjtu.edu.cn">harriron@sjtu.edu.cn</a> ] ] > 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
[ mailto: [ <a class="moz-txt-link-freetext" href="mailto:Wien@zeus.theochem.tuwien.ac.at">mailto:Wien@zeus.theochem.tuwien.ac.at</a> | <a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a> ] | [ <a class="moz-txt-link-freetext" href="mailto:Wien@zeus.theochem.tuwien.ac.at">mailto:Wien@zeus.theochem.tuwien.ac.at</a> | <a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a> ] ]
[ [ <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> | <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> ] | [ <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> | <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> ] ]
SEARCH the MAILING-LIST at: [ [ <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> | <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> ] | [ <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> | <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> ] ]
_______________________________________________
Wien mailing list
[ <a class="moz-txt-link-freetext" href="mailto:Wien@zeus.theochem.tuwien.ac.at">mailto:Wien@zeus.theochem.tuwien.ac.at</a> | <a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a> ]
[ <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> | <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> ]
SEARCH the MAILING-LIST at: [ <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> | <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> ]
_______________________________________________
Wien mailing list
[ <a class="moz-txt-link-freetext" href="mailto:Wien@zeus.theochem.tuwien.ac.at">mailto:Wien@zeus.theochem.tuwien.ac.at</a> | <a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a> ]
[ <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> | <a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> ]
SEARCH the MAILING-LIST at: [ <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> | <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a> ]
_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
SEARCH the MAILING-LIST at: <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a>
_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
SEARCH the MAILING-LIST at: <a class="moz-txt-link-freetext" href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Dr. Michael Fechtelkord
Institut für Geologie, Mineralogie und Geophysik
Ruhr-Universität Bochum
Universitätsstr. 150
D-44780 Bochum
Phone: +49 (234) 32-24380
Fax: +49 (234) 32-04380
Email: <a class="moz-txt-link-abbreviated" href="mailto:Michael.Fechtelkord@ruhr-uni-bochum.de">Michael.Fechtelkord@ruhr-uni-bochum.de</a>
Web Page: <a class="moz-txt-link-freetext" href="https://www.ruhr-uni-bochum.de/kristallographie/kc/mitarbeiter/fechtelkord/">https://www.ruhr-uni-bochum.de/kristallographie/kc/mitarbeiter/fechtelkord/</a>
</pre>
</body>
</html>