<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 14 (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:"Lucida Sans Unicode";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Mary,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Here are a few excerpts from attempted compile:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>….<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg.a(mdpit.o): In function `mdpit_':^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mdpit.f:(.text+0x47a): undefined reference to `_gfortran_pow_r8_i4'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mdpit.f:(.text+0x4f4): undefined reference to `_gfortran_pow_r8_i4'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg.a(mdlndr.o): In function `mdlndr_':^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mdlndr.f:(.text+0x81): undefined reference to `_gfortran_internal_malloc'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mdlndr.f:(.text+0xb0): undefined reference to `_gfortran_internal_malloc'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mdlndr.f:(.text+0xd9): undefined reference to `_gfortran_internal_free'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mdlndr.f:(.text+0xf1): undefined reference to `_gfortran_copy_string'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>….<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gerhnd.o): In function `gerhnd_':^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gerhnd.f:(.text+0xdc): undefined reference to `_gfortran_copy_string'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gzgte2.o): In function `gzgte2_':^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gzgte2.f:(.text+0x66): undefined reference to `_gfortran_copy_string'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gzputs.o): In function `gzputs_':^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gzputs.f:(.text+0x7c): undefined reference to `_gfortran_copy_string'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gzputs.f:(.text+0xf8): undefined reference to `_gfortran_copy_string'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gzputs.f:(.text+0x17d): undefined reference to `_gfortran_copy_string'^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/net/opt/WRF_rebuild/ncl/5.2.1/lib/libncarg_gks.a(gzopwk.o):gzopwk.f:(.text+0x516): more undefined references to `_gfortran_copy_string' follow^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>collect2: ld returned 1 exit status^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>make[1]: [plotgrids.exe] Error 1 (ignored)^M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you need to see more or the whole compile, please let me know.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Greg Lindenfelser<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Mary Haley [mailto:haley@ucar.edu] <br><b>Sent:</b> Monday, May 23, 2011 10:51 AM<br><b>To:</b> Lindenfelser, Greg A (GE Energy, Non-GE)<br><b>Cc:</b> ncl-install@ucar.edu<br><b>Subject:</b> Re: [ncl-install] WPS 3.2.1 does not produce plotgrids/plotfmt/anyone have gcc44/gfortran44 compiled NCL 5.2.1<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Greg,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Can you provide the error messages from your compilation? We don't have 5.2.1 compiled with gcc 4.4.x, unfortunately, but we do have a binary for (Debian) gcc 4.3.2 which might work better than 4.1.2.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>However, if I can see the compilation error, I might be able to provide a solution without you having to reinstall or build from source code.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>--Mary<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On May 20, 2011, at 8:25 AM, Lindenfelser, Greg A (GE Energy, Non-GE) wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><p><span style='font-family:"Calibri","sans-serif"'>All,</span><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p><span style='font-family:"Calibri","sans-serif"'>I’m currently using:</span><o:p></o:p></p><p><span style='font-family:Symbol'>·</span><span style='font-family:"Courier New"'> </span> <span style='font-family:"Calibri","sans-serif"'>RedHat 5.4</span> <span style='font-family:"Calibri","sans-serif"'>Linux</span> <span style='font-family:"Calibri","sans-serif"'>on x86_64 architecture</span><o:p></o:p></p><p><span style='font-family:Symbol'>·</span><span style='font-family:"Courier New"'> </span> <span style='font-family:"Calibri","sans-serif"'>Using gcc44 & gfortran44 to compile</span><o:p></o:p></p><p><span style='font-family:Symbol'>·</span><span style='font-family:"Courier New"'> </span> <span style='font-family:"Calibri","sans-serif"'>Am currently working</span> <span style='font-family:"Calibri","sans-serif"'>on</span> <span style='font-family:"Calibri","sans-serif"'>getting WPS 3.2.1 to generate all executables specified in the</span> <span style='font-family:"Calibri","sans-serif"'>ARW Users Guide</span><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p><span style='font-family:"Calibri","sans-serif"'>My problem is that I cannot seem to get WPS to compile</span> <span style='font-family:"Calibri","sans-serif"'>2 out of the 9 executables</span> <span style='font-family:"Calibri","sans-serif"'>(plotfmt.exe</span> <span style='font-family:"Calibri","sans-serif"'>or the</span> <span style='font-family:"Calibri","sans-serif"'>plotgrids.exe)</span> <span style='font-family:"Calibri","sans-serif"'>that are generated by the ./compile step. In the manual, it says “</span>if the<b> </b><b><span style='font-family:"Courier New"'>plotfmt.exe</span></b> or the<b> </b><b><span style='font-family:"Courier New"'>plotgrids.exe</span></b> programs are missing, probably the NCAR Graphics path is set incorrectly”, however, if I do `ls $NCARG_ROOT` I get:<o:p></o:p></p><p>bin include ncl_ncarg-5.2.1.Linux_RedHat_x86_64_gcc412.tar.gz<o:p></o:p></p><p>curr_ver_is_nodap lib <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p><span style='font-family:"Calibri","sans-serif"'>I realize my problem is most likely caused by the fact that I compiled with gcc44/gfortran44 and the NCL is version 5.2.1 binary install from a gcc/gfortran</span> <span style='font-family:"Calibri","sans-serif"'>compiled</span> <span style='font-family:"Calibri","sans-serif"'>install.</span><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p><span style='font-family:"Calibri","sans-serif"'>Has anyone compiled the full (or even partial) NCL for version 5.X</span> <span style='font-family:"Calibri","sans-serif"'>with gcc44/gfortran44</span> <span style='font-family:"Calibri","sans-serif"'>and perhaps have the</span> <span style='font-family:"Calibri","sans-serif"'>binaries for this. If not, does anyone have a script that builds it out premised upon having the correct prerequisites? If so, it would be greatly appreciated as I could easily modify it to suit my needs. </span><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p><span style='font-family:"Calibri","sans-serif"'>Thanks in advance for any and all help/comments.</span><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p><span style='font-family:"Calibri","sans-serif"'>Greg Lindenfelser</span><o:p></o:p></p><p><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>HPC Support</span></b><o:p></o:p></p><p><i><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode","sans-serif"'>Assigned</span> </i><i><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode","sans-serif"'>to:</span></i><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:gray'>GE Infrastructure</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:gray'>Schenectady, New York 12345</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:maroon'>Phone: (518) 385-3964</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:maroon'> </span><span style='font-size:10.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:maroon'>(C) (518) 847-8627 </span> <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal>_______________________________________________<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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>