[ncl-talk] NCL installation

Anahita Amiri Farahani aamir003 at ucr.edu
Fri Oct 12 11:30:31 MDT 2018


Dear Mary,

Yes I installed the X11 and when I typed xclock, I have a black X with an
orange circle around it in my MacOS dock and an analog clock opens on the
monitor.
This time when I run ng4ex xy01n -clean I have this:

\

NCAR Graphics NCL Example <xy01n>


  Copying xy01n.ncl

  Copying xy01.res


Running NCL...

 Copyright (C) 1995-2018 - All Rights Reserved

 University Corporation for Atmospheric Research

 NCAR Command Language Version 6.5.0

 The use of this software is governed by a License Agreement.

 See http://www.ncl.ucar.edu/ for more details.



And nothing happens after that it takes forever and have to stop it.


Thanks,

Ana


On Fri, Oct 12, 2018 at 7:27 AM Mary Haley <haley at ucar.edu> wrote:

> Ana,
>
> Did you install XQuartz after you downloaded the dmg file? It's not enough
> to just download the dmg file. You need to click on it in order to do the
> installation.
>
> Once XQuartz is running you should see a black X with an orange circle
> around it in your MacOS dock.
>
> What happens if you type "xclock" from the same Terminal window when you
> run "ng4ex"? If you get a message, please include that message.
>
> DISPLAY should be getting set for you, so I'm wondering if something in
> your environment is causing DISPLAY to get unset, either by one of the
> ".xxxxx" files in your home directory or some other method.
>
> Finally, have you tried rebooting your Mac and logging back in?
>
> --Mary
>
>
>
> On Wed, Oct 10, 2018 at 10:13 PM, Anahita Amiri Farahani <aamir003 at ucr.edu
> > wrote:
>
>> Dear Mary,
>>
>> Yes, I opened a terminal and typed: ng4ex xy01n -clean
>>
>> I have the latest version: 10.13.6
>>
>> echo $SHELL: /bin/bash
>>
>> echo $DISPLAY does not show anything
>>
>> I downloaded XQuartz-2.7.11.dmg
>> <https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg>
>>
>> Thanks,
>> Ana
>>
>> On Wed, Oct 10, 2018 at 7:40 PM Mary Haley <haley at ucar.edu> wrote:
>>
>>> Ana,
>>>
>>> As Dave pointed out, you shouldn't need to set DISPLAY at all. There
>>> must be something fundamentally wrong. How exactly are you trying to run
>>> the "ng4ex" command? For example, are you opening a Terminal window and
>>> then typing the "ng4ex" command from that window?
>>>
>>> What happens if you run other X11 programs like "xeyes" or "xclock"?
>>>
>>> What version of MacOS do you have? If you don't know, then you can open
>>> a Terminal window and type this:
>>>
>>> sw_vers -productVersion
>>>
>>> From the same window, please type the following and let us know what it
>>> says:
>>>
>>> echo $SHELL
>>> echo $DISPLAY
>>>
>>> Also, when you run XQuartz, what version does it say you have? You can
>>> get this information by running "xquartz", and then clicking on "XQuartz"
>>> in the upper left window and then "About X11".
>>>
>>> Sorry about all the questions. It helps us to debug what might be going
>>> on.
>>>
>>> Thanks,
>>>
>>> --Mary
>>>
>>>
>>> On Wed, Oct 10, 2018 at 7:27 PM, Anahita Amiri Farahani <
>>> aamir003 at ucr.edu> wrote:
>>>
>>>> Yes, for the first step I installed XQuartz.
>>>>
>>>> On Wed, Oct 10, 2018 at 6:25 PM Rick Brownrigg <brownrig at ucar.edu>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Did you explicitly install XQuartz? -- modern Macs don't come with an
>>>>> X11 environment preinstalled. That said, I can't recall just how problems
>>>>> manifest if XQuartz is not present -- I don't remember if its that error
>>>>> message or not.  If you have installed it, then let me know -- I look to
>>>>> see where this message originates.
>>>>>
>>>>>     https://www.xquartz.org/index.html
>>>>>
>>>>> Rick
>>>>>
>>>>>
>>>>> On Wed, Oct 10, 2018 at 7:16 PM Rick Brownrigg <brownrig at ucar.edu>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Oct 10, 2018 at 6:52 PM Anahita Amiri Farahani <
>>>>>> aamir003 at ucr.edu> wrote:
>>>>>>
>>>>>>> I removed  all the "export DISPLAY" lines, and echo $DISPLAY does
>>>>>>> not show anything.
>>>>>>> this  one: ng4ex xy05n -clean -W png works but when I try to test
>>>>>>> this one: ng4ex xy01n -clean I get the error. And I have not
>>>>>>> installed NETCDF.
>>>>>>>
>>>>>>> On Wed, Oct 10, 2018 at 4:55 PM Dave Allured - NOAA Affiliate <
>>>>>>> dave.allured at noaa.gov> wrote:
>>>>>>>
>>>>>>>> Mac OS should be setting DISPLAY automatically when you open a new
>>>>>>>> terminal window.  It looks like you might be overwriting the valid
>>>>>>>> setting.  Try removing all the "export DISPLAY" lines, then open a new
>>>>>>>> terminal window and see if that helps.  "echo $DISPLAY" to see the default
>>>>>>>> setting, if any.
>>>>>>>>
>>>>>>>> --Dave
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Oct 10, 2018 at 5:21 PM, Anahita Amiri Farahani <
>>>>>>>> aamir003 at ucr.edu> wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I tried to install NCL 6.5.0 on my Mac computer and test it but I
>>>>>>>>> got this error:
>>>>>>>>>
>>>>>>>>> GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :
>>>>>>>>>
>>>>>>>>>  --X driver error: DISPLAY environment variable not set
>>>>>>>>> In the .bash_profile I put this:
>>>>>>>>>
>>>>>>>>> export DISPLAY=:0.0
>>>>>>>>>
>>>>>>>>> #export DISPLAY=128.117.14.12:0
>>>>>>>>>
>>>>>>>>> export DISPLAY=localhost:13.0
>>>>>>>>> Could you please help me?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Ana
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>> ncl-talk mailing list
>>>>>>> ncl-talk at ucar.edu
>>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>>>
>>>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181012/b2c859ac/attachment.html>


More information about the ncl-talk mailing list