[ncl-install] Fwd: GKS ERROR NUMBER -208 ?

David Brown dbrown at ucar.edu
Fri Sep 5 12:54:31 MDT 2014


Hi Octavia,

In order to draw to an X11 window on a Mac you need to download, install,
and run XQuartz. You can get it at http://xquartz.macosforge.org/landing/.

You can also try to draw to a PostScript or PDF file instead of to an X11
window by using the -W option to ng4ex. In testing I find that gsun01n is
only enabled for X11, but you can try other examples, e.g.:

ng4ex -W pdf cn01n -clean

 -dave



On Fri, Sep 5, 2014 at 12:32 PM, Octavia V. Crompton <octavia at berkeley.edu>
wrote:

> Hello,
>
> I'm trying to install NCL Version 6.2.0 and testing the installation
> with the command   'ng4ex gsun01n -clean'.  I'm getting the following
> errors:
>
>  GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :
>  --X driver error: DISPLAY environment variable not set
>  GKS ERROR NUMBER   25 ISSUED FROM SUBROUTINE GESC  :
>  --SPECIFIED WORKSTATION IS NOT OPEN
> fatal:Workstation with PID#8 is not open
> fatal:Unable to open Workstation-Can't Create
> fatal:Unable to access object with id:-4
> fatal:_NhlCreate:Invalid Parent id #-4
> fatal:NhlGetValues:PID #-4 is invalid
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 12075
> in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> fatal:["Execute.c":8565]:Execute: Error occurred at or near line 12
> Finished running 'ncl < gsun01n'...
>
> I have a MAC OSX, version 10.9.3.  How might I fix this?
>
> Thanks,
> Octavia
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20140905/b242bd27/attachment.html 


More information about the ncl-install mailing list