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

[ns] CBQ link-sharing Ns2 windows




Hi All, 

We are a technology development group, currently evaluating the prospect
of investing resources in CBQ algorithms for our new product lines. For
that we need to buildup the NS under Windows. And perform CBQ tests for
link-sharing models referenced in �Ns Version 1 Simulator Tests for
Class-Based Queuing� (Sally Floyd).
 
After downloading the components (including Cygwin and Perl) and
compiling (also noticed test-all-template.win includes already the
patch), When I run the validate for 
test-all-cbq (from cygwin shell) the output messages are like:

*** ./test-all-cbq
Tests: WRR PRR AO TL FORMAL FORMAL_TCP MAX1 MAX2 EXTRA1 EXTRA2 MIN1 MIN3
MIN4 MIN6 TwoAO TwoAO2 TwoAO3 TwoTL TwoF TwoDynamic TwoDynamic1
TwoDynamic1WRR TwoWRR
../../ns test-suite-cbq.tcl WRR QUIET
ns: _o4 cleanup filebafc38 CBQ_WRR: couldn't execute "awk": no such file
or directory
    while executing
"exec awk $awkCode fid=$i maxbytes=$maxbytes temp.s > temp.$i"
    (procedure "_o4" line 39)
    (TestSuite finish line 39)
    invoked from within
"$self finish $testname"
    (procedure "_o4" line 11)
    (TestSuite cleanup line 11)
    invoked from within

When I try individual tests (from dos) such as: 
  	Ns test-suite-cbq.tcl cbqTL TwoTL
 I get:   
0
1
to 8
ns: _o4 cleanup filebaef18 CBQ_TwoTL: couldn't execute "awk": no such
file or directory
    while executing
"exec awk $awkCode fid=$i maxbytes=$maxbytes temp.s > temp.$i"
    (procedure "_o4" line 39)
    (TestSuite finish line 39)
    invoked from within
"$self finish $testname"
    (procedure "_o4" line 11)
    (TestSuite cleanup line 11)
    invoked from within
"_o4 cleanup filebaef18 CBQ_TwoTL"

This is so even though I verified PATH includes Cygwin\bin and Perl how
can I make sure cygwin\bin and perl are indeed accessed when needed. 
We appreciate any help or reference to a person who can help or suggest
us how to proceed.  

Many thanks.
-Adriana