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
Problem in compling ROMS with CYgwin to test Weddell case
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Re: Problem in compling ROMS with CYgwin to test Weddell case
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?
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?
Re: Problem in compling ROMS with CYgwin to test Weddell case
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".