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

Re: [ns] gt-itm



Those *-gen* files must have not been used for quite a while. I don't know
how well they work these days, but for this problem you should replace
that proc with duplex-link in that topo-....tcl

- Haobo

On Sun, 7 Jan 2001, Lee wrote:

> 
> Hello,
> 
> I just begin to learn how to use gt-itm.
> After trying "ns topo-gen-script.tcl" in ns2.1b7
> I got the following message.
> Would you like to tell me what is the problem?
> Thanks.
> 
> Lee
> 
> 
> nodes 12, scale 12,  method pure-random
> conn prob 0.25, beta  0.5, gamma 0.5
> creating nodes...
> Creating links 0..._o5: unable to dispatch method
> duplex-link-of-interfaces
>     while executing
> "$ns duplex-link-of-interfaces $n(0) $n(11) $linkBW 60ms DropTail"
>     (procedure "create-topology" line 19)
>     invoked from within
> "create-topology ns node 1.5Mb"
>     (procedure "view-topology" line 13)
>     invoked from within
> "view-topology $topofile-$i.$topoext $outfile-$i.$outext $hier_flag"
>     ("for" body line 2)
>     invoked from within
> "for { set i 0 } { $i < $topology_number } { incr i } {
>         view-topology $topofile-$i.$topoext $outfile-$i.$outext $hier_flag
> 
>         puts "Do you want ..."
>     (file "topo-gen-script.tcl" line 30)
> 
> 
>