<div dir="ltr"><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">The problem is that the string &quot;x86_64&quot; is a system predefined macro that is basically a flag (0 or 1) as to whether you are on a 64-bit system. When the Makefile gets generated, the preprocessor is converting this to a 1 because you are on a 64-bit system. By renaming it to &quot;x86.64&quot;, which is NOT a predefined macro, then, you get around this problem. </font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">I will see if somebody can find a work-around to the other issue you mentioned.</font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">At least temporarily, you can choose to install NCL to whatever parent directory you want (that doesn&#39;t have &quot;x86_64&quot; in the name), and then simply move the &quot;bin&quot;, &quot;lib&quot;, and &quot;include&quot; directories to  /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0 afterwards. </font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">--Mary</font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 11, 2016 at 1:53 PM, Crooks, Cynthia J <span dir="ltr">&lt;<a href="mailto:cynthia.crooks@bp.com" target="_blank">cynthia.crooks@bp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mary,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I have to update my last response.  Adding the “” did make a difference.  I found I also had to add it to the
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                #define YmakeRoot &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Unfortunately, that creates another problem:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">YMAKEROOT               = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">BINROOT                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/bin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">LIBROOT                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/lib<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">INCROOT                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/include<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">MANROOT                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/man<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">TMPROOT                 = /tmp<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">ROOTPATH                = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">BINPATH                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/bin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">LIBPATH                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/lib<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">INCPATH                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/include<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">MANPATH                 = &quot;/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0&quot;/man<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">LIBSEARCH               = &quot;-L/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/lib&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">INCSEARCH               = &quot;-I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include -<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include/freetype2&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I also found that if I change “x86_64” to “x86.64” in Site.local, I don’t need the “” and the paths show up in the Make file the way I would expect.  Unfortunately,
 that is now how our app file system tree has been built.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I think I have found a “work around”.  I set an environment variable called HPCAPPDIR to “/hpc/apps/SLES/3.0/x86_64”.  I then edited the Site.local and replaced
 that portion of the various paths with ${HPCAPPDIR}.  It is important to use the {} notation.  It looks like most things have built and are being installed in the correct location.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Now I need to figure out what I did wrong with my INCLUDE path.  It’s always something.<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Cindy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Mary Haley [mailto:<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>]
<br>
<b>Sent:</b> Sunday, April 10, 2016 1:54 PM<br>
<b>To:</b> Crooks, Cynthia J<br>
<b>Cc:</b> <a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-install] Configure and/or ymake changing Include paths<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</span><div>
<div>
<p class="MsoNormal">Cindy,<u></u><u></u></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal"><br>
Try adding quotes around the -L path in your Site.local file:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">#define LibSearch &quot;-L/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/lib&quot;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">#define IncSearch &quot;-I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include -I/hpc/ap\<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">ps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include/freetype2&quot;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">You will need to remake the Makefiles:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">cd $NCARG<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">make me<br>
make Makefiles includes depend all install<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">--Mary<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Apr 8, 2016 at 12:59 PM, Crooks, Cynthia J &lt;<a href="mailto:cynthia.crooks@bp.com" target="_blank">cynthia.crooks@bp.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am trying to build ncl_ncar-6.3.0. I am building on a SLES 11 SP 3 machine and using the gcc-5.2.0 compiler.  I am building  without the optional software.  Parts of the build
 are failing because the PATHS in the Makefile are incorrect.  The paths should include  “3.0/x86_64/ncl_ncarg”, but they are being changed to “3.0/1/ncl_ncarg”.  The Site.local appears to have the correct paths:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">#define YmakeRoot /hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">#define LibSearch -L/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/lib<u></u><u></u></p>
<p class="MsoNormal">#define IncSearch -I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include -I/hpc/apps/SLES/3.0/x86_64/ncl_ncarg/6.3.0/include/freetype2<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">The Makefiles, however, do not.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">YMAKEROOT               = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0<u></u><u></u></p>
<p class="MsoNormal">BINROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/bin<u></u><u></u></p>
<p class="MsoNormal">LIBROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/lib<u></u><u></u></p>
<p class="MsoNormal">INCROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/include<u></u><u></u></p>
<p class="MsoNormal">MANROOT                 = /hpc/apps/SLES/3.0/1/ncl_ncarg/6.3.0/man<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I have attached my Site.local and the top level Makefile.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I have tried rerunning Configure to verify that I put in the correct paths.  I get the same result.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I would appreciate any help you can offer.  Let me know what other information you might require.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Cindy<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>