exactly that solved my problem :) thank you really much!
I will try to get more into this module thing now, thank you for the tutorial as well.
best regards
pingat
yes of course. But it's not that easy.
kro uses kur and kur calls many functions that are defined in kro, that makes this error.
But this code once worked, i didn't wrote it on my own. I think this regression became illegal after the code was written. So i search something to make this...
oh i'm sorry, in the real code they are named different. i just changed the names to post it here. in origin it looks like that:
kro.f90:5.6:
use kur
1
Error: 'kro' of module 'kur', imported at (1), is also the name of the current program unit
so, thats not the problem. but thanks...
Hey there :)
I guess its a question of stability. Haven't looked into the physics, but dx=dt may causes problems.
try a bigger dx and a smaller dt.
greetings from austria
Hello there :)
I need to edit and include some old fortran codes in my program. But i'm not familiar with fortran as i thought :D
The code should work but compiling it brings some errors. If I want to compile it with gfortran, the most annoying one is this regression thing:
sub.f90:5.6...
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.