Loading oper/src/cso_ncfile.F90 +9 −6 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ ! 2023-08, Arjo Segers ! Replaced `where` constructs by loops after memory errors on some systems. ! ! 2023-11, Arjo Segers ! Close files also in 'read' mode ... ! !############################################################################### ! #define TRACEBACK write (csol,'("in ",a," (",a,", line",i5,")")') rname, __FILE__, __LINE__; call csoErr Loading Loading @@ -2530,7 +2533,6 @@ contains subroutine NcFile_Done( self, status ) use NetCDF , only : NF90_Close use CSO_Comm, only : csoc ! --- in/out --------------------------------- Loading @@ -2549,12 +2551,13 @@ contains ! switch: select case ( self%rwmode ) ! read, open: case ( 'r', 'o' ) ! open: case ( 'o' ) ! open/close is managed externally, ! nothing to be done ! write: case ( 'w' ) ! read, write: case ( 'r', 'w' ) ! written on root... if ( csoc%root ) then Loading Loading
oper/src/cso_ncfile.F90 +9 −6 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ ! 2023-08, Arjo Segers ! Replaced `where` constructs by loops after memory errors on some systems. ! ! 2023-11, Arjo Segers ! Close files also in 'read' mode ... ! !############################################################################### ! #define TRACEBACK write (csol,'("in ",a," (",a,", line",i5,")")') rname, __FILE__, __LINE__; call csoErr Loading Loading @@ -2530,7 +2533,6 @@ contains subroutine NcFile_Done( self, status ) use NetCDF , only : NF90_Close use CSO_Comm, only : csoc ! --- in/out --------------------------------- Loading @@ -2549,12 +2551,13 @@ contains ! switch: select case ( self%rwmode ) ! read, open: case ( 'r', 'o' ) ! open: case ( 'o' ) ! open/close is managed externally, ! nothing to be done ! write: case ( 'w' ) ! read, write: case ( 'r', 'w' ) ! written on root... if ( csoc%root ) then Loading