<div dir="ltr"><div class="gmail_default" style="font-size:small">Octavia,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The error message:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"> --X driver error: DISPLAY environment variable not set</span><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">is telling you that you are trying to run an application that wants to display to your window via an X server, but you apparently don't have the required DISPLAY environment variable set.</span></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">This is not an NCL or NCAR Graphics issue, but rather an issue with your environment.</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">I assume you are running the command on the same system that you are trying to display it to? If so, then your Mac should be setting this environment variable for you.</span><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br></span></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px"><br></span></div><div class="gmail_default"><font face="arial, sans-serif">First, make sure you have XQuartz version 2.7.5 or later. You can use the spotlight finder to search for "XQuartz". Click on this, and then select the "X11->About X11" to see the version. Mine is actually on version 2.7.7.</font></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:arial,sans-serif;font-size:12.8000001907349px">Second, make sure you are not setting DISPLAY yourself. You can do this by searching for the word "DISPLAY" in any of the files that start with a "." in your home directory. On the UNIX command line, type:</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><font face="arial, sans-serif">grep DISPLAY ~/.*</font></div><div class="gmail_default"><font face="arial, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, sans-serif">The above command should not result in any matches! If you see something like:</font></div><div class="gmail_default"><font face="arial, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, sans-serif">/Users/octavia/.cshrc:setenv DISPLAY :0.0<br></font></div><div class="gmail_default"><font face="arial, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, sans-serif">Then you need to edit the "</font><span style="font-family:arial,sans-serif">/Users/octavia/.cshrc" file and either remove this line, or comment it out by putting a "#: in front of it:</span></div><div class="gmail_default"><span style="font-family:arial,sans-serif"><br></span></div><div class="gmail_default"><span style="font-family:arial,sans-serif">#</span><span style="font-family:arial,sans-serif">setenv DISPLAY :0.0</span></div><div class="gmail_default"><span style="font-family:arial,sans-serif"><br></span></div><div class="gmail_default"><font face="arial, sans-serif">Once you save the file, log out and log back in and try the commands again.</font></div><div class="gmail_default"><br></div><div class="gmail_default"><font face="arial, sans-serif">--Mary</font></div><div class="gmail_default"><font face="arial, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, sans-serif"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 12:32 PM, Octavia V. Crompton <span dir="ltr"><<a href="mailto:octavia@berkeley.edu" target="_blank">octavia@berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm trying to install NCL Version 6.2.0 and testing the installation<br>
with the command 'ng4ex gsun01n -clean'. I'm getting the following<br>
errors:<br>
<br>
GKS ERROR NUMBER -208 ISSUED FROM SUBROUTINE GOPWK :<br>
--X driver error: DISPLAY environment variable not set<br>
GKS ERROR NUMBER 25 ISSUED FROM SUBROUTINE GESC :<br>
--SPECIFIED WORKSTATION IS NOT OPEN<br>
fatal:Workstation with PID#8 is not open<br>
fatal:Unable to open Workstation-Can't Create<br>
fatal:Unable to access object with id:-4<br>
fatal:_NhlCreate:Invalid Parent id #-4<br>
fatal:NhlGetValues:PID #-4 is invalid<br>
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 12075<br>
in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl<br>
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 12<br>
Finished running 'ncl < gsun01n'...<br>
<br>
I have a MAC OSX, version 10.9.3. How might I fix this?<br>
<br>
Thanks,<br>
Octavia<br>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
</blockquote></div><br></div>