Problem in compling ROMS with CYgwin to test Weddell case

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
lucyzhao

Problem in compling ROMS with CYgwin to test Weddell case

#1 Unread post by lucyzhao »

Hi,

I have a problem when I am trying to compile ROMS using "Make" command under Cygwin in a Windows XP computer to test WEDDELL case after I successfully tested the Upwelling example.

The following messages were coming out,


g95 -c -O3 -ffast-mash set_vbc.f90
In file set_vbc,f90:185

cff1=0.25_r8*(v(i ,j ,N(ng),nrhs)+
1
Error: Symbol 'cff1' at (1) has no IMPLICIT type
Make: *** [set_vbc.o] Error 1



I checked the set_vbc.f90 file, it does have the type declaration for cff1.

Any help would be highly appreciated.

Lucy

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

#2 Unread post by m.hadfield »

It works for me.

My set_vbc.F is revision 52, dated 2007-05-11 13:16:04Z. If yours is older you should upgrade your ROMS source.

lucyzhao

#3 Unread post by lucyzhao »

My version is 2005 and older than yours. Yes, it works with the updated version of roms.

Thanks.

Tsunakiyo_Iribe

Re: Problem in compling ROMS with CYgwin to test Weddell case

#4 Unread post by Tsunakiyo_Iribe »

I installed ROMS in windows via Cygwin. I was succesfull in compiling and running upwelling test case. But I am facing problem when compiling the weddell test case. I included weddell.h to cppdefs.h. I also copy and paste the ocean_weddell.in and build.bash in my test case folder. I didnt copy or modify any alaytical file. I edit the build.bash file as I did for upwelling. But when I type ./build.bash, it shows following error

exchange_2d.f90:267.25:

IF (NORTHERN_EDGE) THEN
1
Error: Symbol 'northern_edge' at (1) has no IMPLICIT type
exchange_2d.f90:261.25:

IF (SOUTHERN_EDGE) THEN
1
Error: Symbol 'southern_edge' at (1) has no IMPLICIT type
exchange_2d.f90:204.25:

IF (NORTHERN_EDGE) THEN
1
Error: Symbol 'northern_edge' at (1) has no IMPLICIT type
exchange_2d.f90:198.25:

IF (SOUTHERN_EDGE) THEN
1
Error: Symbol 'southern_edge' at (1) has no IMPLICIT type
exchange_2d.f90:141.25:

IF (NORTHERN_EDGE) THEN
1
Error: Symbol 'northern_edge' at (1) has no IMPLICIT type
exchange_2d.f90:135.25:

IF (SOUTHERN_EDGE) THEN
1
Error: Symbol 'southern_edge' at (1) has no IMPLICIT type
exchange_2d.f90:78.25:

IF (NORTHERN_EDGE) THEN
1
Error: Symbol 'northern_edge' at (1) has no IMPLICIT type
exchange_2d.f90:72.25:

IF (SOUTHERN_EDGE) THEN
1
Error: Symbol 'southern_edge' at (1) has no IMPLICIT type
make: *** [/Rom/Projects/weddell/Build/exchange_2d.o] Error 1


can anyone suggest, how to overcome the problem?

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

Re: Problem in compling ROMS with CYgwin to test Weddell case

#5 Unread post by kate »

How modern is your copy of ROMS? What exactly did you do to cppdefs.h? The ROMS du jour has a cppdefs.h which includes globaldefs.h and your $ROMS_HEADER which gets set to upwelling.h or whatever in the makefile. You seem to be missing the #include "globaldefs.h".

Post Reply