LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2016, 01:07 AM   #1
sreehk
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
Floating Point Exception (Core Dumped)


Hi.. I'm a new to TCL and been using the aquasim tool (underwater simulator) for my project work. I ran a file (Rmac - 10 nodes) which a link is mentioned below and displayed the "floating point exception".. Kindly go through the file and try to solve it..

OS : Ubuntu 14.04 - 64 bit


https://drive.google.com/file/d/0B76...ew?usp=sharing

Last edited by sreehk; 01-15-2016 at 01:14 AM.
 
Old 01-15-2016, 06:21 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,692

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
You have to find out which TCL line causes the exception. Most likely a division by zero, for example because the code fails to initialize the divisor.
 
Old 01-15-2016, 06:26 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,260

Rep: Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437Reputation: 4437
Quote:
Originally Posted by sreehk View Post
Hi.. I'm a new to TCL and been using the aquasim tool (underwater simulator) for my project work. I ran a file (Rmac - 10 nodes) which a link is mentioned below and displayed the "floating point exception".. Kindly go through the file and try to solve it..

OS : Ubuntu 14.04 - 64 bit


https://drive.google.com/file/d/0B76...ew?usp=sharing
Right...same thing you asked HERE:
http://www.linuxquestions.org/questi...s2-4175563993/

...which is the same question, twice. Read the LQ Rules and question guidelines link in my posting signature. We WILL NOT download your code and fix it for you.
 
Old 01-22-2016, 04:28 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
The usual : ns2 has some limitations. And the node maximum for rmac may very well be 5 !
And, and : Please try using a 32bits Linux OS. (i686).

. http://www.linuxquestions.org/questi...-4175552241/#2
. http://www.linuxquestions.org/questi...-4175507630/#3
. http://www.linuxquestions.org/questi...-4175506731/#5

? Any questions ? Then please attach your file as sreehk_rmac10.tcl.txt


-

Last edited by knudfl; 01-22-2016 at 04:32 AM.
 
  


Reply

Tags
aquasim, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Floating point exception (core dumped) in ns2 ?! S A R A Linux - Software 7 08-14-2017 11:30 AM
Evalvid ns2.35: error Floating point exception (core dumped) hbenlabbes Linux - Software 1 11-14-2015 01:53 PM
floating point exception (core dumped) aicaicai Linux - Newbie 2 05-10-2013 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration