why I cannot write(stdout) in subroutine

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
DongYe
Posts: 7
Joined: Mon Oct 13, 2008 6:21 pm
Location: Institue of Atmospheric Physics,CAS

why I cannot write(stdout) in subroutine

#1 Unread post by DongYe »

I want write(stdout,*) in subroutine step3d_uv.F,however ,when I make ,it said 'Error: Symbol 'stdout' at (1) has no IMPLICIT type'.
however,I find many 'write(stdout)' in other subroutines ,why here it doesn't work ,
when I try it in main3d.F,it is work.
so I am confused.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: why I cannot write(stdout) in subroutine

#2 Unread post by kate »

I suggest you visit a Fortran 90 tutorial online (or elsewhere) and read up on the scope of variables and Fortran 90 modules.

Post Reply