version 168 aborts compilation

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
rubash

version 168 aborts compilation

#1 Unread post by rubash »

Compilation of version aborts with this message:

Code: Select all

cd Build; mpif90 -c -frepack-arrays -O3 -ffast-math abort.f90
 In file abort.f90:15

      USE ocean_control_mod, ONLY : ROMS_finalize
                                  1
Error: Symbol 'roms_finalize' referenced at (1) not found in module 'ocean_control_mod'
make: *** [Build/abort.o] Error 1

User avatar
arango
Site Admin
Posts: 1351
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

#2 Unread post by arango »

The routine ROMS_finalize should be available in your compiled file Build/ocean_control.f90. The only thing that I noticed is that Utility/abort.F is calling:

Code: Select all

!
!  Finalize ROMS component.
!
      CALL ROMS_Finalize
Here ROMS_Finalize is with uppercase F. It seems that your compiler is case sensitive for subrotines calls. That's weird. Try changing that call to

Code: Select all

!
!  Finalize ROMS component.
!
      CALL ROMS_finalize
to see what happens.

rubash

#3 Unread post by rubash »

Ok, that worked.

Post Reply