[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] PrProblem in Runninng TCL Scripts in ns-2 [Urgent Help needed]



Dear Ns users
I am a very new to ns-2 simulator and recently i downloaded ns-2 on my
Linux Machine (RedHat ver 6.0), and it gives me following error while i
try to run ns command:
 ns-2> ns tcl/ex/simple.tcl
210
0.0037499999999999999
running nam...
ns: finish: couldn't execute "nam": permission denied
    while executing
"exec nam out.nam &"
    (procedure "finish" line 8)
    invoked from within
"finish"                   

Can any one let me know what is the problem here, I am also sending my
LD_LIBRARY_PATH and PATH information below:

echo $PATH

/tmp/NITIN/ns-allinone-2.1b3/bin:/opt/SUNWspro/bin:/usr/local/bin:/usr/X11/bin:/
bin:/usr/bin:/usr/ccs/bin:/usr/ucb:/usr/local/teTeX/bin:/usr/bin/X11:/usr/openwi
n/bin:/usr/etc:/usr/bsd:/usr/games:/usr/local/java/bin:/usr/java/bin:.    

echo $LD_LIBRARY_PATH

/tmp/NITIN/ns-allinone-2.1b3/otcl 

I have tried to search ns-mail list for possible solutions , but I have
failed to understand why this error is comming. Can any one help me in
letting me know that am i missing some files from my PATH and
LD_LIBRARY_PATH information?

I will appreciate any help from your side
thanks
with regards
nitin nagar
------------------------------------------------------------------------------
Nitin Nagar                            
Graduate Teaching Assistant                   (R) (775) 348-7176
Dept. of Computer Science                     [email protected]
University of Nevada,Reno
http://www.cs.unr.edu/~nagar
Reno NV-89557

Address:46 West 10th Street Reno NV-89503     
                                                          
------------------------------------------------------------------------------