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?
Variable zkeep defined in t3dbc_im.f90
- arango
- Site Admin
- Posts: 1368
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: Variable zkeep defined in t3dbc_im.f90
The option TS_NATURAL is not in our repository distributed code.
Re: Variable zkeep defined in t3dbc_im.f90
My mistake! Sorry for the N/A post.