Hi Kubi,

You must point the 'source' command to the directory where the pattern files
are.

For example if you are running the script in such a location as
'~/ns-2.31/myscripts'
 the 'cbr-3-test' file is sourced by:
source ../tcl/mobility/scene/cbr-3-test

I don't see a 'scenarios' directory under my ns-2.31 distribution so unless
you have
created one I doubt ns will find it..

Good luck
Micheal


2008/8/13 Kubi Kay <[EMAIL PROTECTED]>

>
> hello,
> i have been trying to create simmulations for wireless communication using
> the tutorials found online and i keep running into the same error:
> Loading random connection pattern...
> couldn't read file "scenarios/scen1forAODV-n20-t500-x750-y750": no such
> file
> or directory
>    while executing
> "source.orig scenarios/scen1forAODV-n20-t500-x750-y750"
>
> Loading connection pattern...
> couldn't read file "/tcl/mobility/scene/cbr-3-test": no such file or
> directory
>    while executing
> "source.orig /tcl/mobility/scene/cbr-3-test"
> if anyone knows how to rectify this error please help me out. I have tried
> to run the simulation in the ns-2.31 folder and still get the same error.
> thank you in advance for your help.
>

Reply via email to