Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Stack overflow when calling a subroutine

$
0
0

I got error message below when calling a subroutine

CALL COMPPR(MODEL,NUMEL,NUMNOD,MAP,AREA,C3,INDPER)

forrtl: severe (170): Program Exception - stack overflow

The subroutine is below

MODULE Interface_COMPPR

    INTERFACE

        SUBROUTINECOMPPR(MODEL,NE,NQ,NodeIndex,AREA,C,INDPER)

            IMPLICIT NONE

            !input variables

            INTEGERNE,NQ

            CHARACTER*1 MODEL

            INTEGER, POINTER:: NodeIndex(:,:)

            INTEGER, POINTER:: INDPER(:)

            REAL, POINTER:: AREA(:)

            !output variables

            REAL, POINTER:: C(:,:)

        END SUBROUTINE

    END INTERFACE

END MODULE

This issue is occured only when using x64 compiler. No error message when using win32 compiler.

Could you provide any clue on this issue? Thanks!


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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