<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">routing_folder and dot_file are keywords/parameters in the config file whose values were chosen by you during the topology dump run. It is described in the second step "<font face="Menlo" class=""><span style="font-size: 15px;" class="">2- Static Routing”.</span></font><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">---</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Nikhil Jain<br class="">Postdoctoral Fellow, Lawrence Livermore National Laboratory<br class=""><a href="mailto:nikhil.jain@acm.org" class="">nikhil.jain@acm.org</a>, <a href="http://nikhil-jain.github.io/" class="">http://nikhil-jain.github.io/</a></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 13, 2017, at 14:25, Peixin Qiao <<a href="mailto:pqiao@hawk.iit.edu" class="">pqiao@hawk.iit.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">When I run the third step as <span style="font-size:12.8px" class="">README.fattree.txt</span>:<div class=""><br class=""></div><div class=""><div class=""># 3. Choose a routing algorithm which should be used by OpenSM</div><div class=""># (possible options: updn, dnup, ftree, lash, dor, torus-2QoS, dfsssp, sssp)</div><div class=""># export OSM_ROUTING="ftree" </div><div class=""># ~/simulation/scripts/create_static_lft.sh routing_folder dot_file</div><div class=""><br class=""></div><div class=""># (here routing_folder and dot_file should be same as the one used during the run used to dump the topology)</div><div class=""><br class=""></div><div class=""># Now, the routing table stored as LFT files should be in the routing_folder.</div></div><div class=""><br class=""></div><div class="">So what is the routing_folder and dot_file? Is the following correct?</div><div class=""><br class=""></div><div class="">routing_folder: mkdir routing_folder</div><div class="">dot_file: python simulate.py createIBNet -t XGFT -xh 3 -xm 18,18,36 -xw 1,18,18 -sp 36 (get 2 files: net.dot and net.txt)</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Peixin</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Mar 13, 2017 at 1:52 PM, Nikhil Jain <span dir="ltr" class=""><<a href="mailto:nikhil.jain@acm.org" target="_blank" class="">nikhil.jain@acm.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Did the script die or you killed it? If you killed it, after how long? What size system are you generating routing for?<div class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">---</div><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">Nikhil Jain<br class="">Postdoctoral Fellow, Lawrence Livermore National Laboratory<br class=""><a href="mailto:nikhil.jain@acm.org" target="_blank" class="">nikhil.jain@acm.org</a>, <a href="http://nikhil-jain.github.io/" target="_blank" class="">http://nikhil-jain.github.io/</a></div></div></div></div>
</div>

<br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On Mar 13, 2017, at 10:31, Peixin Qiao <<a href="mailto:pqiao@hawk.iit.edu" target="_blank" class="">pqiao@hawk.iit.edu</a>> wrote:</div><br class="m_-5694460434703487484Apple-interchange-newline"></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class="">Hi CODES,<div class=""><br class=""></div><div class="">When I run the command in README.fattree.txt, I cannot finish creating static routing table. The third step cannot be finished as follows:</div><div class=""><br class=""></div><div class=""><div class="">peixin@peixin:~/simulation/<wbr class="">scripts/routing_folder$ ls</div><div class="">net.dot  net.txt</div><div class="">peixin@peixin:~/simulation/<wbr class="">scripts/routing_folder$ cd ..</div><div class="">peixin@peixin:~/simulation/<wbr class="">scripts$ ~/simulation/scripts/create_<wbr class="">static_lft.sh /home/peixin/simulation/<wbr class="">scripts/routing_folder/ net</div><div class="">dot file already exists.</div><div class="">running createIBNet.py</div><div class="">Selected configuration:</div><div class="">  Output:  /home/peixin/simulation/<wbr class="">scripts/routing_folder/<a href="http://topo.net/" target="_blank" class="">topo.<wbr class="">net</a></div><div class="">  Topology:  XGFT</div><div class="">  Number of endpoints:  8</div><div class="">  Number of ports per endpoints:  1</div><div class="">  Number of switches:  4</div><div class="">  Number of ports per switch:  36</div><div class="">  Dimensions for Mesh/Torus: -1, -1, -1</div><div class="">  k-ary-n Tree: -1 -ary- -1</div><div class="">  Kautz K(b,n): K(-1; -1)</div><div class="">  XGFT(h,m,w): XGFT(3; 18,18,36; 1,18,18)</div><div class="">  Dragonfly(a,p,h) : Dragonfly(-1, -1, -1) with -1 groups</div><div class="">  Cascade(a,p,h,g) : Cascade(96, 8, 10) with -1 groups</div><div class="">  Tofu(d1,d2,d3) : Tofu(-1, -1, -1) with -1 groups</div><div class=""><br class=""></div><div class="">This program also writes an dot-file to plot the graph with Graphviz.</div><div class="">Try:</div><div class="">  dot / neato /home/peixin/simulation/<wbr class="">scripts/routing_folder/topo.<wbr class="">dot -Tpng -o graph.png && evince graph.png</div><div class="">running simulate.py</div><div class="">Run ibsim...</div><div class="">Run opensm...</div><div class="">^CTraceback (most recent call last):</div><div class="">  File "/home/peixin/simulation/<wbr class="">scripts/simulate.py", line 1140, in <module></div><div class="">    app = runSim(options.network, options.routing, options.pattern)</div><div class="">  File "/home/peixin/simulation/<wbr class="">scripts/simulate.py", line 826, in __init__</div><div class="">    time.sleep(60)</div><div class="">KeyboardInterrupt</div><div class="">peixin@peixin:~/simulation/<wbr class="">scripts$ cd routing_folder/</div><div class="">peixin@peixin:~/simulation/<wbr class="">scripts/routing_folder$ ls</div><div class="">log.txt  net.dot  net.txt  ofedout  rootguids.conf  topo.dot  <a href="http://topo.net/" target="_blank" class="">topo.net</a></div><div class="">peixin@peixin:~/simulation/<wbr class="">scripts/routing_folder$ </div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">How to create fat-tree static routing table with 36-ports switch?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Peixin</div><div class=""><br class=""></div></div></div></div>
______________________________<wbr class="">_________________<br class="">codes-ross-users mailing list<br class=""><a href="mailto:codes-ross-users@lists.mcs.anl.gov" target="_blank" class="">codes-ross-users@lists.mcs.<wbr class="">anl.gov</a><br class=""><a href="https://lists.mcs.anl.gov/mailman/listinfo/codes-ross-users" target="_blank" class="">https://lists.mcs.anl.gov/<wbr class="">mailman/listinfo/codes-ross-<wbr class="">users</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>