Re: NCL6.1 and Mac 10.8 XQuartz issues

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Tue Dec 11 2012 - 14:41:55 MST

Hi Alan,

The fix was only applied to Mac binaries. The reason the fix works is not well understood (by me, at least), and it may have some performance issues associated with it -- that's not clear. Thus it was excluded from the other platforms as they don't seem to exhibit problems, when running locally at least.

While I don't want to spread the so-called fix widely, it might be possible to get you a linux binary with the fix applied as a one-off. Let me know...

Rick

On Dec 11, 2012, at 1:50 PM, Alan Brammer <abrammer@albany.edu> wrote:

> re kindling an old issue as I happened to find that it has been somewhat solved though I hadn't seen any update on the talk list.
>
> I noticed there is a solution on the mac install page for ncl running on the mac system using ncl.xq.fix. This is very useful and fixes the problems I was having if I run things locally. http://www.ncl.ucar.edu/Download/macosx.shtml
>
> Is there a similar fix for running ncl remotely with x11 forwarding, as the linux binaries I quickly tried don't seem to include this fix?
>
>
> Thanks.
>
> Alan.
>
>
>
>
>
> On Aug 6, 2012, at 11:59 AM, Mary Haley <haley@ucar.edu> wrote:
>
>> Hi Alan,
>>
>> Unfortunately, I don't think any of the NCL developers will be upgrading to MacOS 10.8 any time soon, but I've filed a ticket on this, NCL-1530, and I'll see if we can reproduce the problem under MacOS 10.7.
>>
>> We did change the X11 driver in V6.1.0-beta, so it could very likely be something in our code. I'm hoping we can get it fixed for V6.1.0.
>>
>> --Mary
>>
>> On Aug 6, 2012, at 9:05 AM, Alan Brammer wrote:
>>
>>> Yeah had to install XQuartz (and reinstalled it on Friday just to make sure), as the previous X11 supported by Apple is no longer supported with Mountain Lion and thus its all now under the XQuartz project heading for the future.
>>>
>>> I can't find a solution other than avoiding x11 plotting for now.
>>>
>>> Cheers,
>>>
>>> Alan.
>>>
>>> On Aug 6, 2012, at 10:44 AM, Mary Haley <haley@ucar.edu> wrote:
>>>
>>>> Alan,
>>>>
>>>> I should have mentioned earlier that we've never actually tested NCL with XQuartz explicitly, so it doesn't surprise me that there could be issues. We've always used Apple's default X11 server.
>>>>
>>>> I did google this issue, and read that every time you do a system update, that you need to reinstall XQuartz. Did you do this?
>>>>
>>>> http://hints.macworld.com/article.php?story=20120719101352282
>>>>
>>>> Let me know if you continue to have issues, and I'll file a ticket on this.
>>>>
>>>> --Mary
>>>>
>>>> On Aug 5, 2012, at 1:45 PM, Alan Brammer wrote:
>>>>
>>>>> Forgot to CC the list.
>>>>>
>>>>>>
>>>>>> Mary,
>>>>>> I did mean Mac OS 10.8 (Mountain Lion). I updated my NCL installation to the 10.7 binary albeit to no avail. This problem occurs when run locally and on a remote system, so I don't think its an installation issue, but rather some difference in how 6.1 talks to X11 compared to the older versions of NCL. May be that XQuartz has subtly changed something that had been updated in the latest release.
>>>>>>
>>>>>> Another user said they were experiencing similar issues, so hopefully its not just my own wrong doings.
>>>>>>
>>>>>> My DISPLAY variable is set to "/tmp/launch-IyDvMq/org.macosforge.xquartz:0"
>>>>>>
>>>>>> Alan.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Aug 3, 2012, at 10:25 AM, Mary Haley <haley@ucar.edu> wrote:
>>>>>>
>>>>>>> Hi Alan,
>>>>>>>
>>>>>>> I've never heard of this problem. When you say 10.8, I assume you mean MacOS? Which NCL binary are you using?
>>>>>>>
>>>>>>> If you are using a MacOS 10.6 binary, you might consider trying one of our 10.7 binaries, which we only have for NCL V6.1.0-beta.
>>>>>>>
>>>>>>> --Mary
>>>>>>>
>>>>>>> On Aug 2, 2012, at 1:00 PM, Alan Brammer wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>> I think this is more of an NCL issue rather than an XQuartz (X11) issue. I upgraded to 10.8 a few days ago (perhaps foolishly), since this upgrade when I plot to x11 within NCL I get a half drawn plot as below, this occurs with maps and plain contours, it seems that the first step is being plotted then it forgets to do the rest.
>>>>>>>> I thought maybe it was a XQuartz issue but ncl 6.0 plots fine which leads me to think its 6.1 and Xquartz or also likely my installation of 6.1 though the same issue is occurring when run from a remote linux machine and run locally on my mac.
>>>>>>>>
>>>>>>>> All other plot types are fine, just x11 has issues.
>>>>>>>>
>>>>>>>> Anyone else having this issue? Anyone know a work around, other than my current work around of plotting to another type and viewing that?
>>>>>>>>
>>>>>>>> Hope this makes sense.
>>>>>>>>
>>>>>>>>
>>>>>>>> Many Thanks,
>>>>>>>> Alan.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> example script:
>>>>>>>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>>>>>>>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>>>>>>>> wks = gsn_open_wks("x11","test")
>>>>>>>> plot = gsn_csm_map(wks, False)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> <Screen Shot 2012-08-02 at 1.52.50 PM.png>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -------------------------------------
>>>>>>>> Alan Brammer,
>>>>>>>> PhD Student
>>>>>>>>
>>>>>>>> Department of Atmospheric and Environmental Sciences, University at
>>>>>>>> Albany, SUNY, Albany, NY, 12222
>>>>>>>>
>>>>>>>> -------------------------------------
>>>>>>>> _______________________________________________
>>>>>>>> ncl-talk mailing list
>>>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ncl-talk mailing list
>>>>> List instructions, subscriber options, unsubscribe:
>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>>
>>
>>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 12 06:42:05 2012

This archive was generated by hypermail 2.1.8 : Wed Dec 12 2012 - 19:07:01 MST