You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/user_guides/advanced_guide.rst
+122-1Lines changed: 122 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,128 @@ Component invocation in the IPS means one component is calling another component
291
291
Task Launch
292
292
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
293
293
294
-
The task launch interface allows components to launch and manage the execution of (parallel) executables. Similar to the component invocation interface, the behavior of *launch_task* and the *wait_task* variants are controlled using the *block* keyword argument and different interfaces to *wait_task*.
294
+
The task launch interface allows components to launch and manage the
295
+
execution of (parallel) executables. Similar to the component
296
+
invocation interface, the behavior of
297
+
:py:meth:`~ipsframework.services.ServicesProxy.launch_task` and the
298
+
:py:meth:`~ipsframework.services.ServicesProxy.wait_task` variants are
299
+
controlled using the *block* keyword argument and different interfaces
300
+
to *wait_task*.
301
+
302
+
The ``task_ppn`` and ``task_cpp`` options all greater control over how
303
+
commands are made. ``task_ppn`` will limit the number of task per
304
+
node, ``task_ccp`` will limit the number of cores assigned to each
305
+
process, this is only used when ``MPIRUN=srun``, if ``task_cpp`` is
306
+
not set it will be calculated automatically.
307
+
308
+
~~~~~~~~~~~~~~
309
+
Slurm examples
310
+
~~~~~~~~~~~~~~
311
+
312
+
The following examples show the behavior if you are running on a `Cori
313
+
<https://docs.nersc.gov/systems/cori>`_ with 32 cores per node.
0 commit comments