Adjustable array segfaults WORKAROUIND
Jerry DeLisle
jvdelisle@verizon.net
Tue Aug 17 05:44:00 GMT 2004
On Mon, 2004-08-16 at 22:27, Scott Brown wrote:
> When I use assumed size arrays instead of adjustable size, it works, no
> idea why! So if I use:
> real:: x(:,:)
> Instead of
> real:: x(n,n)
>
> It runs fine.
>
> Scott.
>
>
Scott,
Do you want to post the bug?
Also I notice that the inner loop gets values assigned far exceeding the
value of n. I put a print statement just after the x(i,j) assignment
and the value of j is at 918 before the segfault with n = 3.
I have been stripping out my code here and the problem went away and I
don't know what I did yet.
Jerry
Jerry
More information about the Fortran
mailing list