Changeset 13013
- Timestamp:
- 2020-06-03T10:33:06+02:00 (5 years ago)
- Location:
- NEMO/releases/r4.0/r4.0-HEAD/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/releases/r4.0/r4.0-HEAD/src/OCE/LBC/lib_mpp.F90
r12859 r13013 1090 1090 nstop = nstop + 1 1091 1091 ! 1092 IF( numout == 6 ) THEN ! force to open ocean.output file if not already opened1093 CALL ctl_opn( numout, 'ocean.output', 'APPEND', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. )1094 ELSE1095 IF( narea > 1 .AND. cd1 == 'STOP' ) THEN ! add an error message in ocean.output1096 CALL ctl_opn( inum,'ocean.output', 'APPEND', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE.)1097 WRITE(inum,*)1098 WRITE(inum,'(a,i4.4)') ' ===>>> : see E R R O R in ocean.output_', narea - 11099 ENDIF1092 IF( cd1 == 'STOP' .AND. narea /= 1 ) THEN ! Immediate stop: add an arror message in 'ocean.output' file 1093 CALL ctl_opn( inum, 'ocean.output', 'APPEND', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. ) 1094 WRITE(inum,*) 1095 WRITE(inum,*) ' ==>>> Look for "E R R O R" messages in all existing *ocean.output* files' 1096 CLOSE(inum) 1097 ENDIF 1098 IF( numout == 6 ) THEN ! force to open ocean.output file if not already opened 1099 CALL ctl_opn( numout, 'ocean.output', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE., narea ) 1100 1100 ENDIF 1101 1101 ! -
NEMO/releases/r4.0/r4.0-HEAD/src/OCE/nemogcm.F90
r12859 r13013 225 225 IF( ngrdstop > 0 ) THEN 226 226 WRITE(ctmp9,'(i2)') ngrdstop 227 WRITE(ctmp2,*) ' ==>>> Errordetected in Agrif grid '//TRIM(ctmp9)228 WRITE(ctmp3,*) ' ==>>> look for error messages in'//TRIM(ctmp9)//'_ocean_output* files'229 CALL ctl_stop( ctmp1, ctmp2, ctmp3 )227 WRITE(ctmp2,*) ' E R R O R detected in Agrif grid '//TRIM(ctmp9) 228 WRITE(ctmp3,*) ' Look for "E R R O R" messages in all existing '//TRIM(ctmp9)//'_ocean_output* files' 229 CALL ctl_stop( ' ', ctmp1, ' ', ctmp2, ' ', ctmp3 ) 230 230 ELSE 231 CALL ctl_stop( ctmp1 ) 231 WRITE(ctmp2,*) ' Look for "E R R O R" messages in all existing ocean_output* files' 232 CALL ctl_stop( ' ', ctmp1, ' ', ctmp2 ) 232 233 ENDIF 233 234 ENDIF -
NEMO/releases/r4.0/r4.0-HEAD/src/OFF/nemogcm.F90
r12841 r13013 136 136 IF( nstop /= 0 .AND. lwp ) THEN ! error print 137 137 WRITE(ctmp1,*) ' ==>>> nemo_gcm: a total of ', nstop, ' errors have been found' 138 CALL ctl_stop( ctmp1 ) 138 WRITE(ctmp2,*) ' Look for "E R R O R" messages in all existing ocean_output* files' 139 CALL ctl_stop( ' ', ctmp1, ' ', ctmp2 ) 139 140 ENDIF 140 141 ! -
NEMO/releases/r4.0/r4.0-HEAD/src/SAS/nemogcm.F90
r12640 r13013 153 153 IF( nstop /= 0 .AND. lwp ) THEN ! error print 154 154 WRITE(ctmp1,*) ' ==>>> nemo_gcm: a total of ', nstop, ' errors have been found' 155 CALL ctl_stop( ctmp1 ) 155 WRITE(ctmp2,*) ' Look for "E R R O R" messages in all existing ocean_output* files' 156 CALL ctl_stop( ' ', ctmp1, ' ', ctmp2 ) 156 157 ENDIF 157 158 !
Note: See TracChangeset
for help on using the changeset viewer.