[Smac-users] SMAC - Running the test-suite-smac.tcl script
mehmet b.
mbuyukozer at yahoo.com
Sun Mar 13 05:08:44 PST 2005
Hi Bharath, I am also at the very beginning of both ns2 and smac (in ns2 implementation) but as far as I read from the tutorial (http://www.isi.edu/nsnam/ns/tutorial/) there should be something like
set nf [open out.nam w]
$ns namtrace-all $nf
proc finish {} {
global ns nf
$ns flush-trace
close $nf
exec nam out.nam &
exit 0
}
in the .tcl file. Adding these codes will let it to write the traffic to a file called "out.nam" and with this file in hand you can visualize the traffic in nam.
By the way, as I understand from un-answered mails, the author of smac, Wei Ye, is not supporting smac source code anymore. Please correct me, If I am wrong.
Bharath Venkatramani <bharathv at vt.edu> wrote:
I placed shortcuts of ns.exe and nam.exe in the "/ns-2.28/tcl/test" directory,
to run the SMAC simulations, and it seems to work. How would I "see" the
simulation using Nam? Thanks, again.
BV
>===== Original Message From Bharath Venkatramani =====
>Hello all,
>
>I just started using NS-2. I'm having some problems running
>test-suite-smac.tcl script. I am using Cygwin. When I type "ns
>test-suite-smac.tcl brdcast1" (when in the /ns-2.28/tcl/test directory), I
get
>"bash: ns: command not found". Would anyone have any ideas on how to get
>around this? Thanks.
>
>BV
>
>_______________________________________________
>Smac-users mailing list
>Smac-users at mailman.isi.edu
>http://mailman.isi.edu/mailman/listinfo/smac-users
_______________________________________________
Smac-users mailing list
Smac-users at mailman.isi.edu
http://mailman.isi.edu/mailman/listinfo/smac-users
---------------------------------
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.isi.edu/pipermail/smac-users/attachments/20050313/5e49a92e/attachment.html
More information about the Smac-users
mailing list