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

Peculiar PRINT statement behavior

$
0
0

The subroutine I am uploading has an anomaly I can't explain.

Around line 61 there is a PRINT statement for the array QU(0:NQU)

It does not print the array, just the opening character string.

I checked with the debugger, and the value NQU is just as it should be, a positive number.

furthermore the other arrays DO print out as desired -

using the same Format statement.

So I am wondering - what is special about that array that would trigger this problem?

BTW, I have a special reason for dimensioning the arrays the way I do,

starting with 0 as the first element, but I am wondering if that "fools" the compiler.

I tried taking the array QU out of the calling sequence, but that had NO effect.

 

 

AttachmentSize
Downloadtidiv.f90300 bytes
Downloadiadd.f90912 bytes
Downloadidiv.f903.23 KB
Downloadimul.f90922 bytes
Downloadisub.f90769 bytes

Viewing all articles
Browse latest Browse all 5691

Trending Articles



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