I found some variables name changed while compling from *.F to *.f90. Such as
in the file wrt_his.F Line 509
Code: Select all
status=nf_fwrite3d(ng, iNLM, HIS(ng)%ncid, HIS(ng)%Vid(idUvel), &
& HIS(ng)%Rindex, gtype, &
& LBi, UBi, LBj, UBj, 1, N(ng), scale, &
# ifdef MASKING
& GRID(ng) % umask_io, &
# endif
& OCEAN(ng) % u(:,:,:,NOUT))
Code: Select all
status=nf_fwrite3d(ng, iNLM, HIS(ng)%ncid, HIS(ng)%Vid(idUvel), &
& HIS(ng)%Rindex, gtype, &
& LBi, UBi, LBj, UBj, 1, N(ng), scale, &
& GRID(ng) % umask_io, &
& OCEAN(ng) % u(:,:,:,nrhs(ng)))
OR in the file wrt_his.F
Code: Select all
status=nf_fwrite2d(ng, iNLM, HIS(ng)%ncid, HIS(ng)%Vid(idUbar), &
& HIS(ng)%Rindex, gtype, &
& LBi, UBi, LBj, UBj, scale, &
#ifdef MASKING
& GRID(ng) % umask_io, &
#endif
& OCEAN(ng) % ubar(:,:,KOUT))
Code: Select all
status=nf_fwrite2d(ng, iNLM, HIS(ng)%ncid, HIS(ng)%Vid(idUbar), &
& HIS(ng)%Rindex, gtype, &
& LBi, UBi, LBj, UBj, scale, &
& GRID(ng) % umask_io, &
& OCEAN(ng) % ubar(:,:,kstp(ng)))
Anyone know what is the reason for that? Thanks.