<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Vivek,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Could you send us a tarball of the runNNN folder from a failed run please ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">-Yadu </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 20, 2014 at 10:20 PM, Vivek Pabani <span dir="ltr"><<a href="mailto:vpabani@hawk.iit.edu" target="_blank">vpabani@hawk.iit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"></blockquote><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">Hello,</span><br><font face="arial, sans-serif"><br></font><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">For a word count program, I need to run one bash script locally - on headnode, and one python script on the all the worker nodes. Could you please tell me how do I specify which part of swift program should be run on headnode, and which part on workers node?</span><br><font face="arial, sans-serif"><br></font><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">As of now, I have made following changes in the swift.conf file :</span><br><font face="arial, sans-serif"><br></font><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">------------------------------</span><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">------------------------------</span><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">------</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">sites: [local,cloud-static] //This seems to have problem, because I get error that python_remote cannot be found on Host : local.</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"><br></span><div><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">site.local {</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> filesystem {</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> <same lines as p5.swift program's swift.config></span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> app.bash_local {</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> executable: "/bin/bash"</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> }</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">}</span><div><font face="arial, sans-serif"><br></font><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">site.cloud-static {</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> execution {</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> <same lines as p5.swift program's swift.config></span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> app.python_remote {</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> executable: "/usr/bin/python"</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px"> } </span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">}</span><br><font face="arial, sans-serif"><br></font><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">------------------------------</span><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">------------------------------</span><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">--------------------------</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">My swift program uses only two executable : bash_local, and python_remote. When I run this, I get error :</span><br><span style="font-family:arial,sans-serif;font-size:12.7272720336914px">Caused by: Cannot find executable python_remote on site system path.</span><br><font face="arial, sans-serif"><br></font><span style="font-size:12.7272720336914px;font-family:arial,sans-serif">Please let me know what should be the correct config changes. </span><br><span style="font-size:12.7272720336914px;font-family:arial,sans-serif">Thanks,</span><br><div style="font-family:arial,sans-serif;font-size:12.7272720336914px"><p>Vivek</p></div><div style="font-family:arial,sans-serif;font-size:12.7272720336914px"><p></p><p></p><p></p></div></div></div></div>
<br>_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Yadu Nand B<div><br></div></div>
</div>