[ncl-install] nacrg on Mac OS X Lion

Mary Haley haley at ucar.edu
Mon Sep 19 10:48:06 MDT 2011


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 at 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 at ccny.cuny.edu
> Phone: 212-650-6845
> Fax: 212-650-6835
> 
> 
> <gmetad.300>



More information about the ncl-install mailing list