<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Dear NCL expert,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Could
you please help me out on the following installation problem with NCL?<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>While installing ncl_ncarg-5.2.1 on
a Linux computer running Redhat Enterprise Linux OS version 5.4 using pgfortran
(v10.5) and gcc (4.1.2 20080704 [Red Hat 4.1.2-48]), I encountered an error in
subdirectory &#8220;common/src/libncarg_c&#8221;. The use of c.h (a copy of
c.h.sed) yielded duplicate definition of SED_NGCALLF due to dozens of functions
named <o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>NGCALLF(lowercase, uppercase)
(char*, int*)<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>In files logic32.c and trnspprt.c,
etc.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>The complete compiler options are as
follow:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>gcc -O2 -m64 -fPIC&nbsp; -O&nbsp;
-I../../.././include -I/usr/X11R6/include -I/usr/local/include/freetype2&nbsp;
-DLinux&nbsp; -DIBM -DNGVERSION='&quot;5.2.1&quot;'&nbsp; -DNCLVERSION='&quot;5.2.1&quot;'&nbsp;
-DNCARGURL='&quot;ngurl&quot;'&nbsp; -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE
-DByteSwapped -DNeedFuncProto&nbsp; -DNDEBUG&nbsp; -c -o rwchinfl.o rwchinfl.c<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Did I miss anything in compiler
options (I compiled the same package successfully using earlier version of
gcc/RHEL and gfortran), or do I <font color=navy><span style='color:navy'>have</span></font>
to insert unique definitions in the c.h file for each complaint from the
compiler?<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Your response will be greatly
appreciated.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Paul<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><i><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy;
font-style:italic'>Jinyou (Paul) Liang, Ph.D.</span></font></i><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in'><i><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy;
font-style:italic'>Staff Air Pollution Specialist</span></font></i><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in'><st1:place w:st="on"><st1:State
 w:st="on"><i><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
  font-family:Arial;color:navy;font-style:italic'>California</span></font></i></st1:State></st1:place><i><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy;font-style:italic'> Air Resources Board</span></font></i><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in'><st1:place w:st="on"><st1:City
 w:st="on"><i><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
  font-family:Arial;color:navy;font-style:italic'>Sacramento</span></font></i></st1:City><i><font
 size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
 color:navy;font-style:italic'>, <st1:State w:st="on">CA</st1:State> <st1:PostalCode
 w:st="on">95812</st1:PostalCode></span></font></i></st1:place><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in'><i><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy;
font-style:italic'>Phone: (916) 327-8543</span></font></i><o:p></o:p></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<br clear=all> 
</body>

</html>