<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">On Wed, Nov 30, 2016 at 9:03 AM, Ioannis Botsis <<a href="mailto:ibotsis@isc.tuc.gr" target="_blank">ibotsis@isc.tuc.gr</a>> wrote:</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><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">Hello there,<br>
<br>
I currently initiate ipcluster using PBS mode. In<br>
<br>
c.BatchSystemLauncher.batch_te<wbr>mplate_file = 'mytemplate'<br>
<br>
file i describe the commands to the PBS system. Everything works fine.<br>
<br>
The<br>
c.PBSEngineSetLauncher.batch_f<wbr>ile_name = 'my_pbs_file'<br>
<br>
is created according to the "mytemplate".<br>
<br>
When i start the # of engines in the tab "IPython Clusters"  of jupyter my_pbs_file do not submited automaticaly.<br>
If i submit my_pbs_file from the command prompt, everything works fine.<br>
<br>
How can i adjust configuration files in order to my_pbs_file be submited automaticaly when i start engines form jupyter?<br>
<br></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">You will need to make PBS the default engine launcher in your ipcluster_config.py file to use PBS by default:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="hljs language-python" style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,248);background-position:initial initial;background-repeat:initial initial">c.IPClusterEngines.engine_launcher_class = <span class="hljs-string" style="color:rgb(221,17,68)">'PBS'</span>
</code></pre>
<p style="margin:1.2em 0px!important">-MinRK</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><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">
Thanks<br>
<br>
jb<br>
______________________________<wbr>_________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman<wbr>/listinfo/ipython-dev</a><br>
</blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<div title="MDH:PGJyPjxkaXYgY2xhc3M9ImdtYWlsX2V4dHJhIj48YnI+PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUi
Pk9uIFdlZCwgTm92IDMwLCAyMDE2IGF0IDk6MDMgQU0sIElvYW5uaXMgQm90c2lzIDxzcGFuIGRp
cj0ibHRyIj4mbHQ7PGEgaHJlZj0ibWFpbHRvOmlib3RzaXNAaXNjLnR1Yy5nciIgdGFyZ2V0PSJf
YmxhbmsiPmlib3RzaXNAaXNjLnR1Yy5ncjwvYT4mZ3Q7PC9zcGFuPiB3cm90ZTo8YnI+PGJsb2Nr
cXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0ibWFyZ2luOiAwcHggMHB4IDBweCAwLjhl
eDsgYm9yZGVyLWxlZnQtd2lkdGg6IDFweDsgYm9yZGVyLWxlZnQtY29sb3I6IHJnYigyMDQsIDIw
NCwgMjA0KTsgYm9yZGVyLWxlZnQtc3R5bGU6IHNvbGlkOyBwYWRkaW5nLWxlZnQ6IDFleDsiPkhl
bGxvIHRoZXJlLDxicj4KPGJyPgpJIGN1cnJlbnRseSBpbml0aWF0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