Changeset 12685 for NEMO/branches/2020/r12581_ticket2418/src/SAS/stpctl.F90
- Timestamp:
- 2020-04-06T11:52:15+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/r12581_ticket2418/src/SAS/stpctl.F90
r12684 r12685 20 20 USE dom_oce ! ocean space and time domain variables 21 21 USE ice , ONLY : vt_i, u_ice, tm_i 22 ! 22 23 USE diawri ! Standard run outputs (dia_wri_state routine) 23 !24 24 USE in_out_manager ! I/O manager 25 25 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 26 26 USE lib_mpp ! distributed memory computing 27 27 ! 28 28 USE netcdf ! NetCDF library 29 29 IMPLICIT NONE … … 73 73 ! 74 74 ll_wrtstp = ( MOD( kt-nit000, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend ) 75 ll_colruns = ll_wrtstp .AND. sn_cfctl%l_runstat 76 ll_wrtruns = ll_colruns.AND. lwm75 ll_colruns = ll_wrtstp .AND. sn_cfctl%l_runstat .AND. jpnij > 1 76 ll_wrtruns = ( ll_colruns .OR. jpnij == 1 ) .AND. lwm 77 77 ! 78 78 IF( kt == nit000 ) THEN … … 172 172 CALL dia_wri_state( Kmm, 'output.abort' ) ! create an output.abort file 173 173 ! 174 IF( ll_colruns ) THEN ! all processes are synchronized -> use lwp to do theprint in opened ocean.output files174 IF( ll_colruns .or. jpnij == 1 ) THEN ! all processes synchronized -> use lwp to print in opened ocean.output files 175 175 IF(lwp) CALL ctl_stop( ctmp1, ' ', ctmp2, ctmp3, ctmp4, ctmp5, ' ', ctmp6 ) 176 176 ELSE ! only mpi subdomains with errors are here -> STOP now
Note: See TracChangeset
for help on using the changeset viewer.