<div dir="ltr"><div>OK, that's interesting. Ultimately it would be the cairographics (libcairo) that's responsible for drawing to the "ps" workstation. Fixing the problem is likely to be rather tricky:</div><div><br></div><div>i) its hard to see how a simple kernel upgrade could have affected anything; was it perhaps a complete Linux OS upgrade (which would likely install newer versions of libraries and other software)?<br></div><div>ii) is your NCL binary dynamically linked against cairo? try:</div><div> ldd `which ncl`</div><div>and look to see *if* cairo is showing up in the list, and note where it is coming from.</div><div>iii) its also hard to imagine the cairo library would be built without PS support -- its possible, but one has to be very deliberate. But this is all I can think of that might be the source of the problem. I should think NCL would give you a meaningful error message, but...? If cairo is dynamically liked, you could possibly build it yourself (it requires building pixman too), put it is a directory in your own workspace, and setting this environment variable to force the system to look at that location first:</div><div><br></div><div> export LD_LIBRARY_PATH=/....your-cairo-dir:$LD_LIBRARY_PATH</div><div><br></div><div>That seems like a lot of work, and I'm not certain it would fix the problem (maybe your sysadmin could do this)</div><div><br></div><div>If you can live with the oldps driver, you can set this environment variable that will override the "ps" workstation with "oldps". Note that oldps does not support translucent colors and is possibly limited to 256 colors (I can't recall)<br></div><div><br></div><div> export NCARG_OLD_PS=true</div><div><br></div><div>Hope that helps and good luck!</div><div><br></div><div>Rick</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 31, 2019 at 7:10 AM 朱学明 <<a href="mailto:557xiaozhu@163.com">557xiaozhu@163.com</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"><u></u>
<div style="border-width:0px;font-size:10.5pt;font-family:微软雅黑;color:rgb(0,0,0);margin:12px;line-height:1.5">
<div>Dear Rick, </div>
<div> Thanks for your kindly answer.</div>
<div> I have tried with "oldps". It works well. In this
case, how should I fix my "ps" case's problem, please? Do you know which library
should lead to this problem?</div>
<div> </div>
<div> Thanks.</div>
<div> </div>
<div style="font-size:10pt;font-family:Verdana;color:rgb(192,192,192)" align="left">2019-08-31
<hr id="gmail-m_-5122289181686143622SignNameHR" style="border-color:rgb(192,192,192) currentcolor currentcolor;border-style:solid none none;border-width:1px 0px 0px;height:1px;width:122px" align="left">
<span id="gmail-m_-5122289181686143622_FlashSignName">
<u></u>
<div>
<u></u>
<div>
<div>
<div><font face="Times New Roman">Xueming Zhu 朱学明<br>Key Laboratory of Research
on Marine Hazards Forecasting (LoMF), SOA<br>National Marine Environmental
Forecasting Center (NMEFC)<br>No.8, Dahuisi Road, Haidian District, Beijing,
100081<br>People's Republic of
China<br>Tel:+86-10-82481923</font></div></div></div><u></u></div><u></u></span></div>
<hr style="border-color:rgb(192,192,192) currentcolor currentcolor;border-style:solid none none;border-width:1px 0px 0px;height:1px">
<blockquote id="gmail-m_-5122289181686143622ntes-flashmail-quote" style="font-size:10pt;font-family:Verdana;padding-left:0px;margin-left:0px">
<div><strong>发件人:</strong>Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></div>
<div><strong>发送时间:</strong>2019-08-30 11:33</div>
<div><strong>主题:</strong>Re: [ncl-talk] ps figure can not work</div>
<div><strong>收件人:</strong>"朱学明"<<a href="mailto:557xiaozhu@163.com" target="_blank">557xiaozhu@163.com</a>></div>
<div><strong>抄送:</strong>"<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>
USERS"<<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>></div>
<div> </div>
<div>
<div dir="ltr">
<div>Hi,</div>
<div><br></div>
<div>I do not have a good explanation as to why that is happening. But I
wonder if you would try an experiment with me -- in the gsn_open_wks()
statement, try using "oldps" instead of just "ps", and let me know
happens. "oldps" (an unfortunate name that I'm responsible for) refers
to the legacy postscript driver, vs. the current default drivers based upon
cairographics. Postscript support is optional in cairographics, but one
has to go to lengths to disable it. I can't think of any other explanation
however...</div>
<div><br></div>
<div>Rick</div>
<div><br></div></div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Thu, Aug 29, 2019 at 8:28 PM 朱学明 via ncl-talk
<<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>>
wrote:<br></div>
<blockquote class="gmail_quote" style="padding-left:1ex;border-left:1px solid rgb(204,204,204);margin:0px 0px 0px 0.8ex"><u></u>
<div style="border-width:0px;font-size:10.5pt;font-family:微软雅黑;color:rgb(0,0,0);margin:12px;line-height:1.5">
<div>Dear all,</div>
<div> </div>
<div> I am trying to use NCL V6.5.0
on the computer nodes of our super-computer. It can work when I set the
figure type as "png" or "pdf". But it can not work with "ps". It can
output a zero size file named "<a href="http://aaa.ps" target="_blank">aaa.ps</a>", and without any error message. However,
the same script can work well on the login node with any figure type, "ps",
"png", "pdf". </div>
<div> Initially, it also can work well
with "ps" type on the computer node in May. It is side that the
super-computer administrator had upgraded the kernel of Linux system in
June. </div>
<div></div>
<div> Anybody can give me any suggestion
how to fix my problem? Or which software maybe changed when upgrading the
Linux system, then affecting the generation of the figure of
"ps" type?</div>
<div> </div>
<div> Thanks and
regards. </div><u></u>
<div> </div>
<div> </div>
<div style="font-size:10pt;font-family:Verdana;color:rgb(192,192,192)">
<div align="left">2019-08-30</div>
<hr id="gmail-m_-5122289181686143622gmail-m_-8324741286211380565SignNameHR" style="border-color:rgb(192,192,192) currentcolor currentcolor;border-style:solid none none;border-width:1px 0px 0px;height:1px;width:122px" align="left">
<span id="gmail-m_-5122289181686143622gmail-m_-8324741286211380565_FlashSignName"><u></u>
<div><u></u>
<div>
<div>
<div><font face="Times New Roman">Xueming Zhu 朱学明<br>Key Laboratory of
Research on Marine Hazards Forecasting (LoMF), SOA<br>National Marine
Environmental Forecasting Center (NMEFC)<br>No.8, Dahuisi Road, Haidian
District, Beijing, 100081<br>People's Republic of
China<br>Tel:+86-10-82481923</font></div></div></div><u></u></div><u></u></span></div><u></u></div>_______________________________________________<br>ncl-talk
mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>List instructions, subscriber
options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div></blockquote></div></blockquote></div>