compilation error mod_fourdvar

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
mdottori
Posts: 6
Joined: Fri Mar 05, 2010 2:31 pm
Location: Oceanographic Institute, University of Sao Paulo

compilation error mod_fourdvar

#1 Unread post by mdottori »

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

User avatar
robertson
Site Admin
Posts: 219
Joined: Wed Feb 26, 2003 3:12 pm
Location: IMCS, Rutgers University

Re: compilation error mod_fourdvar

#2 Unread post by robertson »

What compiler and version are you using?

mdottori
Posts: 6
Joined: Fri Mar 05, 2010 2:31 pm
Location: Oceanographic Institute, University of Sao Paulo

Re: compilation error mod_fourdvar

#3 Unread post by mdottori »

GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

mdottori
Posts: 6
Joined: Fri Mar 05, 2010 2:31 pm
Location: Oceanographic Institute, University of Sao Paulo

Re: compilation error mod_fourdvar

#4 Unread post by mdottori »

robertson wrote: Tue May 09, 2023 7:29 pm What compiler and version are you using?
GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

mdottori
Posts: 6
Joined: Fri Mar 05, 2010 2:31 pm
Location: Oceanographic Institute, University of Sao Paulo

Re: compilation error mod_fourdvar

#5 Unread post by mdottori »

robertson wrote: Tue May 09, 2023 7:29 pm What compiler and version are you using?
ROMS/TOMS version 4.1 (SVN 1152)

Post Reply