This is the message (Linux-gfortran in serial mode with USE_DEBUG set):
Code: Select all
Fortran runtime error: Incorrect extent in return value of RESHAPE intrinsic in dimension 1: is 14, should be 2
Error termination. Backtrace:
#0 0x48bdcc in __inp_decode_mod_MOD_load_2d_l
at /nesi/nobackup/niwa00020/hadfield/scratch/roms_bld_4d86d26b2ce29c5d790ed68627036e07/Build-Linux-x86_64-gfortran-debug/inp_decode.f90:848
#1 0x4540d2 in read_stapar_
at /nesi/nobackup/niwa00020/hadfield/scratch/roms_bld_4d86d26b2ce29c5d790ed68627036e07/Build-Linux-x86_64-gfortran-debug/read_stapar.f90:193
#2 0x42a356 in inp_par_
at /nesi/nobackup/niwa00020/hadfield/scratch/roms_bld_4d86d26b2ce29c5d790ed68627036e07/Build-Linux-x86_64-gfortran-debug/inp_par.f90:459
#3 0x403fb9 in __ocean_control_mod_MOD_roms_initialize
at /nesi/nobackup/niwa00020/hadfield/scratch/roms_bld_4d86d26b2ce29c5d790ed68627036e07/Build-Linux-x86_64-gfortran-debug/ocean_control.f90:73
#4 0x4032bd in ocean
at /nesi/nobackup/niwa00020/hadfield/scratch/roms_bld_4d86d26b2ce29c5d790ed68627036e07/Build-Linux-x86_64-gfortran-debug/master.f90:73
#5 0x4034a7 in main
at /nesi/nobackup/niwa00020/hadfield/scratch/roms_bld_4d86d26b2ce29c5d790ed68627036e07/Build-Linux-x86_64-gfortran-debug/master.f90:50
Code: Select all
Vout=RESHAPE(Vwrk,(/Iout,Jout/))
Code: Select all
CASE ('Sout(idTsur)')
Npts=load_l(Nval, Cval, NAT, Ngrids, Ltracer)
DO ng=1,Ngrids
DO itrc=1,NAT
Sout(idTsur(itrc),ng)=Ltracer(itrc,ng)
END DO
END DO