<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div style="margin: 0px;"><div style="margin: 0px;"><div style="margin: 0px;"><div style="margin: 0px;"><div style="font-family: 'Courier New'; margin: 0px;"></div><div style="font-family: 'Courier New'; margin: 0px;"><br></div><div style="margin: 0px;">Thanks,</div><div style="margin: 0px;">Smriti</div></div></div></div></div></div><div style=""><div>On Jun 3, 2014, at 1:52 PM, Mary Haley <<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear Smriti,<br><br>I don't have access to a PPC64 system, so yes, you would need to build it from source code.<br><br>I can help with this, by providing suggestions on what to set in your LINUX configuration file.<br><br>When you download the NCL source code, you will see a directory in the top of the tree called "config". This directory contains a bunch of sample configuration files for LINUX, like:<br><br>LINUX.64.GNU<br>LINUX.64.INTEL<br>LINUX.64.PGI<br>LINUX.INTEL<br>LINUX.ppc64.xl<br><br>You can look at these files to get an idea of what things you need to set.<br><br>The file that ends up getting used for the NCL build is called LINUX, so this is the one you will need to make the modifications for.<br><br>The most critical lines in the LINUX file that you need to worry about are these:<br><br>#define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped<br>#define ByteSwapped<br>#define CCompiler gcc<br>#define FCompiler gfortran<br>#define CtoFLibraries -lgfortran<br>#define CtoFLibrariesUser -lgfortran<br>#define CcOptions -ansi -fPIC -fopenmp<br>#define FcOptions -fPIC -fno-f2c -fno-second-underscore -fopenmp<br><br>If you are not using the GNU compilers, then you'll need to change the CCompiler and FCompiler as desired, along with the compile options via CcOptions and FcOptions.<br><br>The line <br><br>#define ByteSwapped<br><br>should be removed if this is a big endian machine, which I seem to remember that it is.<br><br>Once you have the "config/LINUX" file set up as desired, then you can cd to the top level NCL tree and run "./Configure" as documented. See this link for full information:<br><br><a href="http://www.ncl.ucar.edu/Download/build_from_src.shtml">http://www.ncl.ucar.edu/Download/build_from_src.shtml</a><br><br>If you have any questions about this, please post them back to this email list.<br><br>Thanks,<br><br>--Mary<br><br>On Jun 3, 2014, at 9:05 AM, Smriti Prathapan <smritip1@umbc.edu> wrote:<br><br><blockquote type="cite">Hi, <br><br>I was looking for the pre-buit Linux binary for Power7 (ppc64) and couldn’t find it. Do you suggest installing from source ?<br><br>Thanks,<br>Smriti<br>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br>http://mailman.ucar.edu/mailman/listinfo/ncl-install<br></blockquote><br></blockquote></div><br></body></html>