# 3 .
Using multiple 'ns' : You already have one 'ns' (from ns235),
so please use a copy with a different name :
$ cd ns-allinone-2.33/ns-2.33/
$ cp ns ns-dir-antenna
$ sudo cp ns-dir-antenna /usr/local/bin/
... Run the simulation with : 1)
$ export NS_ANTENNA_FILE=./antenna.txt (or wherever you have a copy of {antenna.txt antenna1.txt}).
2) $ ns-dir-antenna Dir-antenna-test.tcl
Using "Directional-Antenna" and OLSR in the same ns-allinone-2.33 :
Might be possible. Some patches will work together. Some will conflict.
But no reason to think about that until you've got a working DirectAntenna simulation.
Quote:
but since I already add the path of ns2.35 to .bashrc
|
You are not supposed to add anything to .bashrc .
Would have been useful 15 years ago, if you used the University Computer,
and had no write permissions to /usr/local/bin/.
The right install in ns-2.35/ is done with $ sudo make install
* So you can easily delete what you added to .bashrc.
! The executable 'ns' is hard coded to know the location of it's libraries.
So adding some path text makes no sense at all.
-