<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Lixu,<div class=""><br class=""></div><div class="">I believe that error message occurs if the $DISPLAY environment variable is not set or if there is no X11 display server available.</div><div class=""><br class=""></div><div class="">Could you please try running the command “echo $DISPLAY”?</div><div class=""><br class=""></div><div class="">Which OS are you running? If you are on a Mac, you may need to install XQuartz.</div><div class=""><br class=""></div><div class="">Are you trying to run NCL on a remote server that you connected to using SSH? If so, you will need to pass the “-Y” flag to your ssh command to allow the remote server to interact with your local X11 display server.</div><div class=""><br class=""></div><div class="">Also, if you do not need to display output to an X11 window (i.e. you’re not creating any graphics at all or you’re generating PNG/JPG/etc files as output), then other NCL scripts might run without needing to worry about this issue. For example, you can try running “ng4ex xy04n -clean -W png” to have the same test script generate a PNG file (named “xy04n.png”) instead of NCL trying to display to an X11 window.</div><div class=""><br class=""></div><div class="">I hope this helps,</div><div class="">Kevin<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 12, 2018, at 7:08 PM, ? ?? via ncl-install <<a href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">Dear Sir/Madam</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">I have successfully install the NCL. However, when I test it, I met some probelms.</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">If you could  give me some instruction in how to solve the following errors given blow, it would be great.</span></div><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;"><span lang="EN-US" class="">                                                                                                                                        </span></p><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">                                                                                                                                     Regards</span></div><div style="border-style: none none solid; border-bottom-width: 1pt; border-bottom-color: windowtext; padding: 0cm 0cm 1pt;" class=""><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian; border: none; padding: 0cm;" class=""><span lang="EN-US" class="">                                                                                                                                     Lixu Jin</span></div></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:Workstation with PID#8 is not open</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:Unable to open Workstation-Can't Create</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:Unable to access object with id:-4</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:_NhlCreate:Invalid Parent id #-4</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:NhlDraw: Invalid Layer Id: -4</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:Unable to update Workstation with PID#-4</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:Unable to clear Workstation with PID#-4</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class="">fatal:["Execute.c":8637]:Execute: Error occurred at or near line 158 in file xy04n.ncl</span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">ncl-install mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">List instructions, subscriber options, unsubscribe:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a></div></blockquote></div><br class=""></div></body></html>