<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">BTW I've just checked.<div class=""><br class=""></div><div class="">6.5 is going to be the next release. The stable one is 6.4. now. You could ask some of the devs to send you the subprocess part of the source code to include it into your source.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 6. Apr 2018, at 12:22, Guido Cioni <<a href="mailto:guidocioni@gmail.com" class="">guidocioni@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Do you have NCL 6.5.? This function is only available there. </div><div class=""><br class=""></div><div class="">You can still use the "old" method that exploits Python. It works pretty well and you don't necessarily need to have a NCL "driver" script.</div><div class=""><br class=""></div><div class="">That's how I've modified task_parallelism_2.py</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class="">def launchTask(script):</font></div><div class=""><b class=""><font face="Menlo" class="">    task = subprocess.Popen("ncl " + script, shell=True, executable="/bin/bash") </font></b></div><div class=""><font face="Menlo" class="">    return task</font></div></div><div class=""><br class=""></div><div class="">and then simply launch it from bash as </div><div class=""><br class=""></div><div class=""><font face="Menlo" class="">python task_parallelism.py plot_pres_t2m_winds10m.ncl plot_gph_t_850.ncl</font></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">BTW to the devs, the link <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/subprocess.shtml" class="">https://www.ncl.ucar.edu/Document/Functions/Built-in/subprocess.shtml</a> is broken. </div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 6. Apr 2018, at 12:01, Seyed Omid Nabavi <<a href="mailto:seyed.omid.nabavi@univie.ac.at" class="">seyed.omid.nabavi@univie.ac.at</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear NCL users,<br class="">I am trying to build a parallel task using<br class=""><a href="https://www.ncl.ucar.edu/Applications/task_parallelism.shtml" class="">https://www.ncl.ucar.edu/Applications/task_parallelism.shtml</a>. But I<br class="">receive the following error.<br class="">fatal: Undefined identifier: (subprocess) is undefined, can't continue.<br class="">Should I load any library for that?<br class="">Best regards,<br class=""><br class="">-- <br class="">Dr. Seyed Omid Nabavi;<br class="">University of Vienna,<br class="">Faculty of Earth Sciences, Geography and Astronomy<br class="">UZA II Althanstrasse 14 A-1010 Vienna<br class="">_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="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;" class=""><br class="Apple-interchange-newline">Guido Cioni</div><div style="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;" class=""><a href="http://guidocioni.altervista/" class="">http://guidocioni.altervista</a>.org</div>

</div>
<br class=""></div></div></div></blockquote></div><br class=""><div class="">
<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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Guido Cioni</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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://guidocioni.altervista" class="">http://guidocioni.altervista</a>.org</div>

</div>
<br class=""></div></body></html>