<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ifx: ICE and SEGFAULT in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1475982#M166035</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I would just want to chime in and say that I've encountered segfaults related to finalization at several places in a development version of the &lt;A href="https://gitlab.com/eT-program/eT" target="_self"&gt;eT program&lt;/A&gt; compiled with ifx 2023.1 and -qopenmp, breaking almost all of our end-to-end tests. From what I can see from gdb, the segfault always seems to occur in for.calc_num_elts, called by for_finalize, and the issue disappears when I compile without the -qopenmp flag. I have not been able to create a MWE yet, but I could prepare a branch of the eT program if anyone wants to reproduce the segfaults.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 19:57:36 GMT</pubDate>
    <dc:creator>andreasskeidsvoll</dc:creator>
    <dc:date>2023-04-12T19:57:36Z</dc:date>
    <item>
      <title>ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1459877#M165307</link>
      <description>&lt;P&gt;Dear Intel Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've found a few glitches in the new ifx compiler. The code compiles fine with gfortran and ifort. I still have to see whether I can work out the MWE. The errors can be reproduced by compiling DAMASK (&lt;A href="https://github.com/eisenforschung/damask" target="_blank" rel="noopener"&gt;https://github.com/eisenforschung/damask&lt;/A&gt;). If someone is interested, I can share detailed build instructions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Segmentation fault when finalizing a nested linked list. Error messages are&lt;/P&gt;
&lt;P&gt;with optimization&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;0x000015554fca8020 in process_allocation_records_deallocate () from /home/m/intel/oneapi/compiler/2023.0.0/linux/compiler/lib/intel64_lin/libifcoremt.so.5&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;without optimization&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;0x000015554fca3fe9 in for.calc_num_elts () from /home/m/intel/oneapi/compiler/2023.0.0/linux/compiler/lib/intel64_lin/libifcoremt.so.5&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;traceback does not give extra information, probably because the segmentation fault happens in libifcoremt. Note: the error only occurs when enabling openMP, but the executed code is not in a parallel region.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Internal compiler error during the debug build. I don't think it's related to the other behavior, but it makes it impossible to compile with the whole set of debug options (&lt;EM&gt;-stand f18 -assume nostd_mod_proc_name -O0 -fpp -no-ftz -diag-disable 5268,7624 -warn declarations,general,usage,interfaces,ignore_loc,alignments,unused -DDEBUG -g -traceback -gen-interfaces -fp-stack-check -fp-model strict -check bounds,format,output_conversion,pointers,uninit -ftrapuv -fpe-all=0 -ftz -debug-parameters all -debug all&lt;/EM&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;
#0 0x0000000001c55e52 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x1c55e52)
#1 0x0000000001c55f80 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x1c55f80)
#2 0x000015389d967f50 (/usr/lib/libc.so.6+0x38f50)
#3 0x000000000288f3c5 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x288f3c5)
#4 0x0000000002c97b94 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x2c97b94)
#5 0x0000000002d1becd (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x2d1becd)
#6 0x000000000202fe87 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x202fe87)
#7 0x0000000001b96f59 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x1b96f59)
#8 0x0000000001b955dd (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x1b955dd)
#9 0x0000000001b44a74 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x1b44a74)
#10 0x0000000001d028ee (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x1d028ee)
#11 0x000015389d952790 (/usr/lib/libc.so.6+0x23790)
#12 0x000015389d95284a __libc_start_main (/usr/lib/libc.so.6+0x2384a)
#13 0x0000000001982da9 (/home/m/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/xfortcom+0x1982da9)

/tmp/ifx0762407692YaNe58/ifxWdR7CS.i90: error #5633: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for /home/m/DAMASK/src/math.f90 (code 3)
make[3]: *** [src/CMakeFiles/DAMASK_grid.dir/build.make:388: src/CMakeFiles/DAMASK_grid.dir/math.f90.o] Error 3
make[2]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/DAMASK_grid.dir/all] Error 2
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/home/m/DAMASK/build/grid'
make: *** [Makefile:13: grid] Error 2&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 20:53:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1459877#M165307</guid>
      <dc:creator>Diehl__Martin</dc:creator>
      <dc:date>2023-02-27T20:53:17Z</dc:date>
    </item>
    <item>
      <title>Re:ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461212#M165365</link>
      <description>&lt;P&gt;Let's start with the ICE first.  I've cloned the repo.  Send build instructions to get the ICE.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Mar 2023 21:42:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461212#M165365</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-03-02T21:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461457#M165369</link>
      <description>&lt;P&gt;thanks.&lt;/P&gt;
&lt;P&gt;the following bash script should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;source ~/intel/oneapi/setvars.sh                                                                    
                                                                                                    
wget https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.18.5.tar.gz                        
tar -xf petsc-3.18.5.tar.gz                                                                         
cd petsc-3.18.5                                                                                     
export PETSC_DIR=$PWD                                                                               
export PETSC_ARCH=oneapi                                                                            
sed -i "1719s/if not os.path.isfile(os.path.join(self.packageDir,'configure')):/if True:/g" config/BuildSystem/config/package.py
./configure \                                                                                       
          --with-fc='mpiifort -fc=ifx' \                                                            
          --with-cc='mpiicc -cc=icx' \                                                              
          --with-cxx='mpiicpc -cxx=icpx' \                                                          
          --download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib        
make all                                                                                            
cd ..                                                                                               
                                                                                                    
git clone git@github.com:eisenforschung/DAMASK.git                                                  
cd DAMASK                                                                                           
make grid BUILD_TYPE=DEBUG &lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Mar 2023 13:17:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461457#M165369</guid>
      <dc:creator>Diehl__Martin</dc:creator>
      <dc:date>2023-03-03T13:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461667#M165373</link>
      <description>&lt;P&gt;I have it building and ICE'ing on math.f90.&amp;nbsp; &amp;nbsp;It took a while, a lot of manual intervention.&amp;nbsp; Our intranet does not allow ftp, nor wget to sites with 'ftp' in the name.&lt;/P&gt;
&lt;P&gt;Also, I started on a server with an older autoconf and that was tripping up a lot of the petsc build.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll get working on the ICE.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 22:49:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461667#M165373</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-03-03T22:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461686#M165374</link>
      <description>&lt;P&gt;The option -ftrapuv is the source of the ICE.&amp;nbsp; I'm not sure if we have fully implemented the FP exception handling in IFX.&amp;nbsp; I will check into this. For sure it gives me something to work with.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 23:50:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461686#M165374</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-03-03T23:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461687#M165375</link>
      <description>&lt;P&gt;-ftrapuv never did anything useful in ifort - I lobbied (unsuccessfully) to get it deprecated.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 23:54:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461687#M165375</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-03-03T23:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461840#M165381</link>
      <description>&lt;P&gt;with a working PETSc installation it is also trivial to trigger the runtime error: Build DAMASK in release mode and run the example. That means, the last lines are&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;make clean grid
cd examples/grid
../../bin/DAMASK_grid -l tensionX.yaml -g 20grains16x16x16.vti
&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 04 Mar 2023 21:15:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1461840#M165381</guid>
      <dc:creator>Diehl__Martin</dc:creator>
      <dc:date>2023-03-04T21:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1470832#M165739</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/93636"&gt;@Diehl__Martin&lt;/a&gt;&amp;nbsp;&amp;nbsp;The bug ID is CMPLRLLVM-46264.&lt;/P&gt;
&lt;P&gt;The -fptrapuv turned out to be interesting.&amp;nbsp; one of the things this options does is to initial new memory to signaling NaNs.&lt;/P&gt;
&lt;P&gt;You will find the same Internal Compiler Error (ICE) if you use&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;-init=snan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this in conjunction with a named block seems to be the trigger.&amp;nbsp; I was able to reduce this down to the following simple reproducer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;subroutine selfTest()


  normal_distribution: block
 
    real(4), dimension(:), allocatable :: r
    real(4) :: mu, sigma

    if (.true.) &amp;amp;
      error stop 'math_normal(sigma)'
  end block normal_distribution

end subroutine selfTest
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No PetSCI or MPI or module or .... just&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifx -c -O0 -init=snan math.f90&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; We missed the upcoming Update 1 code freeze, so we're looking at Update 2 for a fix roughly early to mid-summer.&amp;nbsp; &amp;nbsp;If you avoid -fptrapuv or -init=snan (or any other value) you can avoid this error.&lt;BR /&gt;&lt;BR /&gt;So what do I need to look at next for DAMASK if we build without these options?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 19:55:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1470832#M165739</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-03-28T19:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1470860#M165740</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/52256"&gt;@Ron_Green&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The -fptrapuv turned out to be interesting.&amp;nbsp; one of the things this options does is to initial new memory to signaling NaNs.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Interesting. When I was at Intel, I complained that -ftrapuv didn't initialize to a NaN, but to some weird pattern (I think it was hex 80808080). The documentation was changed to say, "Initializes stack local variables to an unusual value to aid error detection.", which it still says. But in current ifort it really does initialize to a signaling NaN, 7FBADDAD(!).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation does say that this option is ifort-only. ifx accepts it without complaint but ignores it.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 20:26:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1470860#M165740</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-03-28T20:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471208#M165756</link>
      <description>&lt;P&gt;-ftrapuv is implemented in IFX.&lt;/P&gt;
&lt;P&gt;The Dev Guide documentation is out of date.&amp;nbsp; &amp;nbsp;I'll get that fixed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We implemented -ftrapuv recently.&amp;nbsp; But your point about use of ftrapuv still holds.&amp;nbsp; this is a somewhat dangerous option.&amp;nbsp; Floating point speculation can cause FP exceptions, and appear in places in your code that make no sense.&amp;nbsp; Be sure to read &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/dont-optimize-when-using-ftrapuv-for-uninitialized-variable-detection.html" target="_self"&gt;THIS CAUTIONARY WRITEUP&lt;/A&gt; if you are considering -ftrapuv.&amp;nbsp; In short, only use O0 if you use this option, don't override O0 with O1, O2, O3.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a Linux example of use of ftrapuv with ifx 2023.0.0&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;module calcu

contains

 subroutine calc(ans)
  implicit none
   real :: ans
   real :: no_value

   ans = ans / no_value
 end subroutine calc

end module calcu

program trapme
use calcu
real :: a=42.0

call calc(a)
write(*,*) "a is ", a
end program trapme
&lt;/LI-CODE&gt;
&lt;P&gt;and the runtime result&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;ifx -V -ftrapuv -g -traceback -o ftrapuv ftrapuv.f90 
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2023.0.0 Build 20221201
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff most compiler optimizations similar to use of '-O0'
 Intel(R) Fortran 23.0-1198
GNU ld version 2.37-37.fc36

$ ./ftrapuv
forrtl: error (182): floating invalid - possible uninitialized real/complex variable.
Image              PC                Routine            Line        Source             
libc.so.6          00007F1F2183EA30  Unknown               Unknown  Unknown
ftrapuv            00000000004051E2  calc                       10  ftrapuv.f90
ftrapuv            0000000000405216  trapme                     19  ftrapuv.f90
ftrapuv            000000000040519D  Unknown               Unknown  Unknown
libc.so.6          00007F1F21829510  Unknown               Unknown  Unknown
libc.so.6          00007F1F218295C9  __libc_start_main     Unknown  Unknown
ftrapuv            00000000004050B5  Unknown               Unknown  Unknown
Aborted (core dumped)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 18:14:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471208#M165756</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-03-29T18:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471275#M165758</link>
      <description>&lt;P&gt;I tried -ftrapuv in ifx and the real variable got initialized to zero, which is why I thought it was ignored.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 20:32:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471275#M165758</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-03-29T20:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471278#M165759</link>
      <description>&lt;P&gt;did you test this on Windows?&amp;nbsp; I haven't tried Windows and wonder if it's different or broken on Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I put in a Documentation bug for the ftrapuv option.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 20:37:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471278#M165759</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-03-29T20:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471327#M165764</link>
      <description>&lt;P&gt;Yes, Windows. But I modified the program a bit and now I get the same SNaN. Hmm. I am also seeing:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;D:\Projects&amp;gt;ifx /Qtrapuv t.f90
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2023.0.0 Build 20221201
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff most compiler optimizations similar to use of '/Od'&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 29 Mar 2023 23:10:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471327#M165764</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-03-29T23:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471334#M165766</link>
      <description>&lt;P&gt;&amp;lt;sigh&amp;gt; FTRAPUV turns off the optimization and turns on debug.&amp;nbsp; As you know, by default we set O2.&amp;nbsp; FTRAPUV resets to O0. A debug option without any explicit -O option causes this warning.&amp;nbsp; &amp;nbsp; Since we used FTRAPUV, we implicitly get debug but we do not have an explicit -O option.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I strongly protested when they did this.&amp;nbsp; Some noisy Intel field engineer complained that he didn't know -g or getting debug would turn off optimization unless he explicitly added a -O[1-3] option.&amp;nbsp; IMHO compiler options 101 that this chap apparently never learned.&amp;nbsp; And a few of his fellow field engineer types also claimed ignorance.&amp;nbsp; Thus some management types demanded that we warn people that -g or windows equivalents turn off optimization and SHOULD be followed by a -O option.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 23:36:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471334#M165766</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-03-29T23:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471511#M165769</link>
      <description>&lt;P&gt;And yet ifort doesn't do this....&amp;nbsp; I did not see the message when I tried ifx earlier - strange.&lt;/P&gt;
&lt;P&gt;I have always found -ftrapuv to be a mysterious option - it seems to have additional effects beyond initialization. Or is it now just an alias of -init=snan, which doesn't give this warning in ifx?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 12:40:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471511#M165769</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-03-30T12:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471844#M165779</link>
      <description>&lt;P&gt;thanks!&lt;/P&gt;
&lt;P&gt;From my side, there are no further issues related to DAMASK.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 09:03:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1471844#M165779</guid>
      <dc:creator>Diehl__Martin</dc:creator>
      <dc:date>2023-03-31T09:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1475982#M166035</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I would just want to chime in and say that I've encountered segfaults related to finalization at several places in a development version of the &lt;A href="https://gitlab.com/eT-program/eT" target="_self"&gt;eT program&lt;/A&gt; compiled with ifx 2023.1 and -qopenmp, breaking almost all of our end-to-end tests. From what I can see from gdb, the segfault always seems to occur in for.calc_num_elts, called by for_finalize, and the issue disappears when I compile without the -qopenmp flag. I have not been able to create a MWE yet, but I could prepare a branch of the eT program if anyone wants to reproduce the segfaults.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 19:57:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1475982#M166035</guid>
      <dc:creator>andreasskeidsvoll</dc:creator>
      <dc:date>2023-04-12T19:57:36Z</dc:date>
    </item>
    <item>
      <title>Re:ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1546215#M169325</link>
      <description>&lt;P&gt;this bug is fixed in the 2024.0 release.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Nov 2023 20:10:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1546215#M169325</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-11-21T20:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1571032#M170843</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the attached code does not compile. How can I know more about what goes wrong ? At the moment I do not have access to the 2024 version.&lt;/P&gt;&lt;P&gt;saue@lcpq-ampere:~/Dirac/src/amfi&amp;gt; ifx --version&lt;BR /&gt;ifx (IFX) 2023.1.0 20230320&lt;BR /&gt;Copyright (C) 1985-2023 Intel Corporation. All rights reserved.&lt;/P&gt;&lt;P&gt;saue@lcpq-ampere:~/Dirac/src/amfi&amp;gt; ifx amfi.f&lt;BR /&gt;#0 0x0000000001f63112&lt;BR /&gt;#1 0x0000000001fc5727&lt;BR /&gt;#2 0x0000000001fc5850&lt;BR /&gt;#3 0x00007f153d6dadc0&lt;BR /&gt;#4 0x0000000003a3a098&lt;BR /&gt;#5 0x0000000003a39e9c&lt;BR /&gt;#6 0x0000000002a87afb&lt;BR /&gt;#7 0x0000000002a87d0e&lt;BR /&gt;#8 0x0000000002a87999&lt;BR /&gt;#9 0x0000000002a841c3&lt;BR /&gt;#10 0x0000000002a83e51&lt;BR /&gt;#11 0x0000000002a86679&lt;BR /&gt;#12 0x0000000003a3d004&lt;BR /&gt;#13 0x0000000003a3c794&lt;BR /&gt;#14 0x0000000003a36310&lt;BR /&gt;#15 0x0000000003a36c4f&lt;BR /&gt;#16 0x0000000003a35c4e&lt;BR /&gt;#17 0x0000000003a35457&lt;BR /&gt;#18 0x0000000002e90f5d&lt;BR /&gt;#19 0x00000000022ebeec&lt;BR /&gt;#20 0x0000000002e84fbd&lt;BR /&gt;#21 0x00000000022f30b7&lt;BR /&gt;#22 0x0000000002e8519d&lt;BR /&gt;#23 0x00000000022eaa8a&lt;BR /&gt;#24 0x0000000001f08104&lt;BR /&gt;#25 0x0000000001f06b83&lt;BR /&gt;#26 0x0000000001eb5859&lt;BR /&gt;#27 0x00000000020797c5&lt;BR /&gt;#28 0x00007f153d6c524d __libc_start_main + 239&lt;BR /&gt;#29 0x0000000001cf1729&lt;/P&gt;&lt;P&gt;amfi.f: error #5633: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.&lt;BR /&gt;compilation aborted for amfi.f (code 3)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 15:38:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1571032#M170843</guid>
      <dc:creator>gumle_maasegg</dc:creator>
      <dc:date>2024-02-09T15:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: ICE and SEGFAULT</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1571075#M170849</link>
      <description>&lt;P&gt;It compiles OK for me using version 2024.0.2. Internal compiler errors are always compiler bugs, and it seems that whatever this one was, it got fixed. Sometimes one can identify a compiler option that triggers the error, but you used none.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 17:49:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-ICE-and-SEGFAULT/m-p/1571075#M170849</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-02-09T17:49:42Z</dc:date>
    </item>
  </channel>
</rss>

