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...