Difficulty with gfortran compile error.
I have this code:
Code:
program main Code:
subroutine triangularWindow ( N, work ) Quote:
Thanks, - A. |
Pretty straight forward, and the compiler is telling you the exact problem, you're trying to allocate a non-allocatable array.
Choose one or the other... Code:
real (kind = 8) :: work(N) Code:
real (kind = 8), dimension(:), allocatable :: work |
Suicidaleggroll, thank you again. I know I could have excluded this allocation business altogether but I dug in my heels because of future concerns. At this point is is all debugging and "measurements" but at production time much more memory blocks could be needed. Will try it later tonight. Thanks.
|
Well, as always, Suicidaleggroll, your suggestion worked, however, it does not mean I understand everything I am doing :-). I am ready to drop a new post though.
|
All times are GMT -5. The time now is 03:52 PM. |