26 COMMON /hrdwrd/ nbytw,nbitw,iord(8)
29 CHARACTER*128 BORT_STR,ERRSTR
30 CHARACTER*8 CINT,DINT,CVSTR
67 10
IF(i.GE.65)
GOTO 900
68 IF(mod(i,8).NE.0)
GOTO 901
86 int = ishft(1,(nbytw-i)*8)
88 IF(cint(j:j).NE.dint(j:j))
GOTO 20
91 20
IF(j.GT.nbytw)
GOTO 902
105 errstr =
'=============== ' //
106 .
'WELCOME TO THE BUFR ARCHIVE LIBRARY' //
' =============='
108 WRITE ( unit=errstr, fmt=
'(A,I2)' )
109 .
' MACHINE CHARACTERISTICS: NUMBER OF BYTES PER WORD =', nbytw
111 WRITE ( unit=errstr, fmt=
'(A,I3)' )
112 .
' NUMBER OF BITS PER WORD =', nbitw
114 errstr =
' BYTE ORDER IS ' // cndian //
118 errstr =
'====================== VERSION: ' // cvstr //
119 .
'=========================='
128 900
WRITE(bort_str,
'("BUFRLIB: WRDLEN - MACHINE WORD LENGTH IS '//
129 .
'LIMITED TO 64 BITS (THIS MACHINE APPARENTLY HAS",I4," BIT '//
132 901
WRITE(bort_str,
'("BUFRLIB: WRDLEN - MACHINE WORD LENGTH (",I4,"'//
133 .
') IS NOT A MULTIPLE OF 8 (THIS MACHINE HAS WORDS NOT ON WHOLE'//
134 .
' BYTE BOUNDARIES!)")') i
136 902
WRITE(bort_str,
'("BUFRLIB: WRDLEN - BYTE ORDER CHECKING MISTAKE'//
137 . .GT.
', LOOP INDEX J (HERE =",I3,") IS NO. OF BYTES PER WORD '//
138 .
'ON THIS MACHINE (",I3,")")') j,nbytw
subroutine bort(STR)
Log one error message and abort application program.
subroutine bvers(CVERSTR)
Get the version number of the NCEPLIBS-bufr software.
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...
subroutine wrdlen
Determine important information about the local machine.