[ns] NAM help

Marco Fiore fl0wer at virgilio.it
Tue Apr 19 00:09:17 PDT 2005


Simply add you nam path to the $PATH vatiable (see .bashrc file in you home
folder).

Regards,

Marco Fiore

>-- Messaggio originale --
>From: "Roza Mavropodi" <rosa at unipi.gr>
>To: "sathish kumar" <sathishkanna at gmail.com>, <ns-users at ISI.EDU>
>Subject: Re: [ns] NAM help
>Date: Mon, 18 Apr 2005 17:16:16 +0300
>Cc: 
>
>
>
>I think that you have two different problems. 1) your simulation didn't
>prodused any nam file (you say = i can't find the nam file ) and 2) you
>cannot execute the nam command (you say = bash:nam command not found).
>
>I order to solve 1) you should have something like the following in your
>*.tcl script
>
>set namtrace [open test.nam w]
>$ns_ namtrace-all-wireless $namtrace $opt(x) $opt(y)
>
>Don't gorget to close $namtrace at the end of the simulation
>
>proc stop {} {
>    global ns_ namtrace f
>   close $namtrace
>}
>Look for your *.nam file in the same dir that your *.tcl file resides
>
>In order to solve 2) I cannot help since I am working with Cygwin and
>Win2000 but I am sure that nam command needs to be run under xwin
>environment
>
>I hope I helped
>
>----- Original Message ----- 
>From: "sathish kumar" <sathishkanna at gmail.com>
>To: <ns-users at ISI.EDU>
>Sent: Monday, April 18, 2005 3:59 PM
>Subject: [ns] NAM help
>
>
>>
>> Hii Ns-users,
>> Iam a newbie to this NS2 tool, i installed the all-in-one package in
>> my fedora core 3 system. I can run ns simulations but i can't run nam,
>> i get an error message bash:nam command not found. NAM is already
>> installed in the system i can't find the nam file in the NAM-1.11
>> directory.
>> As anyone experienced such a problem before, Please help me how to run
>> nam .Iam already stuck in this part for couple of weeks , i
>> uninstalled and reinstalled NS-allione package, still nam is not
>> working
>>
>> Please help me ..Any comments much appreciated.
>>
>> Thanx
>> Sathish
>>
>> -- 
>> The search is more important than the destination
>>
>>
>




More information about the Ns-users mailing list