I recently tried to build ROMS using build_roms.sh, but I'm encountering an error that I suspect is related to defining #define UV_QDRAG in my .h file. This option worked fine in an older version of ROMS, but I'm using a newer version now and am less familiar with its structure.
Here is the error message I get during compilation:
Code: Select all
analytical.f90:778:23:
778 | rdrag(i,j)=???
| 1
Error: Invalid character in name at (1)
analytical.f90:1034:39:
1034 | & GRID(ng) % latr, &
| 1
Error: Symbol 'grid' at (1) has no IMPLICIT type
make: *** [ROMS/Functionals/Module.mk:14: /home/hyc006/ROMS/runs/roms_test/clm_using/Build_romsM/analytical.o] Error 1
My questions are:
How can I track down where analytical.f90 is generated so I can debug the error?
Has anyone encountered issues with UV_QDRAG in the latest ROMS version? Are there additional dependencies or modifications required in the header file?
What might be causing the GRID(ng) % latr error? Could this be related to an initialization issue?
Any help would be greatly appreciated! Thanks in advance.
Best,
Hsin-Yi