<div dir="ltr"><div>Hi,</div><div><br></div><div>That error is occurring at the lowest levels of the graphics subsystem. It is hard to see how this error could happen by simply opening a workstation, but it indicates something is misaligned or corrupt somewhere. I think a conda install would be your best bet, or if you want to avoid the overhead of a miniconda environment, perhaps one of the pre-compiled binarys:</div><div><br></div><div><a href="http://ncl.ucar.edu/Download/install_from_binary.shtml">http://ncl.ucar.edu/Download/install_from_binary.shtml</a></div><div><br></div><div>Rick<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 1, 2021 at 1:37 AM Michele Petrini - CITG via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
<span style="color:rgb(0,0,0)">Dear helpdesk,</span>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">I recently had to reinstall ncl and I decided to give it a try using Homebrew (release version 6.6.2).</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">It works fine on test scripts doing simple calculations, bur now that I’m trying to plot I get a very strange error I couldn’t find online.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Below you can see that I get running my script with -x </div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">+ </span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">+ wtype          = "png"</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">+ wtype@wkWidth  = 1000</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">+ wtype@wkHeight = 3000</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">+ plotname1="co2"</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">+ wks1 = gsn_open_wks(wtype,plotname1)</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures"> GKS ERROR NUMBER  182 ISSUED FROM SUBROUTINE GESC  :</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">At line 46 of file gerlog.f (unit = 6, file = 'stdout')</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(255,182,0)">
<span style="font-variant-ligatures:no-common-ligatures">Fortran runtime error: Unexpected element '(A</span></div>
</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Do you have any idea why this happen? I can always reinstall ncl using conda, but I’d like to know if there is an easy fix to this.</div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">Thanks!</div>
<div style="color:rgb(0,0,0)">Michele   </div>
<div style="color:rgb(0,0,0)"><br>
</div>
<div style="color:rgb(0,0,0)">
<div>
<div dir="auto" style="overflow-wrap: break-word;">
<div dir="auto" style="overflow-wrap: break-word;">
<div>******************************************************************<br>
Michele Petrini, PhD </div>
<div><br>
Department of Geoscience and Remote Sensing, TUDelft<br>
Delft, The Netherlands<br>
<br>
<a href="mailto:M.Petrini@tudelft.nl" target="_blank">M.Petrini@tudelft.nl</a> </div>
<div><br>
+39 3398367372<br>
michele.petrins (Skype alias)</div>
</div>
</div>
</div>
</div>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="overflow-wrap: break-word;">
<div style="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">
<br>
</div>
<div style="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">
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>

_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>