<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: Î¢ÈíÑźÚ; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.7600.16912"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi, Alex</DIV>
<DIV>Sorry to bother you again</DIV>
<DIV>I'm still not clear about how to use the topology </DIV>
<DIV>I copied the ndn-grid-topo-plugin under the file 
.../ndnSIM-sample-topologies/scenario and changed it like below :</DIV>
<DIV> </DIV>
<DIV>
<DIV>int</DIV>
<DIV>main (int argc, char *argv[])</DIV>
<DIV>{</DIV>
<DIV>  ......</DIV>
<DIV>  RocketfuelWeightsReader  topologyReader ("", 25);</DIV>
<DIV>  topologyReader.SetFileName ("topologies/bw-delay-rand-1/1221.r0-conv-annotated.txt");</DIV>
<DIV>  topologyReader.Read ();</DIV>
<DIV>  ......</DIV>
<DIV>  // Getting containers for the consumer/producer</DIV>
<DIV>  Ptr<Node> producer = Names::Find<Node> ("bb-781");</DIV>
<DIV>  NodeContainer consumerNodes;</DIV>
<DIV>  consumerNodes.Add (Names::Find<Node> ("leaf-4349"));</DIV>
<DIV> ......</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV>but typed 
LD_LIBRARY_PATH=/usr/local/lib ./waf --run ndn-grid-topo-plugin --vis , it 
showed</DIV>
<DIV> </DIV>
<DIV>
<DIV>Waf: Entering directory `/home/ndnSIM/ndnSIM-sample-topologies/build'</DIV>
<DIV>Waf: Leaving directory `/home/ndnSIM/ndnSIM-sample-topologies/build'</DIV>
<DIV>'build' finished successfully (0.024s)</DIV>
<DIV>assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::VisualSimulatorImpl not found", file=../src/core/model/type-id.cc, line=419</DIV>
<DIV>terminate called without an active exception</DIV>
<DIV> </DIV>
<DIV>Thanks a lot! </DIV></DIV>
<DIV> </DIV></DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>Aaron</SPAN></DIV></BODY></HTML>