Error when i execute the nam
1 Attachment(s)
Hello,
Please find attached the code. The code is correct but when i execute the nam i have this error: najat@najat-laptop:~/test$ Cannot connect to existing nam instance. Starting a new one... nam: Unable to open the file "mih.nam.nam" Can someone help me?? Thanks in advance. |
Very simple : No nam file has been created. See lines 144, 145 :
#set namtrace [open mih.nam w] #$ns namtrace-all-wireless $namtrace $opt(x) $opt(y) Just edit line 180 to : # exec nam mih.nam & ... Then you won't get any messages about any ***.nam It's easy to trace in the file, just use the 'grep' command for reading : $ grep -n mih.nam umts.tcl 144:#set namtrace [open mih.nam w] 180:exec nam mih.nam & - |
All times are GMT -5. The time now is 08:48 AM. |