IPython Clusters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IPython Clusters

Ioannis Botsis
Hello there,

I currently initiate ipcluster using PBS mode. In

c.BatchSystemLauncher.batch_template_file = 'mytemplate'

file i describe the commands to the PBS system. Everything works fine.

The
c.PBSEngineSetLauncher.batch_file_name = 'my_pbs_file'

is created according to the "mytemplate".

When i start the # of engines in the tab "IPython Clusters"  of jupyter
my_pbs_file do not submited automaticaly.
If i submit my_pbs_file from the command prompt, everything works fine.

How can i adjust configuration files in order to my_pbs_file be submited
automaticaly when i start engines form jupyter?

Thanks

jb
_______________________________________________
IPython-dev mailing list
[hidden email]
https://mail.scipy.org/mailman/listinfo/ipython-dev
Reply | Threaded
Open this post in threaded view
|

Re: IPython Clusters

MinRK

On Wed, Nov 30, 2016 at 9:03 AM, Ioannis Botsis <[hidden email]> wrote:

Hello there,

I currently initiate ipcluster using PBS mode. In

c.BatchSystemLauncher.batch_template_file = 'mytemplate'

file i describe the commands to the PBS system. Everything works fine.

The
c.PBSEngineSetLauncher.batch_file_name = 'my_pbs_file'

is created according to the "mytemplate".

When i start the # of engines in the tab "IPython Clusters"  of jupyter my_pbs_file do not submited automaticaly.
If i submit my_pbs_file from the command prompt, everything works fine.

How can i adjust configuration files in order to my_pbs_file be submited automaticaly when i start engines form jupyter?

You will need to make PBS the default engine launcher in your ipcluster_config.py file to use PBS by default:

c.IPClusterEngines.engine_launcher_class = 'PBS'

-MinRK

Thanks

jb
_______________________________________________
IPython-dev mailing list
[hidden email]
https://mail.scipy.org/mailman/listinfo/ipython-dev


_______________________________________________
IPython-dev mailing list
[hidden email]
https://mail.scipy.org/mailman/listinfo/ipython-dev