Hello,<br><br>I'm compiling WRF-Var (V3.1.1) with the ifort compiler on a SGI
Altix and did have some problems. I found that the problem is related
to the endianness of the buffer library.<br><br>I added the line "call openbf(lnbufr, 'QUIET', 2)" to the file "var/da/da_radiance/da_read_<div id=":16e" class="ii gt">obs_bufrtovs.inc" (before the line "call openbf(lnbufr,'IN',lnbufr)") and did get the following output:<br>
<br>=============== WELCOME TO BUFR ARCHIVE LIBRARY ===============<br>MACHINE CHARACTERISTICS: NUMBER OF BYTES PER WORD = 4, NUMBER OF BITS PER WORD = 32,<br> BYTE ORDER IS LITTLE ENDIAN (NREV= 1, IORD=4321****),<br>
ASCII IS THE NATIVE LANGUAGE<br>============== VERSION: 2007-01-19 ==============<br><br><br>The
bufr library (embedded in the WRF-Var code) was compiled to work with
little_endian files, but the parameter "-convert big_endian" on the
configure file forces the "amsua.bufr" file to be open converted to
"big_endian" causing the following error message when trying to read
the "amsua.bufr" file unblocked and re-blocked with the "cwordsh"
program:<br>
<br> **************BUFR ARCHIVE LIBRARY ABORT*****************<br> BUFRLIB: OPENBF - ERROR READING INPUT FILE CONNECTED TO UNIT 26 WHEN CHECKING<br> FOR 'BUFR' IN FIRST 4 BYTES OF RECORD<br> **************BUFR ARCHIVE LIBRARY ABORT*****************<br>
<br><br>I'm not sure if is safe to remove the '-convert big_endian'
parameter from the configure file, so I forced the 'amsua.bufr' file to
be open converted to 'little_endian' adding "convert = 'LITTLE_ENDIAN'"
to the line 159 of the file "var/da/da_radiance/da_read_obs_bufrtovs.inc":<br>
<br>open(unit=lnbufr,file=trim(infile),form='unformatted', &<br> iostat = iost, status = 'old', convert = 'LITTLE_ENDIAN')<br><br>It seems to work...<br><br>Alex<br></div>