<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>HI, Wan Ahmad Ardie</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>For your case,</SPAN></FONT><FONT face=Arial
color=#0000ff size=2><SPAN class=410243116-06052009>(1) check /usr/lib/ if there
is the library named libgfortran.so.1.0.0. Due to <SPAN
class=410243116-06052009>the library's names do not terminate with .a
or .so, in </SPAN>your local lib directory (~/local/lib/) which should add
into $PATH, and then link the library by </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>link -s /usr/lib/libgfortran.so.1.0.0 libgfortran.a
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>and update your configure.wps by
adding </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>-lpng -lz -L~/local/lib
-lgfortran</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>try to compile your WPS again. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>If you fail to fix the problem please let me know and
<SPAN class=410243116-06052009>you may check your configure.wps first if the
libraries in this file are consistent (e.g. library location
directory, name and version number) in your system. For example, <SPAN
class=410243116-06052009>check library X11 is located at /usr/lib, or
/usr/X11R6/lib</SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>Good luck.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009>Feng</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=410243116-06052009></SPAN></FONT> </DIV><FONT face=Arial
color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> wrf-users-bounces@ucar.edu
[mailto:wrf-users-bounces@ucar.edu] <B>On Behalf Of </B>Ahmad
Wan<BR><B>Sent:</B> Saturday, April 25, 2009 11:35 PM<BR><B>To:</B>
wrf-users@ucar.edu<BR><B>Subject:</B> [Wrf-users] problem compiling
plotgrids.exe ( Ardie from Malaysia)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV>Hi, I am Wan Ahmad Ardie from Malaysia, i have a problem with the
compilation of <SPAN style="FONT-WEIGHT: bold">plotgrids.exe</SPAN>.<BR><BR>My
installation of WRF Preprocessing System (<SPAN
style="FONT-WEIGHT: bold">WPS</SPAN>) was successful, in fact, I have been using
this for a few months now. But now I needed to see if I can use the <SPAN
style="FONT-WEIGHT: bold">plotgrids.exe</SPAN>, which I have never managed to
successfully compile before. I have tried a few configure options, tried editing
the <SPAN style="FONT-WEIGHT: bold">configure.wps</SPAN> ( just the ncarg
libraries changing -L/usr/X11R6/lib to -L/usr/lib) but
none worked. Here is an example of the Intel option:<BR><BR>./configure<BR><SPAN
style="FONT-WEIGHT: bold">5. PC Linux i486 i586 i686, Intel compiler
serial, NO GRIB2</SPAN><BR><BR><BR>./compile >&
compile.output<BR><BR><SPAN style="FONT-WEIGHT: bold">(some of the lines in
compile.output):<BR><BR></SPAN>i1mach.f:(.text+0x177): undefined reference to
`_gfortran_st_write_done'<BR>i1mach.f:(.text+0x183): undefined reference to
`_gfortran_stop_numeric'<BR>i1mach.f:(.text+0x4b4): undefined reference to
`_gfortran_st_write'<BR>i1mach.f:(.text+0x4bc): undefined reference to
`_gfortran_st_write_done'<BR>i1mach.f:(.text+0x4c8): undefined reference to
`_gfortran_stop_numeric'<BR>i1mach.f:(.text+0x640): undefined reference to
`_gfortran_st_write'<BR>i1mach.f:(.text+0x65a): undefined reference to
`_gfortran_transfer_character'<BR>i1mach.f:(.text+0x671): undefined reference to
`_gfortran_transfer_integer'<BR>i1mach.f:(.text+0x68b): undefined reference to
`_gfortran_transfer_character'<BR>i1mach.f:(.text+0x693): undefined reference to
`_gfortran_st_write_done'<BR>i1mach.f:(.text+0x69f): undefined reference to
`_gfortran_stop_numeric'<BR><SPAN style="FONT-WEIGHT: bold">make[1]:
[plotgrids.exe] Error 1 (ignored)</SPAN><BR>make[1]: Leaving directory
`/home/ardie/WRF_model/WPS/util/src'<BR>if [ -h plotgrids.exe ] ; then
\<BR>.........<BR>...<BR>..<BR><BR><BR></DIV></DIV><BR></BODY></HTML>