Re: nacrg on Mac OS X Lion

From: Christian Pagé <page.christian_at_nyahnyahspammersnyahnyah>
Date: Tue Sep 20 2011 - 00:47:08 MDT

Samething here, on OSX 10.7.1 (x86_64), NCL 6.0.0 (May 2011).

Best regards

Christian Pagé

On Tue, Sep 20, 2011 at 00:06, Yemi Adebiyi <adadebiyi@gmail.com> wrote:

> Hello,
>
> I have OSX 10.7.1(Lion) of x86_64. I am using NCL version 6.0.0 installed
> through the binary and I am having the same problem earlier expressed by
> Junjun.
>
> Adeyemi.
>
>
>
> On 9/19/11 5:20 PM, Noble, Erik U. (GSFC)[COLUMBIA UNIVERSITY] wrote:
>
> I downloaded the file. I typed "idt gmetad.300" and it opened up. I am
> using OSX 10.7 (Lion).
> I am using the latest ncl binary compile with gcc/gfortran but I am using
> intel(ifort/icc) compilers by default.
>
>
> If I don't want to move everything (bin, include, library etc) to the
>
> system directory /usr/local, what should I do to tell ncar use the
>
> Macport compilers and libraries? Do I need to manually edit scripts
>
> ncargf90 and ncargcc?
>
>
> Go to /opt/local/bin and create a symbolic link within the directory
> ln -sf gcc-mp-4.5 gcc
> and
> ln -sf gfortran-mp-4.5 gfortran
>
> If /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.
> _______________________________________________________
> Erik Noble
> Center for Climate Systems Research, Columbia University
> NASA Goddard Institute for Space Studies
> 2880 Broadway, New York, NY-10025, USA
>
> Tel: +1 (212) 678-5512; Fax: +1 (212) 678-5552
> E-mail: enoble@giss.nasa.gov, en2192@columbia.edu
> WEB: http://www.giss.nasa.gov/staff/enoble.html
> GISS: http://www.giss.nasa.gov
> CCSR: http://www.ccsr.columbia.edu
> _______________________________________________________
>
>
>
> On Sep 19, 2011, at 12:48 PM, Mary Haley wrote:
>
> Thanks for providing the file. I was able to view it just fine under my
> Snow Leopard Mac, but that was expected.
>
> 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.
>
> It does sound like an X server issue.
>
> 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?
>
> Thanks,
>
> --Mary
>
> On Sep 19, 2011, at 8:52 AM, Junjun Mao wrote:
>
> Hi Mary,
>
>
> Attached is a multi-picture file a user forwarded to me. When I load it
> into idt and hit animate button I get
>
>
> mac_ idt gmetad.300
>
> X Error of failed request: BadMatch (invalid parameter attributes)
>
> Major opcode of failed request: 73 (X_GetImage)
>
> Serial number of failed request: 435
>
> Current serial number in output stream: 435
>
>
>
> If I use my Linux box to "ssh -Y" to his Mac OS X Lion, I can do the
> "animate" properly though.
>
>
> Junjun
>
>
> On 09/19/2011 10:48 AM, Mary Haley wrote:
>
> Junjun,
>
>
> Can you be more specific by what you mean by the "animate" function?
> What exactly are you running that causes the crash?
>
> Also, do you get any kind of warnings or errors?
>
>
> --Mary
>
>
> On Sep 19, 2011, at 8:46 AM, Junjun Mao wrote:
>
>
> The "animate" function of the pre-compiled binary of ncar on Mac OS X
>
> Lion crashes. I don't know if it is a X11 library computability problem
>
> or something missing in the installation.
>
>
> Reading instruction and notes for Mac at
>
> http://www.ncl.ucar.edu/Download/macosx.shtml I see a line:
>
>
> "If it echoes "10.7.x", then you should be able to use the above
> binary,
>
> but you may also need to install "gfortran" via MacPorts:
>
> sudo port install gcc45 +gfortran"
>
>
> So I suspected I have to use MacPort gcc and gfortran. However, the
>
> installed the installed gcc and gfortran are located under
>
> /opt/local/bin and named gcc-mp-4.5 and gfortran-mp-4.5 receptively.
>
>
> If I don't want to move everything (bin, include, library etc) to the
>
> system directory /usr/local, what should I do to tell ncar use the
>
> Macport compilers and libraries? Do I need to manually edit scripts
>
> ncargf90 and ncargcc?
>
>
> Junjun
>
>
> --
>
> Dr. Junjun Mao
>
> Research Associate and Systems Manager
>
> Levich Institute, City College of New York
>
> Email: jmao@ccny.cuny.edu
>
> Phone: 212-650-6845
>
> Fax: 212-650-6835
>
>
>
> _______________________________________________
>
> ncl-install mailing list
>
> List instructions, subscriber options, unsubscribe:
>
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>
>
>
> --
>
> Dr. Junjun Mao
>
> Research Associate and Systems Manager
>
> Levich Institute, City College of New York
>
> Email: jmao@ccny.cuny.edu
>
> Phone: 212-650-6845
>
> Fax: 212-650-6835
>
>
>
> <gmetad.300>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Tue Sep 20 00:47:35 2011

This archive was generated by hypermail 2.1.8 : Tue Sep 27 2011 - 15:15:37 MDT