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

TRANSFER and HEAP prpoblem

$
0
0

I have a module with the following definitions in it:

REAL(8) X_D(MAXB/8)
CHARACTER(MAXB) X_C

where MAXB is 80000

When HEAP is not specified, all works fine. If I specify HEAP with any value, I get an access violation with the statement

X_D=TRANSFER(X_C,0D0,NV)

where NV is 1 (or anything, I presume).

In debug I can see X_D and X_C.

What can cause this? I've tried HEAP 0, 10, 80, 100, 200 all with same results.

Why does it affect data defined in a module?

Using Intel(R) Visual Fortran Composer XE 2011 Update 7


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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