Skip to content

Commit

Permalink
Doc tweaks and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Apr 8, 2011
1 parent 540ed02 commit 11592a7
Show file tree
Hide file tree
Showing 6 changed files with 476 additions and 22 deletions.
10 changes: 5 additions & 5 deletions docs/source/parallelz/dag_dependencies.txt
Expand Up @@ -34,7 +34,7 @@ Here, we have a very simple 5-node DAG:


With NetworkX, an arrow is just a fattened bit on the edge. Here, we can see that task 0 With NetworkX, an arrow is just a fattened bit on the edge. Here, we can see that task 0
depends on nothing, and can run immediately. 1 and 2 depend on 0; 3 depends on depends on nothing, and can run immediately. 1 and 2 depend on 0; 3 depends on
1 and 2; and 4 depends only on 1. 1 and 2; and 4 depends only on 1.


A possible sequence of events for this workflow: A possible sequence of events for this workflow:


Expand Down Expand Up @@ -141,9 +141,9 @@ started after all of its predecessors were completed:
:lines: 64-70 :lines: 64-70


We can also validate the graph visually. By drawing the graph with each node's x-position We can also validate the graph visually. By drawing the graph with each node's x-position
as its start time, all arrows must be pointing to the right if the order was respected. as its start time, all arrows must be pointing to the right if dependencies were respected.
For spreading, the y-position will be the in-degree, so tasks with lots of dependencies For spreading, the y-position will be the runtime of the task, so long tasks
will be at the top, and tasks with few dependencies will be at the bottom. will be at the top, and quick, small tasks will be at the bottom.


.. sourcecode:: ipython .. sourcecode:: ipython


Expand All @@ -166,7 +166,7 @@ will be at the top, and tasks with few dependencies will be at the bottom.
.. figure:: dagdeps.* .. figure:: dagdeps.*


Time started on x, runtime on y, and color-coded by engine-id (in this case there Time started on x, runtime on y, and color-coded by engine-id (in this case there
were four engines). were four engines). Edges denote dependencies.




.. _NetworkX: http://networkx.lanl.gov/ .. _NetworkX: http://networkx.lanl.gov/
1 change: 1 addition & 0 deletions docs/source/parallelz/index.txt
Expand Up @@ -16,5 +16,6 @@ Using IPython for parallel computing (ZMQ)
parallel_winhpc.txt parallel_winhpc.txt
parallel_demos.txt parallel_demos.txt
dag_dependencies.txt dag_dependencies.txt
parallel_details.txt




0 comments on commit 11592a7

Please sign in to comment.