Thank you very very much for your answer!
Now i have found my mistake! The allocation and subroutines i had correct before too, but i forgot the word "contains" and wrote my subroutines under the program. I don't know actually what's the difference but now i works perfectly!
If I'll ever have a...
Hi Guys,
I'm a beginner in fortran programming and don't speak english so well, but i hope you will undersand my question ;)
In the program there is an allocatable array, which shall be allocated in the subroutine, and then given back to the main program (beacause in the subroutine i read in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.