<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Yes, I agree. &nbsp;I recommend using shell scripts that feed NCL the specifics. &nbsp;For example, I have scripts that will submit 100s of ncl routines that are executed on individual processors on a cluster. &nbsp;This aides you in a couple of ways: 1) you have short NCL scripts, which reduce programming time, 2) they are less likely to have errors script errors, and 3) you speed up your throughput dramatically.<div><br></div><div>-Jonathan</div><div><br></div><div><br><div><div>On Oct 13, 2014, at 2:22 PM, Colin Zarzycki &lt;<a href="mailto:zarzycki@umich.edu">zarzycki@umich.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">It's worth pointing out that for some applications, you can write shell scripts which can pseudo-parallelize NCL by running multiple instances (which are in serial) alongside one another.<div><br></div><div>Ex: If you have a high-resolution file which contains 20 time records and you would like to use NCL to calculate vorticity from U/V for each of the 20 time records, you could spawn 20 instances of NCL which each operate on 1 of the time records. Then concatenate the output in serial after each of the 20 jobs finishes. This will be much faster than reading the entire dataset into a single instance of NCL.</div><div><br></div><div>I have found this technique highly useful when processing very large datasets (or large numbers of files).</div><div><br></div><div>-Colin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 12, 2014 at 9:29 PM, 杨玉华 <span dir="ltr">&lt;<a href="mailto:yangyh@mail.typhoon.gov.cn" target="_blank">yangyh@mail.typhoon.gov.cn</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>






<div>
<div><div align="left">Dear Kyle Griffin,
<p>Thanks for your great&nbsp;information.</p><p>Yuhua</p><div>&nbsp;<br class="webkit-block-placeholder"></div><div>&nbsp;<br class="webkit-block-placeholder"></div><strong>您于 Sun, 12 Oct 2014 22:03:49 -0500 的来信中写到: </strong><br><br></div><div><div class="h5">


<div>
<div dir="ltr">There is the ParVis project, based on being able to run a select few (but crucial) functions from NCL on multiple processors: 
<div><br></div>
<div><a href="http://trac.mcs.anl.gov/projects/parvis/wiki" target="_blank">http://trac.mcs.anl.gov/projects/parvis/wiki</a><br></div>
<div><br></div>
<div>Unfortunately, the only binaries provided are for system types not widely used in the atmospheric science community (as far as I'm aware) and the build instructions aren't particularly detailed. As such, I've never gotten the ncl included in the ParVis project to work. There is a separate mailing list for the discussion, should you have any problems and/or success with the software. Beyond this, though, I'm not aware of any other efforts to parallelize NCL.</div>
<div><br></div>
<div><br></div>
<div>Kyle</div></div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">---------------------------------------- 
<div>Kyle S. Griffin</div>
<div>Department of Atmospheric and Oceanic Sciences</div>
<div>University of Wisconsin - Madison</div>
<div>Room 1421</div>
<div>1225 W Dayton St, Madison, WI 53706</div>
<div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div><br>
<div class="gmail_quote">2014-10-12 21:56 GMT-05:00 杨玉华 <span dir="ltr">&lt;<a href="mailto:yangyh@mail.typhoon.gov.cn" target="_blank">yangyh@mail.typhoon.gov.cn</a>&gt;</span>:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><u></u>
<div>
<div><div style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><font size="3" face="Calibri">Hi all,</font></span></div><div style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><font size="3" face="Calibri">Is there a way to run NCL on multiple processors?</font></span></div><div style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><font size="3" face="Calibri">Thanks,</font></span></div><div style="margin: 0cm 0cm 0pt;"><span lang="EN-US"><font size="3" face="Calibri">Yuhua</font></span></div></div><br>===================== <br>名称: 中国气象局上海台风研究所 <br>地址: 中国上海市徐汇区蒲西路166号 <br>电话:<a href="tel:%EF%BC%88%EF%BC%8B86%EF%BC%89021-64391966" value="+862164391966" target="_blank">(+86)021-64391966</a> <br>传真:<a href="tel:%EF%BC%88%EF%BC%8B86%EF%BC%89021-64391966" value="+862164391966" target="_blank">(+86)021-64391966</a> <br>============================ </div><br>_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br><br></blockquote></div><br></div></div></div></div></div><div><div class="h5">
<br>
=====================
<br>
名称: 中国气象局上海台风研究所
<br>
地址: 中国上海市徐汇区蒲西路166号
<br>
电话:<a href="tel:%EF%BC%88%EF%BC%8B86%EF%BC%89021-64391966" value="+862164391966" target="_blank">(+86)021-64391966</a>
<br>
传真:<a href="tel:%EF%BC%88%EF%BC%8B86%EF%BC%89021-64391966" value="+862164391966" target="_blank">(+86)021-64391966</a>
<br>
============================
</div></div></div>

<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br clear="all"><div><br></div>-- <br></a><div dir="ltr"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank"><div dir="ltr" style="font-family:arial;font-size:small">Colin M. Zarzycki, ASP postdoctoral fellow</div></a><div dir="ltr" style="font-family:arial;font-size:small"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">Atmospheric Modeling and Predictability<br>National Center for Atmospheric Research<br></a><a href="http://www.colinzarzycki.com/" style="color:rgb(17,85,204)" target="_blank">http://www.colinzarzycki.com</a></div></div>
</blockquote></div></div>
_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></blockquote></div><br></div></body></html>