<div dir="ltr">Zhifeng,<div><br></div><div>Please include the ncl-talk address in all replies.<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 3, 2015 at 3:57 PM, Zhifeng Yang <span dir="ltr"><<a href="mailto:yangzf01@gmail.com" target="_blank">yangzf01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Dave,<br></div>What's the meaning of running multiple NCL processes?<br></div></div></div></div></blockquote><div><br></div><div>Start several copies of NCL running in the background, from your shell command window, or from a shell script. Or you can use the NCL "system" command to start background processes directly from an NCL main program.</div><div><br></div><div>You run a process in the background by putting an ampersand "&" at the end of the command line, at least on Linux and Unix-like systems. See your shell documentation. For example:</div><div><br></div><div> ncl plot.ncl var=\"precip\" time=6 &</div><div><div> ncl plot.ncl var=\"temp\" time=6 &</div></div><div><div> ncl plot.ncl var=\"uwind\" time=6 &</div></div><div><div> ncl plot.ncl var=\"vwind\" time=6 &</div></div><div><br></div><div>In this example, the variables "var" and "time" would tell each copy of the program which variable and which time step to plot.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>Actually, the reason that I need to open more than 15 workstations is plotting more than 15 variables at the same time and each variable has tons of images. I need to distinguish the plot names based on variable names.<br></div></div></div></div></blockquote><div><br></div><div>Multiple background processes will do this. As you said, each process can have up to 15 workstations open. That means 15 X11 windows open, each displaying one plot, all on the same computer desktop.</div><div><br></div><div>Actually, it would be simpler to open only one workstation and make one plot from each process, and just have a lot of separate NCL processes running at the same time.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Do you know any hint on how to investigate the internals of NCL and support libs?<br></div></div></div></blockquote><div><br></div><div>NCL and most of its support libraries are open source software. That means you can find and download free copies of the source code, and study how they works. Please see the NCL info pages on downloading and installation, for more details.</div><div><br></div><div>--Dave</div><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 3, 2015 at 5:45 PM, Dave Allured - NOAA Affiliate <span dir="ltr"><<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Zhifeng,<div><br></div><div>The easiest way would be to run multiple NCL processes at the same time. Otherwise you are probably into investigating the internals of NCL and support libraries.</div><div><br></div><div>Depending on what you are trying to do, you might need to have one master NCL program tell multiple slave processes what to display. HTH.</div><span><font color="#888888"><div><br></div><div>--Dave</div></font></span><div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 3, 2015 at 3:35 PM, Zhifeng Yang <<a href="mailto:yangzf01@gmail.com" target="_blank">yangzf01@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi<br><div>I intend to open more than 15 workstations at one time (likely 100 workstations). However, when I open more than 15 workstations, I got the following error.<br><br>fatal:WorkstationInitialize: Limit reached for number of simultaneous GKS Workstations<br>fatal:Unable to initialize layer-Can't Create<br><br></div><div>And I find the following statement in the description of function gsn_open_wks.<br>"You can have up to fifteen PostScript workstations open at one time,
but you can only have one NCGM or PDF workstation open at one time."<br><br></div><div>Is there any way to open more than 15 workstations at one time?<br><br></div><div>Thank you<span><font color="#888888"><br></font></span></div>Zhifeng</div></blockquote></div></div></div></div></div>
</blockquote></div><br></div>
</blockquote></div></div></div></div>