71 |
|
|
72 |
C-- check buffer size |
C-- check buffer size |
73 |
IF ( nFlds.GT.fltBufDim ) THEN |
IF ( nFlds.GT.fltBufDim ) THEN |
74 |
|
_BEGIN_MASTER(myThid) |
75 |
WRITE(msgBuf,'(3(A,I4))') ' FLT_TRAJ: fltBufDim=', fltBufDim, |
WRITE(msgBuf,'(3(A,I4))') ' FLT_TRAJ: fltBufDim=', fltBufDim, |
76 |
& ' too small (<', nFlds, ' )' |
& ' too small (<', nFlds, ' )' |
77 |
CALL PRINT_ERROR( msgBuf, myThid ) |
CALL PRINT_ERROR( msgBuf, myThid ) |
78 |
WRITE(msgBuf,'(2A)') ' FLT_TRAJ: => increase fltBufDim', |
WRITE(msgBuf,'(2A)') ' FLT_TRAJ: => increase fltBufDim', |
79 |
& ' in "FLT_SIZE.h" & recompile' |
& ' in "FLT_SIZE.h" & recompile' |
80 |
CALL PRINT_ERROR( msgBuf, myThid ) |
CALL PRINT_ERROR( msgBuf, myThid ) |
81 |
|
_END_MASTER(myThid) |
82 |
CALL ALL_PROC_DIE( myThid ) |
CALL ALL_PROC_DIE( myThid ) |
|
c IF (myThid.EQ.1) STOP 'ABNORMAL END: S/R FLT_TRAJ' |
|
|
c _BARRIER |
|
83 |
STOP 'ABNORMAL END: S/R FLT_TRAJ' |
STOP 'ABNORMAL END: S/R FLT_TRAJ' |
84 |
ENDIF |
ENDIF |
85 |
|
|
192 |
WRITE(msgBuf,'(3A,I4,A)') |
WRITE(msgBuf,'(3A,I4,A)') |
193 |
& 'previous file (',fn(1:18),') value =',ii |
& 'previous file (',fn(1:18),') value =',ii |
194 |
CALL PRINT_ERROR( msgBuf, myThid ) |
CALL PRINT_ERROR( msgBuf, myThid ) |
195 |
CALL ALL_PROC_DIE( myThid ) |
CALL ALL_PROC_DIE( 0 ) |
196 |
STOP 'ABNORMAL END: S/R FLT_TRAJ' |
STOP 'ABNORMAL END: S/R FLT_TRAJ' |
197 |
ENDIF |
ENDIF |
198 |
C- close the read-unit (safer to use a different unit for writing) |
C- close the read-unit (safer to use a different unit for writing) |