Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Internal compiler error

Noel_B_
Novice
1,975 Views

We're compiling with:

 

ifort (IFORT) 2021.9.0 20230302

 

on MacOS Ventura 13.4.1 (22F82).  The problem is that the compiler diagnostic references a temporary file that doesn't exist.

/var/folders/ym/hrkrnv8x72jfjtyc8bpz3gzm000tm1/T/ifortSEwTMb.i90: catastrophic error: **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 ... (code 1)

 

How can we either generate the compiler temporary file or otherwise debug this compiler crash?  This is no other diagnostic information other than the problematic file name which I can't post publicly.

 

Labels (1)
0 Kudos
17 Replies
Barbara_P_Intel
Employee
1,941 Views

Unfortunately, I can't help much without a reproducer. Can you upload one?

Are you running macOS on Intel processors? That is the only type of processor Intel supports with macOS.

Since macOS Ventura 13.4.1 was released since the release of ifort 2021.9.0 there may be issues with the newer OS.

One more thing... according to the Fortran Release Notes, "macOS support is deprecated for Intel® Fortran Compiler Classic (ifort) in the oneAPI 2023.1 release. macOS support for Intel® Fortran Compiler Classic (ifort) will not be available starting with the oneAPI 2024.0 release."

Also the oneAPI Base and HPC Toolkits will not be available for macOS beginning with oneAPI 2024.0.

 

 

0 Kudos
Noel_B_
Novice
1,913 Views

On the Mac, I just get a compiler crash (see above).  On redhat Linux:

Red Hat Enterprise Linux Workstation release 7.9 (Maipo)

bash-4.2$ uname -a
Linux ecw00908a 3.10.0-1160.59.1.el7.x86_64 #1 SMP Wed Feb 16 12:17:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

 

with this compiler:

ifort --version
ifort (IFORT) 2021.5.0 20211109
Copyright (C) 1985-2021 Intel Corporation. All rights reserved.

 

I get a bad allocation strategy message out of the compiler:

Bad allocation strategy
compilation aborted for test.f90 (code 3)

 

We have an NDA with Intel, I believe you can speak with Jeff Rodgers at Intel about our NDA with you.  I can post more details with the preprocessed source code, but I need to know how I can submit the code while keeping it protected.

0 Kudos
Barbara_P_Intel
Employee
1,891 Views

Can you please try with a newer version of ifort? ifort 2021.9.0 is the current release. It's part of the oneAPI HPC Toolkit 2023.1 that was released in April.

In the meantime, I'll check with Jeff.



0 Kudos
Noel_B_
Novice
1,860 Views

Bad allocation strategy
*** Error in `/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom': free(): invalid pointer: 0x00007ff204aeb010 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81329)[0x7ff206468329]
/lib64/libc.so.6(+0x39ce9)[0x7ff206420ce9]
/lib64/libc.so.6(+0x39d37)[0x7ff206420d37]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3df7)[0x55dca929edf7]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3d8c)[0x55dca929ed8c]
/lib64/libc.so.6(+0x36400)[0x7ff20641d400]
/lib64/libc.so.6(gsignal+0x37)[0x7ff20641d387]
/lib64/libc.so.6(abort+0x148)[0x7ff20641ea78]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x1e1394d)[0x55dca99fe94d]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16d229d)[0x55dca92bd29d]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x166a1d4)[0x55dca92551d4]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3e0c)[0x55dca929ee0c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3d8c)[0x55dca929ed8c]
/lib64/libc.so.6(+0x36400)[0x7ff20641d400]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x83fb0a)[0x55dca842ab0a]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe92bd0)[0x55dca8a7dbd0]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x14cd212)[0x55dca90b8212]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe92181)[0x55dca8a7d181]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe8e81e)[0x55dca8a7981e]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe8a553)[0x55dca8a75553]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe031b5)[0x55dca89ee1b5]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb7daec)[0x55dca8768aec]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb7677c)[0x55dca876177c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb2439d)[0x55dca870f39d]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb23236)[0x55dca870e236]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb21ac5)[0x55dca870cac5]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1f8e3)[0x55dca870a8e3]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1d94c)[0x55dca870894c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xac77f7)[0x55dca86b27f7]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1d94c)[0x55dca870894c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1d382)[0x55dca8708382]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x85d454)[0x55dca8448454]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x8522c1)[0x55dca843d2c1]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x84f542)[0x55dca843a542]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x84d231)[0x55dca8438231]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7ff206409555]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x660abb)[0x55dca824babb]
======= Memory map: ========
55dca7beb000-55dca824a000 r--p 00000000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dca824a000-55dca9b86000 r-xp 0065f000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dca9b86000-55dcaaa05000 r--p 01f9b000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dcaaa06000-55dcaac19000 r--p 02e1a000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dcaac19000-55dcab2d6000 rw-p 0302d000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dcab2d6000-55dcabc95000 rw-p 00000000 00:00 0
55dcadc66000-55dcaecca000 rw-p 00000000 00:00 0 [heap]
7ff1ac000000-7ff1ac021000 rw-p 00000000 00:00 0
7ff1ac021000-7ff1b0000000 ---p 00000000 00:00 0
7ff1b1ee8000-7ff2063e7000 rw-p 00000000 00:00 0
7ff2063e7000-7ff2065ab000 r-xp 00000000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2065ab000-7ff2067aa000 ---p 001c4000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2067aa000-7ff2067ae000 r--p 001c3000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2067ae000-7ff2067b0000 rw-p 001c7000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2067b0000-7ff2067b5000 rw-p 00000000 00:00 0
7ff2067b5000-7ff2067cc000 r-xp 00000000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2067cc000-7ff2069cb000 ---p 00017000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2069cb000-7ff2069cc000 r--p 00016000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2069cc000-7ff2069cd000 rw-p 00017000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2069cd000-7ff206ace000 r-xp 00000000 fd:00 416262 /usr/lib64/libm-2.17.socompilation aborted for test.f90 (code 3)

0 Kudos
Noel_B_
Novice
1,860 Views

Bad allocation strategy
*** Error in `/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom': free(): invalid pointer: 0x00007ff204aeb010 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81329)[0x7ff206468329]
/lib64/libc.so.6(+0x39ce9)[0x7ff206420ce9]
/lib64/libc.so.6(+0x39d37)[0x7ff206420d37]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3df7)[0x55dca929edf7]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3d8c)[0x55dca929ed8c]
/lib64/libc.so.6(+0x36400)[0x7ff20641d400]
/lib64/libc.so.6(gsignal+0x37)[0x7ff20641d387]
/lib64/libc.so.6(abort+0x148)[0x7ff20641ea78]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x1e1394d)[0x55dca99fe94d]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16d229d)[0x55dca92bd29d]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x166a1d4)[0x55dca92551d4]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3e0c)[0x55dca929ee0c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x16b3d8c)[0x55dca929ed8c]
/lib64/libc.so.6(+0x36400)[0x7ff20641d400]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x83fb0a)[0x55dca842ab0a]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe92bd0)[0x55dca8a7dbd0]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x14cd212)[0x55dca90b8212]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe92181)[0x55dca8a7d181]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe8e81e)[0x55dca8a7981e]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe8a553)[0x55dca8a75553]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xe031b5)[0x55dca89ee1b5]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb7daec)[0x55dca8768aec]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb7677c)[0x55dca876177c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb2439d)[0x55dca870f39d]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb23236)[0x55dca870e236]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb21ac5)[0x55dca870cac5]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1f8e3)[0x55dca870a8e3]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1d94c)[0x55dca870894c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xac77f7)[0x55dca86b27f7]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1d94c)[0x55dca870894c]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1d382)[0x55dca8708382]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0xb1db49)[0x55dca8708b49]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x85d454)[0x55dca8448454]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x8522c1)[0x55dca843d2c1]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x84f542)[0x55dca843a542]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x84d231)[0x55dca8438231]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7ff206409555]
/home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../bin/intel64/fortcom(+0x660abb)[0x55dca824babb]
======= Memory map: ========
55dca7beb000-55dca824a000 r--p 00000000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dca824a000-55dca9b86000 r-xp 0065f000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dca9b86000-55dcaaa05000 r--p 01f9b000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dcaaa06000-55dcaac19000 r--p 02e1a000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dcaac19000-55dcab2d6000 rw-p 0302d000 00:28 9245915224975657261 /home/kbelco/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/fortcom
55dcab2d6000-55dcabc95000 rw-p 00000000 00:00 0
55dcadc66000-55dcaecca000 rw-p 00000000 00:00 0 [heap]
7ff1ac000000-7ff1ac021000 rw-p 00000000 00:00 0
7ff1ac021000-7ff1b0000000 ---p 00000000 00:00 0
7ff1b1ee8000-7ff2063e7000 rw-p 00000000 00:00 0
7ff2063e7000-7ff2065ab000 r-xp 00000000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2065ab000-7ff2067aa000 ---p 001c4000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2067aa000-7ff2067ae000 r--p 001c3000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2067ae000-7ff2067b0000 rw-p 001c7000 fd:00 406379 /usr/lib64/libc-2.17.so
7ff2067b0000-7ff2067b5000 rw-p 00000000 00:00 0
7ff2067b5000-7ff2067cc000 r-xp 00000000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2067cc000-7ff2069cb000 ---p 00017000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2069cb000-7ff2069cc000 r--p 00016000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2069cc000-7ff2069cd000 rw-p 00017000 00:4f 9245908610728445943 /projects/cde/v3/cee/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-bxx4ufppf7l3xlbvdinnusa4e6ykqok5/lib64/libgcc_s.so.1
7ff2069cd000-7ff206ace000 r-xp 00000000 fd:00 416262 /usr/lib64/libm-2.17.so

compilation aborted for test.f90 (code 3)

0 Kudos
Barbara_P_Intel
Employee
1,840 Views

Thank you for trying the current release. I wish it had worked.

Now for the things I would try if I had your code...

What compiler options are you using? Sometimes that makes a difference. Minimize them. Try -O0.

Also, did you try ifx?


0 Kudos
Ron_Green
Moderator
1,748 Views

@Noel_B_ 

 

-keep -save-temps

are options to save the preprocessed file to an .i90 file in the same dir as your .o files.  

 

Another debug feature is to use

-#

 

which will dump all compile and link information for the compilation. 

Also wondering if /var has a problem.  Is there enough diskspace left on / and /var?

Could you try this

export TMPDIR=/tmp

 

or point TMPDIR to another folder - maybe create a ~/tmp and set TMPDIR to this scratch space in your home dir.

 

Sorry for the slow response, I've been out for a couple of weeks for vacation.

0 Kudos
Noel_B_
Novice
1,718 Views

Thanks Ron, I'll give that a try and let you know.  I was dismayed that the .i90 file wasn't automatically generated given that it was referenced in the diagnostic message emitted from the compiler. I was able to save the temporary file, but it's of limited use since there's numerous module uses in there so gathering everything up together takes a while.

 

0 Kudos
andrew_4619
Honored Contributor III
1,730 Views

With many of these problems, the solution is to take the source that does not compile and pare it away (e.g. delete have the subroutines in a file ) to isolate the construct that causes a problem than then make a minimal reproducer that has no real relation to your proprietary code and thus no confidentiality.  If there is a bug the small reproducer makes makes it easier to diagnose and fix.

0 Kudos
Noel_B_
Novice
1,718 Views

Thanks Andrew, I've been generating reproducers since before I worked at Lahey computers back in the late 80s.

0 Kudos
andrew_4619
Honored Contributor III
1,713 Views

Sorry, but it is impossible to know what people know and don't know particularly if they have no evident history on this site.  So was there a problem creating a reproducer? 

0 Kudos
Noel_B_
Novice
1,711 Views

I understand, how could you know.  I was just marveling that I've been developing code for nearly 50 years.  Not worth time to generate a reproducer right now since we don't appear to have a valid NDA with Intel.

0 Kudos
Ron_Green
Moderator
1,687 Views

Sandia IS covered under NDA.   But for sure do NOT post anything here on this forum, as it is public.  I think Jeff Rodgers is reaching out to you with information on your Priority Support.  With Priority you can send in code and issues and only Intel will have access.  But keep in mind that we do have non-US citizens on staff.  

 

One other test for you, this option

 

-qoverride-limits

 

and if you are using -pgo, remove that option.  

 

if you can share the compiler options used that may help as well.

 

ron

0 Kudos
Noel_B_
Novice
1,683 Views

We don't use -pgo.  Here's our options (on the Mac), note that we link with a C main on the Mac and we call for_rtl_init_ and for_rtl_finish_  to setup and teardown fortran runtime.

/opt/intel/oneapi/compiler/latest/mac/bin/intel64/ifort   -fno-common -nofor-main -fno-omit-frame-pointer -fpp -assume nocc_omp -assume protect_parens -noaltparam -real-size 64 -align rec8byte -diag-disable 8291 -diag-disable 10182 -diag-disable 5462 -qmkl:sequential -init=zero -ftz -fexceptions -traceback -O2 -DNDEBUG -module module/Release   -c test.f90

0 Kudos
Ron_Green
Moderator
1,687 Views

-qoverride-limits tells the compiler to ignore limits on number of structures and data allocated for those structures.  I am suspecting some sort of memory limit for internal data is being exceeded. 

0 Kudos
Noel_B_
Novice
1,683 Views

I will give this a try, we don't have any compiler messages that we're hitting any limits but you never know.

 

0 Kudos
Noel_B_
Novice
1,667 Views

So latest ifx on Linux still crashes with -qoverride-limts, there is no line number in the compiler diagnostic.

 

bash-4.2$ ifx --version
ifx (IFX) 2023.1.0 20230320
Copyright (C) 1985-2023 Intel Corporation. All rights reserved.

 

#0 0x0000000001f63112
#1 0x0000000001fc5727
#2 0x0000000001fc5850
#3 0x00007fbe47e24400
#4 0x0000000002b65f96
#5 0x0000000002f1d58d
#6 0x0000000002e861cd
#7 0x00000000022eaa8a
#8 0x0000000001f08104
#9 0x0000000001f06b83
#10 0x0000000001eb5859
#11 0x00000000020797c5
#12 0x00007fbe47e10555 __libc_start_main + 245
#13 0x0000000001cf1729

/tmp/ifx0613469124NAqGzF/ifxENSPV1.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.

0 Kudos
Reply