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

Problem running nam




Dear Sir/madam,

I manage to install yr 'all-in-one' ns package on my Linux box, but I
encounter this error message while running simple.tcl in the ns-2/ex/tcl
directory.

below is the log:

[root@]#ns simple.tcl
210
0.0037499999999999999
running nam...
[root@]# nam: unknown event at offset 21 in out.nam
nam: 'V -t * -v 1.0b6 -a 0

how do I rectify this problem ?


Thank you in advance for your kind help.

Junnaini Ismun
Fac. of Engrg,
Univ of Malaya
50603 Kuala Lumpur
Malaysia


below is the part of the content of out.nam

V -t * -v 1.0b6 -a 0
A -t * -n 1 -p 0 -o 255 -c 15 -a 1
A -t * -h 1 -m 127 -s 8
c -t * -i 0 -n blue
c -t * -i 1 -n red
c -t * -i 2 -n white
n -t * -a 0 -s 0 -S UP -v circle -c black
n -t * -a 1 -s 1 -S UP -v circle -c black
n -t * -a 2 -s 2 -S UP -v circle -c black
n -t * -a 3 -s 3 -S UP -v circle -c black
l -t * -s 0 -d 2 -S UP -r 5000000 -D 0.002 -o right-up
l -t * -s 1 -d 2 -S UP -r 5000000 -D 0.002 -o right-down
l -t * -s 2 -d 3 -S UP -r 1500000 -D 0.01 -o right
q -t * -s 3 -d 2 -a 0.5
q -t * -s 2 -d 3 -a 0.5
+ -t 1 -s 0 -d 2 -p cbr -e 210 -c 0 -i 0 -a 0 -x {0.0 3.1 0 ------- (null)}
- -t 1 -s 0 -d 2 -p cbr -e 210 -c 0 -i 0 -a 0 -x {0.0 3.1 0 ------- (null)}
h -t 1 -s 0 -d 2 -p cbr -e 210 -c 0 -i 0 -a 0 -x {0.0 3.1 -1 ------- (null)}
r -t 1.00234 -s 0 -d 2 -p cbr -e 210 -c 0 -i 0 -a 0 -x {0.0 3.1 0 ------- (null)}
+ -t 1.00234 -s 2 -d 3 -p cbr -e 210 -c 0 -i 0 -a 0 -x {0.0 3.1 0 ------- (null)}