I am new to ROMS, and in the process of getting familiar with the test cases.
I use gfortran as compiler and have installed ROMS svn revision 1005.
All the 3D applications I have tried compile and run without problems, but whenever I try to compile any of the 2D applications (soliton , and canyon and flt_test with the SOLVE3D cpp flag commented out), I get the following error.
Code: Select all
inp_decode.f90:1850:17:
1850 | TYPE(T_ADV), intent(inout) :: S(MAXVAL(NT),Ngrids)
| 1
Error: Derived type ‘t_adv’ at (1) is being used before it is defined
inp_decode.f90:1804:62:
1804 | & itracer, iTrcStr, iTrcEnd, svname, S)
| 1
Error: Symbol ‘s’ at (1) has no IMPLICIT type
make: *** [ROMS/Utility/Module.mk:15: /home/alpsjur/ROMS/projects/soliton/Build_roms/inp_decode.o] Error 1
I'm not sure how to handle this problem, and I would appreciate any help.
Many thanks in advance!