<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Richard,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The likely issue is that the GKS library didn&#39;t get fully built, and the culprit is probably the &quot;cdrivers&quot; directory under the &quot;$NCARG/ncarg2d/src/libncarg_gks&quot; directory.  There&#39;s some source code in that directory that depends on cairo, which is an external package required by NCL V6.3.0. It wasn&#39;t required by NCL V6.0.0. My guess is that the build failed because it couldn&#39;t find some required include files by cairo and/or freetype.</div><div class="gmail_default" style="font-size:small"><br>Can you email me the full build log so I can see where the error is?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div>







</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 10:26 AM, Cook, Rich <span dir="ltr">&lt;<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hello, 
<div>I&#39;m sorry if this is a known issue;  I am the maintainer of our cluster installation of NCAR on our machines.  A user recently complained to me that he is having linker errors when trying build against ncar: </div>
<div><br>
</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
<div>ifort     shok3.o /usr/local/lib/libmbase.a /usr/local/tools/ncar-intel-6.3.0/lib/libncarg.a /usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a /usr/local/tools/ncar-intel-6.3.0/lib/libncarg_c.a /usr/local/tools/ncar-intel-6.3.0/lib/libcgm.a /usr/lib64/libX11.so
 -o shok3</div>
<div>/usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_&#39;:</div>
<div>gziqwk.f:(.text+0x123): undefined reference to `ggkwdr_&#39;</div>
<div>/usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a(gztowk.o): In function `gztowk_&#39;:</div>
<div>gztowk.f:(.text+0x2ce): undefined reference to `ggkwdr_&#39;</div>
<div>gztowk.f:(.text+0x5a2): undefined reference to `ggkwdr_&#39;</div>
<div>gztowk.f:(.text+0x984): undefined reference to `ggkwdr_&#39;</div>
<div>make: *** [shok3] Error 1</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
</div>
<div><br>
</div>
<div>Naturally I googled to find a solution but none of the postings I found seemed relevant to me -- they all referenced some w_char problem from ages past, which I don&#39;t see any hint of in my build logs.  </div>
<div><br>
</div>
<div>If the user tries building against our 6.0.0 build, he does not have this problem -- nm reveals that the symbol lives in libncarg_c.a </div>
<div>I looked and ggkwdr() is a function from file fort_c.c </div>
<div>When I compared the build logs of the two versions, I see that in 6.0.0, fort_c.o gets archived into libncarg_c.a, which then gets installed into the INSTALL_DIR/lib: </div>
<div><br>
</div>
<div>// -------------------------------------------------------------------------</div>
<div>
<div>ar vru ../libncarg_gks.a fort_c.o gksc.o transform.o gksP.o gks_device.o ctxt_device.o ctxt.o ctxt_conv.o xdevice.o font.o text.o x_conv.o xattribute.o xcontrol.o
<span style="white-space:pre-wrap"></span>xinquiry.o xoutput.o psdevice.o ps.o ps_conv.o psfill.o pdf.o pdfdevice.o pdf_conv.o pdffill.o pixcontrol.o     pixoutput.o pixdevice.o  <span style="white-space:pre-wrap">
</span>pix_conv.o       pixattribute.o  pixinquiry.o <span style="white-space:pre-wrap">
</span>pixwrite_xwd.o  </div>
</div>
<div>.... </div>
<div>
<div>intel: ranlib libncarg_gks.a</div>
<div>intel: Installing libncarg_gks.a</div>
<div>intel: ranlib /usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a</div>
</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
</div>
<div><br>
</div>
<div>But in the build log for version 6.3.0, fort_c.o gets stuffed into a library called libbasegks.a, and this library never seems to be installed anywhere or used:  </div>
<div><br>
</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
<div>intel: ar vru ../libbasegks.a fort_c.o gksc.o transform.o gksP.o argb.o</div>
</div>
<div>....</div>
<div>(no more mention of libbasegks.a in the build log from here)</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
</div>
<div><br>
</div>
<div>Can someone help me understand what&#39;s wrong with my build process?  </div>
<div>I&#39;m building them both identically, using the config/LINUX.INTEL configuration. </div>
<div><br>
</div>
<div>Thanks!</div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div><span style="border-collapse:separate;font-size:13px;border-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Monaco;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>-- </div>
<div>✐Richard Cook   </div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557        </div>
<div>7000 East Avenue,  Livermore, CA, 94550, USA</div>
<div><img goomoji="260e" style="margin:0 0.2ex;vertical-align:middle;max-height:24px" alt="☎" src="cid:260e@goomoji.gmail"> (office) <a href="tel:%28925%29%20423-9605" value="+19254239605" target="_blank">(925) 423-9605</a>    </div>
<div><img goomoji="260e" style="margin:0 0.2ex;vertical-align:middle;max-height:24px" alt="☎" src="cid:260e@goomoji.gmail"> (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961" target="_blank">(925) 423-6961</a></div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br>
</span></span></span></span></span></span></span><br>
</span></div>
<br>
</font></span></div>
</div>

<br>_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br></blockquote></div><br></div>