<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I downloaded the file. I typed "idt gmetad.300" and it opened up. I am using OSX 10.7 (Lion).<div>I am using the latest ncl binary compile with gcc/gfortran but I am using intel(ifort/icc) compilers by default.</div><div><br></div><div><br></div><div><blockquote type="cite"><div><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">If I don't want to move everything (bin, include, library etc) to the<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">system directory /usr/local, what should I do to tell ncar use the<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Macport compilers and libraries? Do I need to manually edit scripts<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ncargf90 and ncargcc?</blockquote></blockquote></blockquote></div></blockquote><br></div><div>Go to /opt/local/bin and create a symbolic link within the directory</div><div>ln -sf <span class="Apple-style-span" style="color: rgb(103, 10, 5); ">gcc-mp-4.5 gcc</span></div><div><span class="Apple-style-span" style="color: rgb(103, 10, 5); ">and </span></div><div>ln -sf <span class="Apple-style-span" style="color: rgb(103, 10, 5); "> gfortran-mp-4.5 gfortran</span></div><div><font class="Apple-style-span" color="#670a05"><br></font></div><div><font class="Apple-style-span" color="#670a05">If <span class="Apple-style-span" style="color: rgb(0, 0, 0); ">/opt/local/bin is not the fist thing in your PATH, then create a .bashrc (.cshrc) file that makes this so whenever you need to use gcc/gfortran 4.5. </span><br></font><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div>_______________________________________________________</div><div>Erik Noble</div><div>Center for Climate Systems Research, Columbia University</div><div>NASA Goddard Institute for Space Studies</div><div>2880 Broadway, New York, NY-10025, USA</div><div><br></div><div>Tel: +1 (212) 678-5512; Fax: +1 (212) 678-5552</div><div>E-mail: <a href="mailto:enoble@giss.nasa.gov">enoble@giss.nasa.gov</a>, <a href="mailto:en2192@columbia.edu">en2192@columbia.edu</a></div><div>WEB: <a href="http://www.giss.nasa.gov/staff/enoble.html">http://www.giss.nasa.gov/staff/enoble.html</a></div><div>GISS: <a href="http://www.giss.nasa.gov">http://www.giss.nasa.gov</a></div><div>CCSR: <a href="http://www.ccsr.columbia.edu">http://www.ccsr.columbia.edu</a></div><div>_______________________________________________________</div></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Sep 19, 2011, at 12:48 PM, Mary Haley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Thanks for providing the file. I was able to view it just fine under my Snow Leopard Mac, but that was expected.<br><br>I don't have a Lion system, but I've sent the file to someone who does to see if they have the same problem.<br><br>It does sound like an X server issue. <br><br>If anybody else has a Mac Lion system could they try the same thing that JunJun did, and let me know if you have a problem or not?<br><br>Thanks,<br><br>--Mary<br><br>On Sep 19, 2011, at 8:52 AM, Junjun Mao wrote:<br><br><blockquote type="cite">Hi Mary,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Attached is a multi-picture file a user forwarded to me. When I load it into idt and hit animate button I get<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">mac_ idt gmetad.300<br></blockquote><blockquote type="cite">X Error of failed request: BadMatch (invalid parameter attributes)<br></blockquote><blockquote type="cite"> Major opcode of failed request: 73 (X_GetImage)<br></blockquote><blockquote type="cite"> Serial number of failed request: 435<br></blockquote><blockquote type="cite"> Current serial number in output stream: 435<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If I use my Linux box to "ssh -Y" to his Mac OS X Lion, I can do the "animate" properly though.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Junjun<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 09/19/2011 10:48 AM, Mary Haley wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Junjun,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Can you be more specific by what you mean by the "animate" function? What exactly are you running that causes the crash?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Also, do you get any kind of warnings or errors?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--Mary<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Sep 19, 2011, at 8:46 AM, Junjun Mao wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">The "animate" function of the pre-compiled binary of ncar on Mac OS X<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Lion crashes. I don't know if it is a X11 library computability problem<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">or something missing in the installation.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Reading instruction and notes for Mac at<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://www.ncl.ucar.edu/Download/macosx.shtml">http://www.ncl.ucar.edu/Download/macosx.shtml</a> I see a line:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"If it echoes "10.7.x", then you should be able to use the above binary,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">but you may also need to install "gfortran" via MacPorts:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">sudo port install gcc45 +gfortran"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">So I suspected I have to use MacPort gcc and gfortran. However, the<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">installed the installed gcc and gfortran are located under<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/opt/local/bin and named gcc-mp-4.5 and gfortran-mp-4.5 receptively.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">If I don't want to move everything (bin, include, library etc) to the<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">system directory /usr/local, what should I do to tell ncar use the<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Macport compilers and libraries? Do I need to manually edit scripts<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ncargf90 and ncargcc?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Junjun<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Dr. Junjun Mao<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Research Associate and Systems Manager<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Levich Institute, City College of New York<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Email: <a href="mailto:jmao@ccny.cuny.edu">jmao@ccny.cuny.edu</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Phone: 212-650-6845<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Fax: 212-650-6835<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ncl-install mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">List instructions, subscriber options, unsubscribe:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">Dr. Junjun Mao<br></blockquote><blockquote type="cite">Research Associate and Systems Manager<br></blockquote><blockquote type="cite">Levich Institute, City College of New York<br></blockquote><blockquote type="cite">Email: <a href="mailto:jmao@ccny.cuny.edu">jmao@ccny.cuny.edu</a><br></blockquote><blockquote type="cite">Phone: 212-650-6845<br></blockquote><blockquote type="cite">Fax: 212-650-6835<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><gmetad.300><br></blockquote><br>_______________________________________________<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></div></blockquote></div><br></div></body></html>