Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

Segfault and ICE with ifort 16.0.1.150

$
0
0

Hi,

One of our users has reported a segfault and ICE when attempting compiler a problem. We have a test case (below), however unfortunately it depends on a .mod file (attached) that we don't currently have the source for (and was built with an earlier version of ifort). It builds fine with the 15 series.

MODULE foo
CONTAINS
    SUBROUTINE bar(data_recv,rowl_64,rows_64,ierr64)
        USE mod_prism_get_proto
        INTEGER (kind=8) :: rowl_64
        INTEGER (kind=8) :: rows_64
        INTEGER (kind=8) :: ierr64
        INTEGER (kind=4) :: ierror,var_id32, prism_nsec32
        REAL (kind=8),DIMENSION(1:rowl_64,1:rows_64)::data_recv
        REAL (kind=4),DIMENSION(1:rowl_64,1:rows_64)::data_2d
        CALL prism_get_proto(var_id32,prism_nsec32,data_recv,ierror)
    END SUBROUTINE bar
END MODULE foo

You can produce the error with a simple

ifort -c crash.f90

and the output is

crash.f90: 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 crash.f90 (code 1)

Cheers,

Ben


Viewing all articles
Browse latest Browse all 2746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>