<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>Good
morning,</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>We're trying to get
WRF, WRFSI going on a Dell system (Pentium 4 processor, Fedora Core 1,
"little-endian").</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>We've experimented
with the Intel FORTRAN and PGI FORTRAN compiler.</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>Some
notes...</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>WRFSI code can be
compiled using Intel FORTRAN (ifort 8.1), but several changes to the makefiles
must be made, and we found</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>it necessary to
rename Fortran source code, e.g., <file>.f to
<file>.f90 and so forth.</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>Only a minor change
to a C program file, and a minor change to the makefile (makefile_pc.inc.in)
were needed to get code to compile.</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial size=2>Makefile
excerpt:</FONT></SPAN></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=649204105-15052005>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>CC=pgcc</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>DEFS=-Di686 -DLINUX -DBIT32 -DF90 -DFORTRANUNDERSCORE
-DDYNAMIC</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>DBCFLAGS= -g -DDEBUG-1 $(DEFS)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>FC = pgf90</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>FFLAGS = $(INC) -g</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>..</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>FIXED=-Mfixed</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>FREE=-Mfree</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>..</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>CPP = pgf90 -E</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>MACHTYPE = pc</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>(other lines omitted here).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>No changes were made to any source code file, save the
file "cio.c" -- modification made in <STRONG>bold</STRONG></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>#if defined (SGI) || ... <STRONG>|| define
(LINUX)</STRONG></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>#define copen copen_</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005> ....</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>(other lines omitted here)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>The above makefile was used when compiling the
executable "gribprint.exe", which I used as a test to see if I could read a
(valid) GRIB file.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005>gribprint -V
<gribfile>
(GFS data, downloaded from FSL, verified elsewhere)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN class=649204105-15052005>Sample
output:</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN
class=649204105-15052005></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN class=649204105-15052005>Copen: File =
GRIBFILE.AA
<BR>Fortran Unit = 0<BR>UNIX File descriptor: 3</SPAN></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN class=649204105-15052005>End-of-record mark
(7777) not found-694338816<BR>Sec0(1) = 127133
0</SPAN></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN class=649204105-15052005>GRIB SECTION
0:<BR> Grib
Length
: 127133<BR> Grib
Edition
: 1</SPAN></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN class=649204105-15052005>GRIB SECTION
1:<BR> Length of
PDS
: 138240<BR> Parameter Table
Version
: 0<BR> Center
ID
: 128<BR> Process
ID
: 3<BR> Grid
ID
: 82<BR> Is there a
BITMAP?
:00000111<BR>
Parameter
: 232<BR> Level
type
: 3<BR> Height,
pressure,
etc
: 25607<BR>
Year
: 0<BR>
Month
: 8<BR>
Day
: 5<BR>
Hour
: 5<BR>
Minute
: 0<BR> Forecast
time
unit
: 0<BR>
P1
: 1<BR>
P2
: 0<BR> Time Range
Indicator
: 0<BR> Number in
Ave?
: 0<BR> Number
missing from ave?
: 10<BR>
Century
: 1<BR>
Sub-center
: 0<BR> Decimal
scale
factor
: 21</SPAN></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN class=649204105-15052005>GRIB SECTION
3:<BR> Length of bit map
section
: 0<BR> Number of
unused
bits
: 0<BR>
Numeric
: 0</SPAN></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=582535203-15052005><SPAN class=649204105-15052005>GRIB SECTION
4:<BR> Length of
BDS
: 0<BR> 0/1:
grid-point or sph. harm. data:
0<BR> 0/1: simple or complex packing
: 0<BR> 0/1:
floating or integer
: 0<BR> 0/1: No addl
flags or addl flags :
0<BR> Unused
bits
: 0<BR> Binary Scale
Factor
: 0<BR> Reference
Value
:
0.00000000<BR> Number of bits for
packing
: 0</SPAN></SPAN></FONT></DIV>
<DIV> </DIV><FONT color=#0000ff><SPAN class=582535203-15052005><SPAN
class=649204105-15052005>
<DIV dir=ltr align=left><BR><FONT face=Arial
size=2>**********************************************************************</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr align=left></SPAN></SPAN></FONT></SPAN><SPAN
class=649204105-15052005><FONT face=Arial size=2>The above output is garbage,
and we can't see why. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=649204105-15052005><FONT face=Arial
size=2>Any suggestions as to problems at our end will be accepted with
humility...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=649204105-15052005><FONT face=Arial
size=2>Best regards,</FONT></SPAN></DIV></DIV>
<DIV><SPAN class=649204105-15052005><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000>The information contained in this e-mail is intended only for the individual or entity to whom it is addressed. <br>
Its contents (including any attachments) may contain confidential and/or privileged information. <br>
If you are not an intended recipient you must not use, disclose, disseminate, copy or print its contents. <br>
If you receive this e-mail in error, please notify the sender by reply e-mail and delete and destroy the message.<br>
</font></td></tr></table>