Hi<div><br></div><div><span style="color:rgb(51, 51, 51);font-family:'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;font-size:13px;line-height:18px">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 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">This is part of configure.wps. I link all needed path in it.<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
All lib about X11 was create a link to /home/q/Program/IntelCompiled/lib_wrf<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<dl style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:3px;padding-right:3px;padding-bottom:3px;padding-left:3px;background-color:rgb(255, 255, 255);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(201, 210, 216);border-right-color:rgb(201, 210, 216);border-bottom-color:rgb(201, 210, 216);border-left-color:rgb(201, 210, 216);font-size:1em">
<dt style="margin-top:0px;margin-right:0px;margin-bottom:3px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;text-transform:uppercase;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);font-size:0.8em;font-weight:bold;display:block">
CODE: <a href="http://forum.wrfforum.com/viewtopic.php?f=5&t=2013&sid=858a5c94784a876c8c50dadd6c8ab60e#" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(16, 82, 137);text-decoration:none" target="_blank">SELECT ALL</a></dt>
<dd style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><code style="margin-top:2px;margin-right:0px;margin-bottom:2px;margin-left:0px;padding-top:5px;padding-right:0px;padding-bottom:0px;padding-left:0px;overflow-x:auto;overflow-y:auto;display:block;min-height:auto;max-height:200px;white-space:normal;line-height:1.3em;color:rgb(46, 139, 87)"> 9 # To permanently change options, change the settings for your platform<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
10 # in the file arch/configure.defaults, the preamble, and the postamble -<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
11 # then rerun configure.<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">12 #<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
13 <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">14 .SUFFIXES: .F .f .c .o<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
15 <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">16 SHELL = /bin/sh<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
17 <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">18 COMPRESSION_LIBS = -L/data3a/mp/gill/WPS_LIBS/local/lib \<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
19 -L$(JASPERLIB) -L$(PNG_LIB) -L$(ZLIB_LIB) \<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
20 -ljasper -lpng12 -lpng -lz<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
21 <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">22 COMPRESSION_INC = -I/data3a/mp/gill/WPS_LIBS/local/include \<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
23 -I$(JASPERINC) -I$(PNG_INC) -I$(ZLIB_INC)<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
24 <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">25 NCARG_LIBS = -L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c \<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
26 -L/home/q/Program/IntelCompiled/lib_wrf -lX11<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
27 <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">28 NCARG_LIBS2 =<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
29 <br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">30 FDEFS = -DUSE_JPEG2000 -DUSE_PNG</code></dd>
</dl><br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
Below are the errors I met.<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<blockquote style="margin-top:0.5em;margin-right:1px;margin-bottom:0px;margin-left:25px;padding-top:25px;padding-right:5px;padding-bottom:5px;padding-left:5px;background-color:rgb(235, 234, 221);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(219, 219, 206);border-right-color:rgb(219, 219, 206);border-bottom-color:rgb(219, 219, 206);border-left-color:rgb(219, 219, 206);font-size:0.95em;overflow-x:hidden;overflow-y:hidden;background-repeat:no-repeat no-repeat">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">1300 ifort -o plotfmt.exe plotfmt.o read_met_module.o module_debug.o \<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1301 misc_definitions_module.o cio.o met_data_module.o \<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
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 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1303 ld: <span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(255, 0, 0)">skipping incompatible</span> /home/q/Program/IntelCompiled/lib_wrf/libX11.so wh en searching for -lX11<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1304 /home/q/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib/<span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(255, 0, 0)">libncarg_gks.</span>a(pixwrite_pn g.o): In function `write_png':<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1305 pixwrite_png.c:(.text+0x43a): undefined reference to `png_create_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1306 pixwrite_png.c:(.text+0x44f): undefined reference to `png_create_info_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1307 pixwrite_png.c:(.text+0x47a): undefined reference to `png_init_io'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1308 pixwrite_png.c:(.text+0x48b): undefined reference to `png_malloc'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1309 pixwrite_png.c:(.text+0x4d9): undefined reference to `png_set_rows'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1310 pixwrite_png.c:(.text+0x505): undefined reference to `png_set_IHDR'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1311 pixwrite_png.c:(.text+0x530): undefined reference to `png_write_png'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1312 pixwrite_png.c:(.text+0x53d): undefined reference to `png_destroy_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1313 pixwrite_png.c:(.text+0x563): undefined reference to `png_destroy_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1314 pixwrite_png.c:(.text+0x58d): undefined reference to `png_destroy_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1315 make[1]: [plotfmt.exe] Error 1 (ignored)</div></blockquote><br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><blockquote style="margin-top:0.5em;margin-right:1px;margin-bottom:0px;margin-left:25px;padding-top:25px;padding-right:5px;padding-bottom:5px;padding-left:5px;background-color:rgb(235, 234, 221);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(219, 219, 206);border-right-color:rgb(219, 219, 206);border-bottom-color:rgb(219, 219, 206);border-left-color:rgb(219, 219, 206);font-size:0.95em;overflow-x:hidden;overflow-y:hidden;background-repeat:no-repeat no-repeat">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">1375 ifort -o plotgrids.exe module_map_utils.o module_debug.o cio.o constants_module .o misc_definitions_module.o \<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
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 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1377 ld: <span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(255, 0, 0)">skipping incompatible</span> /home/q/Program/IntelCompiled/lib_wrf/libX11.so wh en searching for -lX11<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1378 /home/q/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib/<span style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(255, 0, 0)">libncarg_gks.a</span>(pixwrite_pn g.o): In function `write_png':<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1379 pixwrite_png.c:(.text+0x43a): undefined reference to `png_create_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1380 pixwrite_png.c:(.text+0x44f): undefined reference to `png_create_info_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1381 pixwrite_png.c:(.text+0x47a): undefined reference to `png_init_io'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1382 pixwrite_png.c:(.text+0x48b): undefined reference to `png_malloc'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1383 pixwrite_png.c:(.text+0x4d9): undefined reference to `png_set_rows'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1384 pixwrite_png.c:(.text+0x505): undefined reference to `png_set_IHDR'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1385 pixwrite_png.c:(.text+0x530): undefined reference to `png_write_png'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1386 pixwrite_png.c:(.text+0x53d): undefined reference to `png_destroy_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1387 pixwrite_png.c:(.text+0x563): undefined reference to `png_destroy_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1388 pixwrite_png.c:(.text+0x58d): undefined reference to `png_destroy_write_struct'<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
1389 make[1]: [plotgrids.exe] Error 1 (ignored)</div></blockquote><br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">What is the reason for these error? X11 lib incompatible? png lib connect incorrectly?<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<br style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">Thanks.</span></div>