Variable zkeep defined in t3dbc_im.f90

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
jwn4548
Posts: 8
Joined: Mon Jun 10, 2013 7:23 pm
Location: Rochester Institute of Technology

Variable zkeep defined in t3dbc_im.f90

#1 Unread post by jwn4548 »

When trying to build oceanM I'm getting an error that says that zkeep has no implicit type. When I check the file it called the error from, t3dbc_im.f90 in the Build directory (scratch dir), there is only one line that references zkeep, and it's type is not defined.

IF (zkeep.lt.0.0_r8) THEN
t(i,Jend+1,k,nout,itrc)=BOUNDARY(ng)%t_north(i,k,itrc)
END IF

I noticed that the file t3dbc_im.F in ROMS/Nonlinear contains code that defines zkeep if TS_NATURAL as a cppflag is defined, but in that file defining TS_NATURAL activates other statements as well. I was testing this using the BENCHMARK case, where TS_NATURAL is not defined.

I want to ask, is this line of code harmless in my build? Can I just define zkeep in the original t3dbc_im.F in ROMS/Nonlinear without TS_NATURAL being defined without this line causing issues?

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

Re: Variable zkeep defined in t3dbc_im.f90

#2 Unread post by arango »

The option TS_NATURAL is not in our repository distributed code.

jwn4548
Posts: 8
Joined: Mon Jun 10, 2013 7:23 pm
Location: Rochester Institute of Technology

Re: Variable zkeep defined in t3dbc_im.f90

#3 Unread post by jwn4548 »

My mistake! Sorry for the N/A post.

Post Reply