Hello, I think I spent a long time in front of the computer that I can´t see anymore. May be someone can help me find the mistake. here is the summarized code:
module common_var
implicit none
save
integer :: L,IMAX,K,KP
double precision :: Pe
double precision :: EW(200),EWP(200),R(1000),E(1000),VZ(1000)
end module common_var
Program Temperature
use common_var
implicit none
double precision :: C_coef,D_coef,WHF,WT
integer :: I,L1,L2
!!!!!!!!!!!!!!Load Data!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
open(20, FILE = 'Velocity.asc', STATUS = 'UNKNOWN')
read(20,*)IMAX
read(20,*)(R(I),VZ(I),E(I),I=1,IMAX)
close(20)
write(*,*)'Data loaded'
do I=1,200
EW(I)=0.0
EWP(I)=0.0
end do
call SDEW(E,R,VZ,EW,EWP,K,KP)
End Program Temperature
!-----------------------------
subroutine SDEW(E,R,VZ,EW,EWP,K,KP)
use common_var
write(*,*) 'Unterprogramm: '
end subroutine SDEW
The error is like following: attempt to call routine with argument number one as a real(kind=2) when real(kind=1) was required.
I dont see my mistake , can anyone help please!! Miriam