<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=RU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This often happens when you try to link ia-32 libraries together
with intel64 ones. Are they built on the same architecture?  <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>WBR, Alex.</span><span lang=EN-US style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> wrf-users-bounces@ucar.edu
[mailto:wrf-users-bounces@ucar.edu] <b>On Behalf Of </b>brick<br>
<b>Sent:</b> Tuesday, April 06, 2010 6:54 AM<br>
<b>To:</b> wrf-users@ucar.edu<br>
<b>Subject:</b> [Wrf-users] [wrf-users] Error when make plotgrids.exe and
plotfmt.exe<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi<o:p></o:p></p>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<div style='mso-element:para-border-div;border:solid #C9D2D8 1.0pt;padding:
2.0pt 2.0pt 2.0pt 2.0pt;background:white'>

<p class=MsoNormal style='line-height:13.5pt;background:white;border:none;
padding:0cm'><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#333333'>I use icc and ifort compile wps and wrf. All lib include Ncl
were compiled by icc and ifort. There are no error appear when compile zlib
libpng jasper or ncl.<br>
<br>
This is part of configure.wps. I link all needed path in it.<br>
All lib about X11 was create a link to /home/q/Program/IntelCompiled/lib_wrf<o:p></o:p></span></p>

</div>

<div style='mso-element:para-border-div;border:solid #C9D2D8 1.0pt;border-bottom:
solid #CCCCCC 1.0pt;padding:2.0pt 2.0pt 0cm 2.0pt;background:white'>

<p class=MsoNormal style='line-height:13.5pt;background:white;border:none;
padding:0cm'><b><span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";
color:#333333;text-transform:uppercase'>CODE:&nbsp;<a
href="http://forum.wrfforum.com/viewtopic.php?f=5&amp;t=2013&amp;sid=858a5c94784a876c8c50dadd6c8ab60e"
target="_blank"><span style='color:#105289;text-decoration:none'>SELECT ALL</span></a><o:p></o:p></span></b></p>

</div>

<div style='mso-element:para-border-div;border:solid #C9D2D8 1.0pt;padding:
2.0pt 2.0pt 2.0pt 2.0pt;background:white;margin-left:36.0pt;margin-right:0cm'>

<p class=MsoNormal style='line-height:13.5pt;background:white;border:none;
padding:0cm'><code><span style='font-size:10.0pt;color:seagreen'>&nbsp; 9 # To
permanently change options, change the settings for your platform</span></code><span
style='font-size:10.0pt;font-family:"Courier New";color:seagreen'><br>
<code>10 # in the file arch/configure.defaults, the preamble, and the postamble
-</code><br>
<code>11 # then rerun configure.</code><br>
<code>12 #</code><br>
<code>13&nbsp;</code><br>
<code>14 .SUFFIXES: .F .f .c .o</code><br>
<code>15&nbsp;</code><br>
<code>16 SHELL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;=&nbsp; &nbsp; &nbsp; &nbsp;/bin/sh</code><br>
<code>17&nbsp;</code><br>
<code>18 COMPRESSION_LIBS&nbsp; &nbsp; &nbsp; &nbsp; =&nbsp; &nbsp; &nbsp;
&nbsp;-L/data3a/mp/gill/WPS_LIBS/local/lib \</code><br>
<code>19&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-L$(JASPERLIB) -L$(PNG_LIB)
-L$(ZLIB_LIB) \</code><br>
<code>20&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-ljasper -lpng12 -lpng -lz</code><br>
<code>21&nbsp;</code><br>
<code>22 COMPRESSION_INC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp; &nbsp; &nbsp;
&nbsp;-I/data3a/mp/gill/WPS_LIBS/local/include \</code><br>
<code>23&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-I$(JASPERINC) -I$(PNG_INC)
-I$(ZLIB_INC)</code><br>
<code>24&nbsp;</code><br>
<code>25 NCARG_LIBS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&nbsp;
&nbsp; &nbsp; &nbsp;-L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c&nbsp;
&nbsp; &nbsp;\</code><br>
<code>26&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;-L/home/q/Program/IntelCompiled/lib_wrf -lX11</code><br>
<code>27&nbsp;</code><br>
<code>28 NCARG_LIBS2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=</code><br>
<code>29&nbsp;</code><br>
<code>30 FDEFS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;=&nbsp; &nbsp; &nbsp; &nbsp;-DUSE_JPEG2000 -DUSE_PNG</code></span><span
style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333'><o:p></o:p></span></p>

</div>

<p class=MsoNormal style='line-height:13.5pt'><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#333333'><br>
<br>
Below are the errors I met.<br>
<br>
<br>
<o:p></o:p></span></p>

<div>

<p class=MsoNormal style='line-height:13.5pt;background:#EBEADD'><span
style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";color:#333333'>1300
ifort -o plotfmt.exe plotfmt.o read_met_module.o module_debug.o \<br>
1301 misc_definitions_module.o cio.o met_data_module.o \<br>
1302 -L/home/q/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib -lncarg -lncarg_gks
-lncarg_c -L/home/q/Program/IntelCompiled/lib_wrf -lX11<br>
1303 ld:&nbsp;</span><span style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";
color:red'>skipping incompatible</span><span style='font-size:9.5pt;font-family:
"Trebuchet MS","sans-serif";color:#333333'>&nbsp;/home/q/Program/IntelCompiled/lib_wrf/libX11.so
wh en searching for -lX11<br>
1304 /home/q/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib/</span><span
style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";color:red'>libncarg_gks.</span><span
style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";color:#333333'>a(pixwrite_pn
g.o): In function `write_png':<br>
1305 pixwrite_png.c:(.text+0x43a): undefined reference to
`png_create_write_struct'<br>
1306 pixwrite_png.c:(.text+0x44f): undefined reference to
`png_create_info_struct'<br>
1307 pixwrite_png.c:(.text+0x47a): undefined reference to `png_init_io'<br>
1308 pixwrite_png.c:(.text+0x48b): undefined reference to `png_malloc'<br>
1309 pixwrite_png.c:(.text+0x4d9): undefined reference to `png_set_rows'<br>
1310 pixwrite_png.c:(.text+0x505): undefined reference to `png_set_IHDR'<br>
1311 pixwrite_png.c:(.text+0x530): undefined reference to `png_write_png'<br>
1312 pixwrite_png.c:(.text+0x53d): undefined reference to
`png_destroy_write_struct'<br>
1313 pixwrite_png.c:(.text+0x563): undefined reference to
`png_destroy_write_struct'<br>
1314 pixwrite_png.c:(.text+0x58d): undefined reference to
`png_destroy_write_struct'<br>
1315 make[1]: [plotfmt.exe] Error 1 (ignored)<o:p></o:p></span></p>

</div>

<p class=MsoNormal style='line-height:13.5pt'><span style='font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";color:#333333'><br>
<br>
<br>
<o:p></o:p></span></p>

<div>

<p class=MsoNormal style='line-height:13.5pt;background:#EBEADD'><span
style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";color:#333333'>1375
ifort -o plotgrids.exe module_map_utils.o module_debug.o cio.o constants_module
.o misc_definitions_module.o \<br>
1376 plotgrids.o -L/home/q/Program/IntelCompiled/Ncl_ncarg-5.1.1/ lib -lncarg
-lncarg_gks -lncarg_c -L/home/q/Program/IntelCompiled/lib_wrf -l X11<br>
1377 ld:&nbsp;</span><span style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";
color:red'>skipping incompatible</span><span style='font-size:9.5pt;font-family:
"Trebuchet MS","sans-serif";color:#333333'>&nbsp;/home/q/Program/IntelCompiled/lib_wrf/libX11.so
wh en searching for -lX11<br>
1378 /home/q/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib/</span><span
style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";color:red'>libncarg_gks.a</span><span
style='font-size:9.5pt;font-family:"Trebuchet MS","sans-serif";color:#333333'>(pixwrite_pn
g.o): In function `write_png':<br>
1379 pixwrite_png.c:(.text+0x43a): undefined reference to
`png_create_write_struct'<br>
1380 pixwrite_png.c:(.text+0x44f): undefined reference to
`png_create_info_struct'<br>
1381 pixwrite_png.c:(.text+0x47a): undefined reference to `png_init_io'<br>
1382 pixwrite_png.c:(.text+0x48b): undefined reference to `png_malloc'<br>
1383 pixwrite_png.c:(.text+0x4d9): undefined reference to `png_set_rows'<br>
1384 pixwrite_png.c:(.text+0x505): undefined reference to `png_set_IHDR'<br>
1385 pixwrite_png.c:(.text+0x530): undefined reference to `png_write_png'<br>
1386 pixwrite_png.c:(.text+0x53d): undefined reference to
`png_destroy_write_struct'<br>
1387 pixwrite_png.c:(.text+0x563): undefined reference to
`png_destroy_write_struct'<br>
1388 pixwrite_png.c:(.text+0x58d): undefined reference to `png_destroy_write_struct'<br>
1389 make[1]: [plotgrids.exe] Error 1 (ignored)<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
color:#333333'><br>
<br>
What is the reason for these error? X11 lib incompatible? png lib connect
incorrectly?<br>
<br>
Thanks.</span><o:p></o:p></p>

</div>

</div>

<pre>
--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
</pre></body>

</html>