gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27637 - in msh: . doc doc/fig doc/fig/svg


From: gnunet
Subject: [GNUnet-SVN] r27637 - in msh: . doc doc/fig doc/fig/svg
Date: Wed, 26 Jun 2013 19:25:48 +0200

Author: harsha
Date: 2013-06-26 19:25:48 +0200 (Wed, 26 Jun 2013)
New Revision: 27637

Added:
   msh/doc/
   msh/doc/.latexmkrc
   msh/doc/Makefile
   msh/doc/fig/
   msh/doc/fig/svg/
   msh/doc/fig/svg/job_startup.svg
   msh/doc/msh.tex
Log:
- init doc


Added: msh/doc/.latexmkrc
===================================================================
--- msh/doc/.latexmkrc                          (rev 0)
+++ msh/doc/.latexmkrc  2013-06-26 17:25:48 UTC (rev 27637)
@@ -0,0 +1,15 @@
+add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
+add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
+
+sub run_makeglossaries {
+  if ( $silent ) {
+    system "makeglossaries -q '$_[0]'";
+  }
+  else {
+    system "makeglossaries '$_[0]'";
+  };
+}
+
+push @generated_exts, 'glo', 'gls', 'glg';
+push @generated_exts, 'acn', 'acr', 'alg';
+$clean_ext .= ' %R.ist %R.xdy';

Added: msh/doc/Makefile
===================================================================
--- msh/doc/Makefile                            (rev 0)
+++ msh/doc/Makefile    2013-06-26 17:25:48 UTC (rev 27637)
@@ -0,0 +1,45 @@
+MAINFILE       := msh
+DIA            := $(shell find . -iname '*.dia')
+DOT            := $(shell find . -iname '*.dot')
+SVG            := $(shell find ./fig/svg -iname '*.svg')
+GNUPLOT         := $(shell find . -iname '*.gnuplot')
+VIEWERAPP      := xdg-open
+
+.PHONY: all pdf clean view
+all: \
+  $(patsubst %.dot,%.pdf,$(DOT)) \
+  $(patsubst %.dia,%.pdf,$(DIA)) \
+  $(patsubst %.gnuplot,%.pdf,$(GNUPLOT)) \
+  $(patsubst %.svg,%.pdf,$(SVG)) \
+  $(patsubst %.svg,%.pdf,$(SVG2)) \
+  pdf
+
+%.pdf: %.dot
+       dot -Tpdf "$<" > "$@"
+
+%.pdf: %.eps
+       epstopdf "$<"
+
+%.eps: %.dia
+       dia -e "$@" -t eps "$<"
+
+%.pdf: %.gnuplot
+       gnuplot "$@"
+
+%.pdf: %.svg
+       inkscape --export-pdf="$@" --export-latex --file="$<"
+
+pdf:
+       latexmk -r .latexmkrc -silent -pdf $(MAINFILE)
+
+view: all
+       $(VIEWERAPP) $(MAINFILE).pdf &
+
+presentation: \
+
+clean:
+       - latexmk -c
+       - find . | egrep 
".*((\.(pdfsync|aux|idx|ind|ilg|log|blg|bbl|toc|lof|lot|dvi|tlf|tlt|glo|out|tcp|nlo|nls|glo|gls|acn|acr|alg|glg|ist|loa))|~)$$"
 | xargs rm
+       - rm -rf $(MAINFILE).run.xml
+       - rm -rf $(patsubst %.svg,%.pdf,$(SVG)) \
+                $(patsubst %.svg,%.pdf_tex,$(SVG))
\ No newline at end of file

Added: msh/doc/fig/svg/job_startup.svg
===================================================================
--- msh/doc/fig/svg/job_startup.svg                             (rev 0)
+++ msh/doc/fig/svg/job_startup.svg     2013-06-26 17:25:48 UTC (rev 27637)
@@ -0,0 +1,564 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="397.59375"
+   height="289.91965"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.3.1 r9886"
+   sodipodi:docname="job_startup.svg">
+  <defs
+     id="defs4">
+    <marker
+       inkscape:stockid="Arrow1Mstart"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Mstart"
+       style="overflow:visible">
+      <path
+         id="path3802"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
+         transform="matrix(0.4,0,0,0.4,4,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lstart"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Lstart"
+       style="overflow:visible">
+      <path
+         id="path3796"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
+         transform="matrix(0.8,0,0,0.8,10,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Mend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Mend"
+       style="overflow:visible">
+      <path
+         id="path3805"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
+         transform="matrix(-0.4,0,0,-0.4,-4,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="2.8"
+     inkscape:cx="184.63266"
+     inkscape:cy="156.56654"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     showguides="true"
+     inkscape:guide-bbox="true"
+     inkscape:snap-midpoints="true"
+     inkscape:window-width="1920"
+     inkscape:window-height="1141"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:snap-global="false">
+    <sodipodi:guide
+       orientation="0,1"
+       position="-23.080357,124.91461"
+       id="guide2989" />
+    <sodipodi:guide
+       orientation="1,0"
+       position="84.0625,201.70032"
+       id="guide3012" />
+    <sodipodi:guide
+       orientation="0,1"
+       position="-29.508929,0.27174738"
+       id="guide4452" />
+    <sodipodi:guide
+       orientation="1,0"
+       position="326.20536,186.70032"
+       id="guide4454" />
+    <sodipodi:guide
+       orientation="0,1"
+       position="21.5625,32.771747"
+       id="guide4456" />
+    <sodipodi:guide
+       orientation="0,1"
+       position="-29.866071,190.62889"
+       id="guide6258" />
+    <sodipodi:guide
+       orientation="1,0"
+       position="197.14286,253.21429"
+       id="guide3061" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-68.4375,-169.14286)">
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="137.85715"
+       y="334.14789"
+       id="text2985"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan2987"
+         x="137.85715"
+         y="334.14789">mshd</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="379.79947"
+       y="334.14789"
+       id="text2985-4"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan2987-2"
+         x="379.79947"
+         y="334.14789">mshd</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="152.5"
+       y="382.57648"
+       id="text3014"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3016"
+         x="152.5"
+         y="382.57648">Application</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="152.5"
+       y="426.36218"
+       id="text3018"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3020"
+         x="152.5"
+         y="426.36218">msh</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 152.5,338.69358 0,31.94044"
+       id="path3022"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 152.5,387.394 0,26.82533"
+       id="path4236"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="154.5"
+       y="357.7193"
+       id="text4420"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4422"
+         x="154.5"
+         y="357.7193">start</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="165.71429"
+       y="403.14789"
+       id="text4424"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4426"
+         x="165.71429"
+         y="403.14789">use</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="190"
+       y="452.00507"
+       id="text4430"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4432"
+         x="190"
+         y="452.00507"
+         style="font-style:normal;-inkscape-font-specification:Serif">Host 
0</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="394.64285"
+       y="426.29074"
+       id="text4458"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4460"
+         x="394.64285"
+         y="426.29074">cmd</tspan></text>
+    <rect
+       
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect4462"
+       width="46.68111"
+       height="14.80503"
+       x="128.21428"
+       y="323.43362" />
+    <rect
+       
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect4464"
+       width="70.584412"
+       height="14.268419"
+       x="117.5565"
+       y="372.52951"
+       ry="0" />
+    <rect
+       
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect4462-5"
+       width="46.68111"
+       height="14.80503"
+       x="128.98088"
+       y="416.38824" />
+    <rect
+       
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect4462-55"
+       width="46.68111"
+       height="14.80503"
+       x="371.30231"
+       y="324.53854" />
+    <rect
+       
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect4462-56"
+       width="46.68111"
+       height="14.80503"
+       x="371.12372"
+       y="416.56683" />
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:4,
 4;stroke-dashoffset:0;marker-end:url(#Arrow1Mend)"
+       d="m 175.66199,423.79076 193.25202,0.11546"
+       id="path4498"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="265.58035"
+       y="420.79111"
+       id="text4720"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4722"
+         x="265.58035"
+         y="420.79111"
+         style="font-style:italic">starts</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="265.58035"
+       y="434.00995"
+       id="text4724"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4726"
+         x="265.58035"
+         y="434.00995"
+         style="font-style:normal">(indirect MPI)</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 128.98088,423.79076 c -47.630685,-9.62465 -39.895828,-89.4643 
-2.99874,-92.77605"
+       id="path4728"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="85.105354"
+       y="379.60059"
+       id="text4912"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4914"
+         x="85.105354"
+         y="379.60059"
+         style="font-style:normal">IPC</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#Arrow1Mstart);marker-end:url(#Arrow1Mend)"
+       d="m 177.23137,330.93084 191.70486,0.67242"
+       id="path4916"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 394.64287,339.34357 -1e-5,74.81255"
+       id="path5100"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="396.73215"
+       y="375.54449"
+       id="text5284"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan5286"
+         x="396.73215"
+         y="375.54449">start</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="265.58035"
+       y="325.76938"
+       id="text5288"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan5290"
+         x="265.58035"
+         y="325.76938"
+         style="font-style:normal">MPI</tspan></text>
+    <rect
+       
style="fill:#000000;fill-opacity:0.68995631;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect5666"
+       width="11.616755"
+       height="10.101525"
+       x="331.83511"
+       y="285.6564" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="346.86111"
+       y="282.87848"
+       id="text5668"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan5670"
+         x="346.86111"
+         y="282.87848"
+         style="font-style:normal">socket</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 394.64287,324.53854 c -1e-5,-24.23493 -36.98573,-33.13688 
-49.23384,-33.57883"
+       id="path5672"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="366.18033"
+       y="309.7738"
+       id="text5860"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan5862"
+         x="366.18033"
+         y="309.7738">open</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="M 151.55483,323.43362 C 179.80715,289.69701 317.9455,290.67561 
329.56226,290.67561"
+       id="path5864"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="265.58035"
+       y="289.69702"
+       id="text6052"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan6054"
+         x="265.58035"
+         y="289.69702">TCP try connect</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="265.58035"
+       y="307.87976"
+       id="text6060"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan6062"
+         x="265.58035"
+         y="307.87976"
+         style="font-style:normal">(non-blocking)</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 188.14091,379.66373 c 40.43052,-0.51583 164.53767,6.62702 
190.96624,35.19845"
+       id="path6064"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="265.35715"
+       y="378.07648"
+       id="text6252"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan6254"
+         x="265.35715"
+         y="378.07648">TCP/UDP connect</tspan></text>
+    <rect
+       
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect6256"
+       width="141.78572"
+       height="189.64285"
+       x="68.928574"
+       y="268.93362" />
+    <rect
+       
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect6256-1"
+       width="141.78572"
+       height="189.64285"
+       x="323.75"
+       y="268.43362" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="442.91574"
+       y="452.79074"
+       id="text4430-9"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4432-9"
+         x="442.91574"
+         y="452.79074"
+         style="font-style:normal;-inkscape-font-specification:Serif">Host 
n</tspan></text>
+    <g
+       id="g3068"
+       transform="translate(-0.35714,32.785706)">
+      <text
+         sodipodi:linespacing="125%"
+         id="text3053"
+         y="189.99107"
+         x="265.58035"
+         
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+         xml:space="preserve"><tspan
+           y="189.99107"
+           x="265.58035"
+           id="tspan3055"
+           sodipodi:role="line">Execution wrapper</tspan></text>
+      <rect
+         y="178.5625"
+         x="210.58035"
+         height="16.785715"
+         width="110.71429"
+         id="rect3057"
+         
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
 />
+    </g>
+    <g
+       id="g3063"
+       transform="translate(2.5000072,35.642857)">
+      <text
+         sodipodi:linespacing="125%"
+         id="text3049"
+         y="145.77679"
+         x="262.72321"
+         
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+         xml:space="preserve"><tspan
+           style="font-style:normal;-inkscape-font-specification:Serif"
+           y="145.77679"
+           x="262.72321"
+           id="tspan3051"
+           sodipodi:role="line">Scheduler</tspan></text>
+      <rect
+         y="133.99107"
+         x="233.08035"
+         height="16.428572"
+         width="60"
+         id="rect3059"
+         
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
 />
+    </g>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 265.58036,186.0625 0,23.46429"
+       id="path3073"
+       inkscape:connector-curvature="0" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="180.79903"
+       y="253.72234"
+       id="text4235"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4237"
+         x="180.79903"
+         y="253.72234"
+         style="font-style:italic">start</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="356.38687"
+       y="251.52196"
+       id="text4235-4"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4237-7"
+         x="356.38687"
+         y="251.52196"
+         style="font-style:italic">start</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="M 157.77049,-39.228872 C 121.40108,-10.95579 97.031681,13.501186 
72.232143,53.714286"
+       id="path4260"
+       inkscape:connector-curvature="0"
+       transform="translate(68.4375,267.9375)"
+       sodipodi:nodetypes="cc" />
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 232.5,-39.228872 c 50.84902,29.8081673 82.82573,57.666622 
108.42648,94.235816"
+       id="path4448"
+       inkscape:connector-curvature="0"
+       transform="translate(68.4375,267.9375)"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="283.55939"
+       y="200.07765"
+       id="text4636"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4638"
+         x="283.55939"
+         y="200.07765"
+         style="font-style:italic">starts</tspan></text>
+  </g>
+</svg>

Added: msh/doc/msh.tex
===================================================================
--- msh/doc/msh.tex                             (rev 0)
+++ msh/doc/msh.tex     2013-06-26 17:25:48 UTC (rev 27637)
@@ -0,0 +1,64 @@
+\documentclass[10pt, a4paper, onecolumn]{article}
+
+\usepackage[utf8]{inputenc}
+\usepackage{color}
+\usepackage{graphicx}
+\usepackage{import}
+
+\graphicspath{{fig/svg/}}
+
+\title{MSH: A remote shell based on MPI}
+\author{Sree Harsha Totakura}
+
+\begin{document}
+\maketitle{}
+
+\begin{abstract}
+  MPI-Shell (MSH) is a remote shell for executing commands remotely on
+  hosts using the Message Passing Interface (MPI) layer for communication.  
Such
+  hosts are commonly found in High Performance Computing (HPC) systems such as
+  compute clusters or supercomputers.
+
+  The motivation for this project is that often in such systems \texttt{ssh} is
+  either unavailable or restricted for users due to security reasons.  As a
+  result, hosts in these systems cannot be used for applications such as 
network
+  emulators or testbeds which rely on \texttt{ssh} to establish connections
+  among the hosts.  \texttt{msh} aims to solve this problem by providing an
+  alternative remote shell which can be used by these applications instead of
+  \texttt{ssh}.
+\end{abstract}
+
+\section{Architecture}
+
+MSH consists of two components: the \texttt{mshd} daemon and the \texttt{msh}
+client.  \texttt{mshd} is similar to \texttt{sshd} in that it is started one
+daemon per host and executes the commands given from remote \texttt{msh}, but
+differs from \texttt{sshd} in that \texttt{msh} clients do not connect to it
+directly.  \texttt{msh} clients always connect to their local \texttt{mshd} for
+executing remote commands.  The local \texttt{mshd} then communicates the
+command to the remote \texttt{mshd}.  Similarly, the input and output of the
+executed command is indirectly relayed from and to the respective \texttt{msh}
+client through the local \texttt{mshd}.
+
+Communication between the local and the remote \texttt{mshd} is done through
+MPI.  For this reason, \texttt{mshd} instances are to be started by the
+execution wrappers (\texttt{mpiexec}, \texttt{mpirun}, \texttt{poe},
+\texttt{srun}).  While starting the \texttt{mshd} instances an optional binary
+and its arguments to it can be given as arguments to \texttt{mshd} in the
+execution wrapper.  A process corresponding to the given binary is started with
+its arguments by the \texttt{mshd} instance running with MPI id $0$.  If the
+optional binary is not given a \texttt{bash} process is started by default.
+\texttt{msh} can only be used these processes as it requires to communicate 
with
+the local \texttt{mshd}.
+
+\texttt{msh} can only be used by the processes started by \texttt{mshd}.
+
+
+\begin{figure}[ht]
+  \centering
+  \input{fig/svg/job_startup.pdf_tex}
+  \caption{Job start-up overview}
+  \label{fig:job_startup}
+\end{figure}
+
+\end{document}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]