Building NEMURO model with IVLEV_EXPLICIT set results in a cpp error:
ROMS/Utility/checkdefs.F error: operator '&&' has no right operand
This seems to be a typo in checkdefs.F. The following change fixed the problem--compiles and runs OK:
$ diff ROMS/Utility/checkdefs.F.orig ROMS/Utility/checkdefs.F
2891c2891
< #if defined NEMURO && defined HOLLING_GRAZING && IVLEV_EXPLICIT
---
> #if defined NEMURO && defined HOLLING_GRAZING && defined IVLEV_EXPLICIT
--Tom
Bug in checkdefs.F for NEMURO case
- arango
- Site Admin
- Posts: 1367
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: Bug in checkdefs.F for NEMURO case
Yes, this is a typo. The CPP directive is missing the defined token. The repository was corrected. Thank you for reporting this typo.