Hi all,

I have used two sample programs for executing the traces on NAM using the 
ns2.33. All goes well until...

exec nam out.nam & command is executed, from the following FINISH function.

proc finish {} {
        global ns nam_file
        $ns flush-trace
        close $nam_file
        exec nam out.nam &
        exit 0
}

The error message is
ns: finish: could not execute "nam": no such file or directory
while executing
"exec nam out.nam &" (procedure FINISH line 5)
invoked from within
"finish"

I am using NAM 1.13, the nam executes without any problem when I type
%./nam
(on ns2 prompt)

I have no idea how to resolve this. Can some one help me please?

Faraz

Reply via email to