I am trying to compile ROMS with "#define CORRELATION", so I can produce the norm files. However, I am having errors like the ones below. How can I fix it?
mod_fourdvar.f90:563:36:
563 | IF (allocated(FOURDVAR(ng) % NobsSurvey)) THEN
| 1
Error: Symbol ‘fourdvar’ at (1) has no IMPLICIT type
mod_fourdvar.f90:564:30:
564 | deallocate (FOURDVAR(ng) % NobsSurvey)
| 1
Error: Allocate-object at (1) is not a nonprocedure pointer nor an allocatable variable
mod_fourdvar.f90:565:11:
565 | END IF
| 1
Error: Expecting END DO statement at (1)
mod_fourdvar.f90:566:36:
566 | IF (allocated(FOURDVAR(ng) % SurveyTime)) THEN
| 1
Error: Symbol ‘fourdvar’ at (1) has no IMPLICIT type
mod_fourdvar.f90:567:30:
567 | deallocate (FOURDVAR(ng) % SurveyTime)
| 1
Error: Allocate-object at (1) is not a nonprocedure pointer nor an allocatable variable
mod_fourdvar.f90:568:11:
568 | END IF
| 1
Error: Expecting END DO statement at (1)
mod_fourdvar.f90:576:27:
576 | deallocate (ObsType)
| 1
Error: Allocate-object at (1) is not a nonprocedure pointer nor an allocatable variable
mod_fourdvar.f90:579:27:
579 | deallocate (ObsProv)
| 1
compilation error mod_fourdvar
Re: compilation error mod_fourdvar
What compiler and version are you using?
-
- Posts: 6
- Joined: Fri Mar 05, 2010 2:31 pm
- Location: Oceanographic Institute, University of Sao Paulo
Re: compilation error mod_fourdvar
GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0