Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Fri Oct 19, 2018 9:23 am




Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Author Message
PostPosted: Mon Jul 31, 2006 1:51 pm 
Offline
User avatar

Joined: Thu Mar 11, 2004 5:17 pm
Posts: 28
Location: BOEM
I got the following compilation error (the compilation is succesful if I undefine ICESHELF) for the following set of choices.
#define ICE_MODEL
#define ICE_THERMO
#define ICE_MK
#define ICE_MOMENTUM
#define ICE_MOM_BULK
#define ICE_EVP
#define ICE_ADVECT
#define ICE_SMOLAR
#define ICE_UPWIND
#define ICE_BULK_FLUXES
#define ICESHELF
#define BULK_FLUXES
==========================================================
ifort -c -openmp -O3 -mp -axP -xP set_vbc.f90
fortcom: Error: set_vbc.f90, line 225: This name does not have a type, and must have an explicit type. [V]
cff1=0.25_r8*(v(i ,j ,N(ng),nrhs)+ &
--------------------------^
fortcom: Error: set_vbc.f90, line 229: This name does not have a type, and must have an explicit type. [U]
cff2=SQRT(u(i,j,N(ng),nrhs)*u(i,j,N(ng),nrhs)+cff2*cff2)
----------------------^
compilation aborted for set_vbc.f90 (code 1)
make: *** [set_vbc.o] Error 1
rm mod_kinds.f90


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 31, 2006 5:38 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3515
Location: IMS/UAF, USA
Obviously you've picked a combination we haven't tried yet. Let me start by asking you what you plan on modeling and for what scientific questions. Do you have an ice shelf or do you have sea-ice or do you have both side by side?

You are also clearly messing with code that's new and not as thoroughly debugged as the core of ROMS. Here the compiler has told you the problem is unknown variables u and v. These variables are in the argument list for some cpp options. Go through the logic there and tell us how it should be for your case.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group