[ns] re: validate zrp under ns-2(ns-allinone-2.27)
wei
chenw at uoguelph.ca
Sat May 15 12:55:22 PDT 2004
hi:
Sorry to bug you.
I would like to take advantage of ZRP to implement my new algorithm
under ns-2 and meanwhile I would like to use this opportunity to
validate the zrp under ns-2. So could you please provide me a manual or
print out how to program based on ZRP? In addition, I have download the
zrp.zip and zrp.tar.gz file and extract them under
ns-2(ns-allinone-2.27), but I can't run it. The following is the error
message:
/**********************************************************************/
[root at pc example]# ns example.tcl
num_nodes is set 20
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
Wrong node routing agent!
[root at pc example]# ./run
NUMBER_OF_NODES SIM_LENGTH REFRESH_INTERVAL ZRADIUS
rm: cannot lstat `/tmp/ns-allinone-2.1b6/ns-2.1b6/zrp/output': No such
file or directory
TIMEBAR_LENGTH OID broadcast_level BRP_USES_BROADCAST NETWORK_DIAMETER
../scripts/psim: line 4: /tmp/ns-allinone-2.1b6/ns-2.1b6/zrp/output: No
such file or directory
mv: can't stat source /tmp/ns-allinone-2.1b6/ns-2.1b6/zrp/output
../scripts/psim: line 6: /tmp/ns-allinone-2.1b6/ns-2.1b6/zrp/output: No
such file or directory
mv: can't stat source /tmp/ns-allinone-2.1b6/ns-2.1b6/zrp/output
../makens: line 1: cd: /tmp/ns-allinone-2.1b6/ns-2.1b6/: No such file or
directory
touch: creating `zrp/zrp.cc': No such file or directory
make: *** No targets specified and no makefile found. Stop.
rm: cannot lstat `/tmp/ZRPProtr': No such file or directory
rm: cannot lstat `/tmp/ZRPtracko': No such file or directory
rm: cannot lstat `/tmp/connectivity_matrix': No such file or directory
rm: cannot lstat `/tmp/pktdemo*': No such file or directory
rm: cannot lstat `/tmp/*.dat': No such file or directory
rm: cannot lstat `/tmp/bortree': No such file or directory
../erase_unix: line 3: cd: /tmp/test/example: No such file or directory
rm: cannot lstat `connections': No such file or directory
rm: cannot lstat `neighbors': No such file or directory
rm: cannot lstat `arp': No such file or directory
rm: cannot lstat `hopsaway': No such file or directory
rm: cannot lstat `*.merd': No such file or directory
launching simulation
num_nodes is set 20
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
Wrong node routing agent!
/******************************************************************/
I don't know why. So, your advice is appreciated.
thanks.
davie
More information about the Ns-users
mailing list