I'm trying to use ns2 in ubuntu 14.04 (32 bit). But I'm having a great trouble using nam

I can use ns2 command easily

$ ns example.tcl

But the nam is not working properly. On executing the below command

$ nam example.nam

I'm getting error

Segmentation fault (core dumped)

I followed all the steps in below article. But still not working properly

Segmentation fault (core dumped) in nam ubuntu 14.04

  • 1
    You could start with /bin/ls -l example.{tcl,nam}, man ns2, man nam, strace $(type -p nam) example.nam, man strace – waltinator Aug 24 '15 at 21:18

If you have a ns2 installed manually in your system just go in the directory of ns2 for example ns2-allinone-2.35/ns-2.35/ then try to simulate your simulation in here and be sure that you use ./ns ./simulationfile.tcl instead of ns simulationfile.tcl.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.