[ns] ns-2.29 and ns-2.27

2006-10-11 Thread Aleksandar Smolovic

May I install concurrently ns-2.29 and ns-2.27 on same linux computer 
installed under different paths?

How to do that ?

A.

P.S. I have some modules developed under ns-2.27 and cannot work under ns-2.29 
and vice versa. So, I need some solution like this one above...


Re: [ns] ns-2.29 and ns-2.27

2006-10-11 Thread Salvador Alcaraz Carrasco



Hi all:

you can do it, of course.

1. Install ns-2.27 where you want, for example

/home/ns-2.27

2. Install ns-2.29, for example:
/home/ns-2.29

3. Configure 2 environment variables:

NS27=/home/ns-2.27/ns-2.27/ns
NS29=/home/ns-2.29/ns-2.29/ns

now, where you have simulation file, for example, myfile.tcl:

if you want to run with ns-2-27, then:

$NS27 myfile.tcl

and, idem with ns-2.29:

$NS29 myfile.tcl


Kindly


/salva




On Wed, 11 Oct 2006, Aleksandar Smolovic wrote:



May I install concurrently ns-2.29 and ns-2.27 on same linux computer 
installed under different paths?

How to do that ?

A.

P.S. I have some modules developed under ns-2.27 and cannot work under ns-2.29 
and vice versa. So, I need some solution like this one above...



__
Salvador Alcaraz Carrasco  http://www.umh.es
Arquitectura y Tecnología de Computadores  http://obelix.umh.es
Dpto. Física y Arquitectura de Computadoressalcaraz[arroba]umh.es
Universidad Miguel Hernández   salcaraz[arroba]obelix.umh.es
Avda. de la universidad, s/n   Telf. +34 96 665 8495
Elche, Alicante (Spain)
__

Re: [ns] ns-2.29 and ns-2.27

2006-10-11 Thread Salvador Alcaraz Carrasco



Tao,

I don't think so.

I have installed ns-allinone-2.29 and ns-allione-2.30, and I have not 
problem.


of course, you spend much hard disk, but they run correctly.

/salva



On Wed, 11 Oct 2006, Tao Wu wrote:


this method will mess up all enviroment varibles.

On 10/11/06, Salvador Alcaraz Carrasco [EMAIL PROTECTED] wrote:






Hi all:

you can do it, of course.

1. Install ns-2.27 where you want, for example

/home/ns-2.27

2. Install ns-2.29, for example:
/home/ns-2.29

3. Configure 2 environment variables:

NS27=/home/ns-2.27/ns-2.27/ns
NS29=/home/ns-2.29/ns-2.29/ns

now, where you have simulation file, for example, myfile.tcl:

if you want to run with ns-2-27, then:

$NS27 myfile.tcl

and, idem with ns-2.29:

$NS29 myfile.tcl


Kindly


/salva




On Wed, 11 Oct 2006, Aleksandar Smolovic wrote:


 May I install concurrently ns-2.29 and ns-2.27 on same linux
computer installed under different paths?

 How to do that ?

 A.

 P.S. I have some modules developed under ns-2.27 and cannot work under
ns-2.29 and vice versa. So, I need some solution like this one
above...


__
Salvador Alcaraz Carrasco  http://www.umh.es
Arquitectura y Tecnología de Computadores  http://obelix.umh.es
Dpto. Física y Arquitectura de Computadoressalcaraz[arroba]umh.es
Universidad Miguel Hernández
salcaraz[arroba]obelix.umh.es
Avda. de la universidad, s/n   Telf. +34 96 665 8495
Elche, Alicante (Spain)
__






__
Salvador Alcaraz Carrasco  http://www.umh.es
Arquitectura y Tecnología de Computadores  http://obelix.umh.es
Dpto. Física y Arquitectura de Computadoressalcaraz[arroba]umh.es
Universidad Miguel Hernández   salcaraz[arroba]obelix.umh.es
Avda. de la universidad, s/n   Telf. +34 96 665 8495
Elche, Alicante (Spain)
__