[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] small run time problem!!!!
> ns: finish: couldn't execute "nam": no such file or directory
> while executing
> "exec nam out.nam &"
You probably don't have nam in your path.
If you're running tcsh, the following will work (with /home/ehw/ changed to the
proper path). You'll want to add it to your .tcshrc file so you don't have to
type it in every time you log in.
setenv NS2HOME /home/ehw/ns-allinone-2.1b6
setenv TCL_LIBRARY $NS2HOME/tcl8.0.4/library
setenv TK_LIBRARY $NS2HOME/tk8.0.4/library
set path = ( $path "$NS2HOME/bin" )
If you're running bash or another shell, the sytax will be different but the
same idea applies.
-Eric
--------------------------------------------
Eric H. Weigle CCS-1, RADIANT team
[email protected] Los Alamos National Lab
(505) 665-4937 http://home.lanl.gov/ehw/
--------------------------------------------