Show More
@@ -7,7 +7,7 b' Parallel Magic Commands' | |||||
7 | We provide a few IPython magic commands |
|
7 | We provide a few IPython magic commands | |
8 | that make it a bit more pleasant to execute Python commands on the engines interactively. |
|
8 | that make it a bit more pleasant to execute Python commands on the engines interactively. | |
9 | These are mainly shortcuts to :meth:`.DirectView.execute` |
|
9 | These are mainly shortcuts to :meth:`.DirectView.execute` | |
10 |
and :meth:`.AsyncResult.display_outputs` methods re |
|
10 | and :meth:`.AsyncResult.display_outputs` methods respectively. | |
11 |
|
11 | |||
12 | These magics will automatically become available when you create a Client: |
|
12 | These magics will automatically become available when you create a Client: | |
13 |
|
13 | |||
@@ -70,7 +70,7 b' Since engines are IPython as well, you can even run magics remotely:' | |||||
70 |
|
70 | |||
71 | And once in pylab mode with the inline backend, |
|
71 | And once in pylab mode with the inline backend, | |
72 | you can make plots and they will be displayed in your frontend |
|
72 | you can make plots and they will be displayed in your frontend | |
73 | if it suports the inline figures (e.g. notebook or qtconsole): |
|
73 | if it supports the inline figures (e.g. notebook or qtconsole): | |
74 |
|
74 | |||
75 | .. sourcecode:: ipython |
|
75 | .. sourcecode:: ipython | |
76 |
|
76 |
@@ -170,7 +170,7 b' communication API for engines via its low-level :meth:`send_apply_message` metho' | |||||
170 | by all higher level methods of its Views. |
|
170 | by all higher level methods of its Views. | |
171 |
|
171 | |||
172 | f : function |
|
172 | f : function | |
173 | The fuction to be called remotely |
|
173 | The function to be called remotely | |
174 | args : tuple/list |
|
174 | args : tuple/list | |
175 | The positional arguments passed to `f` |
|
175 | The positional arguments passed to `f` | |
176 | kwargs : dict |
|
176 | kwargs : dict |
@@ -800,7 +800,7 b' which is a UUID, and thus different every time.' | |||||
800 |
|
800 | |||
801 | .. sourcecode:: python |
|
801 | .. sourcecode:: python | |
802 |
|
802 | |||
803 |
# To keep persist |
|
803 | # To keep persistent task history in MongoDB: | |
804 | c.MongoDB.database = 'tasks' |
|
804 | c.MongoDB.database = 'tasks' | |
805 |
|
805 | |||
806 | # and in SQLite: |
|
806 | # and in SQLite: | |
@@ -853,7 +853,7 b' mpi4py, add:' | |||||
853 | c.MPI.use = 'mpi4py' |
|
853 | c.MPI.use = 'mpi4py' | |
854 |
|
854 | |||
855 | In this case, the Engine will use our default mpi4py init script to set up |
|
855 | In this case, the Engine will use our default mpi4py init script to set up | |
856 | the MPI environment prior to exection. We have default init scripts for |
|
856 | the MPI environment prior to execution. We have default init scripts for | |
857 | mpi4py and pytrilinos. If you want to specify your own code to be run |
|
857 | mpi4py and pytrilinos. If you want to specify your own code to be run | |
858 | at the beginning, specify `c.MPI.init_script`. |
|
858 | at the beginning, specify `c.MPI.init_script`. | |
859 |
|
859 |
General Comments 0
You need to be logged in to leave comments.
Login now