Floating point exception (core dumped) in ns2 ?!
Hello everyone,
I try to develop new protocol in aqua-sim simulator by editing VBF protocol. Then, I faced an error as follow: Code:
the file name is vbf_example_5.data How to solve it? notice that error occurs even before editing the vbf_example_5.tcl. Previously, vbf_example_5.tcl run successfully!! |
Quote:
? What's the difference between before and after ? Did you update the OS ? ... And which OS are you using ? Like CentOS 6 - 32bits, Ubuntu 12.04 - 64bits. Generally ns2 has some limitations ... . http://www.linuxquestions.org/questi...-4175552241/#2 . http://www.linuxquestions.org/questi...n20fault20ns2/ Be aware that any contemporary updated 'Linux OS' will fail with Aqua.Sim : All simulations or some simulations. - |
R#2
thanks for reply Sir, until now I just add some printf(".."), no more ! OS: Ubuntu 14.04 - 64bits, I don't update it. I run another tcl files and work successfully, but vbf_example_5.tcl still show that error: Floating point exception (core dumped) |
Re #3.
OK, you can try with e.g. Ubuntu 9.10 - 32bits. No newer updates exists ! Ubuntu 14.04 - 64bits is not supposed to do any Aqua-Sim. Updating is also happening when you install g++ : libc6 gets updated ! Read post #34 here http://www.linuxquestions.org/questi...637/page3.html ... to know that Ubuntu 10.10 and 10.04 are too new to do all Aqua-Sim. All INFO http://www.linuxquestions.org/questions/tags/aquasim/ - |
Re# 4
I re-install ns2 and recompile it again, and the program runs OK. Thanks sir @knudfl for information and replies. Best regards, |
RMac:SortPeriodTable;node 2 sort period table Floating point exception (core dumped)
In vbf_example_5.tcl I made the following change.
#set opt(mac) Mac/UnderwaterMac/BroadcastMac set opt(mac) Mac/UnderwaterMac/RMac while running the code, I got the following.. RMac:SortPeriodTable;node 2 sort period table Floating point exception (core dumped) Please help to solve this issue. Thank you in advance. |
Quote:
|
Quote:
https://www.linuxquestions.org/quest...60#post5748160 |
All times are GMT -5. The time now is 04:40 PM. |