[Wien] Intels Oneapi 2024: Compiler bug ?
Peter Blaha
peter.blaha at tuwien.ac.at
Thu Jan 25 19:00:15 CET 2024
Dear users,
Maybe there is a Fortran expert who knows if this syntax is correct or not.
A user reported recently a compilation problem using the most recent
ifort (or ifx, which will become soon the new fortran compiler)
(oneapi-2024.0) in SRC_wplot:
ifx -O -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback
-assume buffered_io -I/home/aarav/intel/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
modules.f(195): error #6911: The syntax of this substring is invalid.
[CART]
inw%grid%len = (/( sqrt(sum( inw%grid%Cart(:,i)**2 )), i=1,3 )/)
---------------------------------------------^
So the error is in line 195 of SRC_wplot/modules.f.
It appear ONLY with the most recent oneapi 2024.0, not with older
versions nor with gfortran-12.
Thus the question is: Is this a compiler bug or is this due to a very
new fortran-standard which this version enforces ?
Has anybody an even newer gfortran (higher than version 12) and can test
it with this compiler ?
Best regards
Peter Blaha
--
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300
Email: peter.blaha at tuwien.ac.at WIEN2k: http://www.wien2k.at
WWW: http://www.imc.tuwien.ac.at
-------------------------------------------------------------------------
More information about the Wien
mailing list