Error while running tcl file.

33 views
Skip to first unread message

Anis Reena Adira

unread,
Jun 5, 2021, 10:44:39 AM6/5/21
to Network Simulator 2 (NS2)
I keep getting this error during running tcl file. Can someone tell me how to fix this.error.PNG

knudfl

unread,
Jun 5, 2021, 1:20:24 PM6/5/21
to Network Simulator 2 (NS2)

Please do not show images of text. I guess you know how to copy-paste a text.

Your errors : 
1. The most common error is happening if there's one or more spaces after \
$ns_ node-config -adhocRouting $opt(rp) \<space><space>
 -llType $opt(ll) \<space><space>
......... this can happen if you copy the file from e.g. a html site.

2.  »» can't read $opt(ll)«« can of course also mean a missing set opt(ll) LL

3000 simulation, mostly edited to "zero errors" : all_tcl-examples-5.tar.xz

abdusalam yahya

unread,
Jun 5, 2021, 5:28:48 PM6/5/21
to ns-u...@googlegroups.com
I have faced this error .. just change node umber  in your tcl script to 11 and it will work

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/6a0130fe-8840-4ca0-af1d-e0cfcf65d71dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages