<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 4, 2011, at 10:22 AM, Fowler, Padriac C (E R WP AM TI) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div>
<div>
<div><span class="946491021-03032011">Dear NCL 
Install,</span></div>
<div><span class="946491021-03032011"></span>&nbsp;</div>
<div><span class="946491021-03032011">&nbsp;After 
discovering the attributes of our system, we installed NCL using the precompiled 
binary&nbsp;for Redhat Linux x86_64 for NCL version 5.2.1. After following the 
instructions for setting up our environment correctly everything seemed to work 
fine when we'd try to run NCL&nbsp;with our WRF output (we have made many NCL 
plots without issue). However, plotgrids.exe and plotgrids.ncl never built in 
our WPS/util directory. Is this because we are building everything (WRF, 
WPS...)&nbsp;with PGI compilers, and the precompiled binary of NCL was built 
using gfortran? Is there a precompiled binary for our redhat linux x86_64 system 
that was built with PGI compilers. We have gotten our feet wet trying to install 
NCL from source code by altering the LINUX ymake file...but this seems 
incredibly complicated and not without inevitable errors. </span><span class="946491021-03032011"></span></div>
<div><span class="946491021-03032011"></span>&nbsp;</div>
<div><span class="946491021-03032011">Best 
regards,</span></div>
<div><span class="946491021-03032011"></span>&nbsp;</div>
<div><span class="946491021-03032011">--Padriac Fowler and 
Paul Quelet</span></div></div></div></blockquote><div><br></div>Yes, the problem is likely that you are trying to link against libraries that were built with gfortran. &nbsp;You can use the PGI compilers to link against the NCL libraries, but there will be some gfortran references in the libraries that will have to be resolved by including "-lgfortran" on the final load line in your WPS/WRF make system.</div><div><br></div><div>Are you trying to avoid installing gfortran on your system? If not, my recommendation is to install gfortran so that you can get the "libgfortran.x" files. Then, it should simply be a matter of including "-lgfortran" on the final load lines in the WPS/WRF Makefiles. You will need to download a version of gfortran that is the closest in version as the NCL precompiled binary that you download.</div><div><br></div><div>If you don't want to install gfortran, then I will be happy to help you build a PGI version of NCL for your system. &nbsp;If you are only interested in the libraries from NCL and not the "ncl' application itself, then you can bypass a lot of the external software packages required, because these are only needed for the "ncl" application. This will make the build a lot eaiser.</div><div><br></div><div>Let me know if you want to go the source route, and I'll help. &nbsp;My one requirement is that I would like to make these PGI binaries available to our users, if possible.</div><div><br></div><div>--Mary</div><div><br></div><div><br><blockquote type="cite"><div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div align="left">
<div class="Section1"><span class="SpellE"><b><p align="left"><span lang="en-us"><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><span lang="en-us"><strong><u><font color="#008080">SIEMENS</font></u><font color="#000000">&nbsp;</font></strong></span><br></v:shapetype></span></p></b></span><b></b><p class="MsoNormal" align="left"><span class="SpellE"><b>Padriac</b></span><b> 
Fowler<o:p></o:p></b></p><p class="MsoNormal">Meteorology 
Engineer<o:p></o:p></p><p class="MsoNormal">Siemens Energy, 
Wind R&amp;D<o:p></o:p></p><p class="MsoNormal"><st1:street w:st="on"><st1:address w:st="on">1050 Walnut 
Street, Suite 303</st1:address></st1:street><o:p></o:p></p><p class="MsoNormal"><st1:place w:st="on"><st1:city w:st="on">Boulder</st1:city>, <st1:state w:st="on">CO</st1:state> <st1:postalcode w:st="on">80302</st1:postalcode></st1:place><o:p></o:p></p><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal"><u>Phone</u>: 
303.895.2076</p><p class="MsoNormal"><u>Fax</u>: 
303.895.2101<o:p></o:p></p><p class="MsoNormal"><a href="mailto:padriac.fowler@siemens.com">padriac.fowler@siemens.com</a><o:p></o:p></p></div></div>
<div>&nbsp;</div></div>
_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></div><br></body></html>