Hi, have problem when I try to compile mod_boundary.f90 from roms-2.2 with latest corrections applied. Compiler output is listed below
f95 -c -u -U -xarch=v9 -O3 mod_boundary.f90
MODULE mod_boundary
^
"mod_boundary.f90", Line = 1, Column = 14: ERROR: The compiler has detected errors in module "mod_boundary". No module information file will be created for this module.
SUBROUTINE initialize_boundary (ng, tile)
^
"mod_boundary.f90", Line = 385, Column = 43: ERROR: IMPLICIT NONE is specified in the host scope, therefore an explicit type must be specified for data object "tile".
integer, intent(in) :: ng, tile
^
"mod_boundary.f90", Line = 403, Column = 34: ERROR: "tile" has the INTENT attribute, therefore it must be a dummy argument.
f90comp: 517 SOURCE LINES
f90comp: 3 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
make: *** [mod_boundary.o] Error 1
> uname -a
SunOS octopod 5.9 Generic_118558-10 sun4u sparc SUNW,Sun-Fire-880
> f95 -V
f95: Sun Fortran 95 8.2 2005/10/13
What is needed to fix this?
Thanks,
Simon.