I have successfully built and executed upwelling test case last week.
Recently, I decided to reorganize the directory, so I changed build_roms.sh and successfully compiled it again. However, when I was trying to run it, there is an error message:
At line 1895 of file mod_ncparam.f90
Fortran runtime error: Index '-1094795586' of dimension 2 of array 'vname' below lower bound of 0.
The code that is reporting the error is shown below (./Build_romsG/ mod_ncparam.f90)
Code: Select all
               IF (TRIM(ADJUSTL(Vname(3,idTvar(i)))).eq.             &
     &                'nondimensional') THEN
                    WRITE (Vname(3,varid),'(a)')                        &
     &                    'meter3 second-1'
                  ELSE
                    WRITE (Vname(3,varid),'(a,1x,a)')                   &
     &                    'meter3 second-1',                            &
     &                    TRIM(ADJUSTL(Vname(3,idTvar(i))))
                  END IFAny idea where I should be looking at to solve the error message? I don't recall change anything significantly after a successful simulation last time. Only minor changes in *.in file.