Hi,

That error means that you don't have nam install.  Try the command with the 
exec at the front and see if that works.  I think nam comes with ns-2 but if 
you don't have it yet it is downloadable at http://www.isi.edu/nsnam/nam/

---- Original message ----
>Date: Tue, 15 Apr 2008 08:41:36 -0700 (PDT)
>From: mohamed saad <[EMAIL PROTECTED]>  
>Subject: [ns] can you help me please  
>To: nsusers <ns-users@ISI.EDU>
>
>
>
>ASalam alikom
>
> I have error when I write this program
>
> 
>
>set ns [new Simulator]
>
>set nf [open out.nam w]
>
>$ns namtrace-all $nf
>
>proc finish {} {
>
>        global ns nf
>
>        $ns flush-trace
>
>        close $nf
>
>        exec nam out.nam &
>
>        exit 0
>
>}
>
>set n0 [$ns node]
>
>set n1 [$ns node]
>
>$ns duplex-link $n0 $n1 1Mb 10ms DropTail
>
>$ns at 5.0 "finish"
>
>$ns run
>
> 
>
>When I run this program
>
>It give me this error
>
> 
>
>Ns:finish:couldn't execute "nam":
>
>No such file or directory
>
>     While executing
>
>"exec nam out.nam &"
>
>(procedure "finish" line5)
>
>Invoked from within
>
>"finish"
>
>can you help me to solve this error?
>gazak allah khiran 
>
>   
>  
> between 0000-00-00 and 9999-99-99        

Reply via email to