<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.imechanica.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>iMechanica - Illegal floating point operation - Comments</title>
 <link>http://www.imechanica.org/node/3685</link>
 <description>Comments for &quot;Illegal floating point operation&quot;</description>
 <language>en</language>
<item>
 <title>The Illegal Floating Point</title>
 <link>http://www.imechanica.org/node/3685#comment-9298</link>
 <description>&lt;p&gt;The Illegal Floating Point operation error is generally encountered&lt;br /&gt;
while compiling the user-subroutine which as you all know is in&lt;br /&gt;
FORTRAN. Hence, in my case, I had defined my critical equavelent&lt;br /&gt;
plastic strain as a function of the stress triaxiality ratio (hyd.&lt;br /&gt;
stress over von-mises stress). Hence, it is quite obvious that the&lt;br /&gt;
von-mises will be zero in the initial increments. Thus, Fortran&lt;br /&gt;
encounters a division by zero. This results in an illegal floating&lt;br /&gt;
point operation error. Hence, it is important that a special additional&lt;br /&gt;
line is to be added to handle a zero value (IF MISES.EQ.0 THEN........).&lt;a href=&quot;http://fullscreenmovies.net/&quot;&gt;hd movies&lt;/a&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Mon, 08 Dec 2008 02:42:15 -0500</pubDate>
 <dc:creator>Grove</dc:creator>
 <guid isPermaLink="false">comment 9298 at http://www.imechanica.org</guid>
</item>
<item>
 <title>Re: Illegal floating point operations</title>
 <link>http://www.imechanica.org/node/3685#comment-8866</link>
 <description>&lt;p&gt;
To get a feel for what floating point operations entail check out the excellent WIkipedia article on the &lt;a href=&quot;http://en.wikipedia.org/wiki/Floating_point&quot; target=&quot;_blank&quot;&gt;Floating point&lt;/a&gt;.&amp;nbsp; For examples of illegal operations and other details see &lt;a href=&quot;http://en.wikipedia.org/wiki/Floating_point#Dealing_with_exceptional_cases&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/Floating_point#Dealing_with_exceptional_cases&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
The only way to deal with illegal floating point problems in your code is to debug the code.&amp;nbsp; The brute force way is to track down the bug with print statements.&amp;nbsp; Alternatively you can compile the code with debugging flags on and use a debugger such as ddd or gdb.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Find the place where the error is generated (i.e., where the exception is being thrown) and then fix it.&amp;nbsp; The difference between Windows and Linuz suggests that Linux compiler is probably doing a better job of finding problems during runtime.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
-- Biswajit&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 08 Oct 2008 16:41:59 -0400</pubDate>
 <dc:creator>Biswajit Banerjee</dc:creator>
 <guid isPermaLink="false">comment 8866 at http://www.imechanica.org</guid>
</item>
<item>
 <title>Hi, gautambalaram! Thank</title>
 <link>http://www.imechanica.org/node/3685#comment-8864</link>
 <description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;span class=&quot;submitted1&quot;&gt;&lt;span&gt;&lt;font color=&quot;#999999&quot;&gt; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://imechanica.org/user/4515&quot; title=&quot;View user profile.&quot;&gt;&lt;span&gt;gautambalaram&lt;/span&gt;&lt;/a&gt;!&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;Thank you very much for your kind explanation about this problem. I just meet it and spend a lot of time to find a reason for it. However, it seems that I meet a more complex problem.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt; &lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;
&lt;span&gt;I have successfully utilized a user subroutine compiled by FORTRAN complete my simulation with ABAQUS in a Windows Operation System. But, if it was used in a Linux operation system, a error message was shown as: &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&amp;nbsp;&lt;span&gt;ABAQUS Error: The executable /usr/local/abaqus_6.5/6.5-1/exec/standard.exe aborted with system error &amp;quot;Illegal floating point operation&amp;quot; (signal 8). Please check the .dat, .msg, and .sta files for error messages if the files exist.&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;Therefore, could you or anybody know the reason for this error message? &lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;Thanks a lot!&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 08 Oct 2008 03:36:37 -0400</pubDate>
 <dc:creator>yanyabin</dc:creator>
 <guid isPermaLink="false">comment 8864 at http://www.imechanica.org</guid>
</item>
<item>
 <title>Illegal Floating point operation</title>
 <link>http://www.imechanica.org/node/3685#comment-8854</link>
 <description>&lt;p&gt;
It is quite unfortunate that I was unable to milk this vast resources in imechanica in spite of the commendable know-how this forum possesses. But I am quite glad to mention that I found the reason for the problem and am also presenting a possible solution for the same so that other people like me will not have to waste time and effort in realizing the issue.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;The Illegal Floating Point operation error is generally encountered while compiling the user-subroutine which as you all know is in FORTRAN. Hence, in my case, I had defined my critical equavelent plastic strain as a function of the stress triaxiality ratio (hyd. stress over von-mises stress). Hence, it is quite obvious that the von-mises will be zero in the initial increments. Thus, Fortran encounters a division by zero. This results in an illegal floating point operation error. Hence, it is important that a special additional line is to be added to handle a zero value (IF MISES.EQ.0 THEN........).
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;Other mathematical indeterminacy could lead to this error as well like 0 raised to 0 or 0/0, etc...
&lt;/p&gt;
&lt;p&gt;
Hope this helps fellow students new to Abaqus subroutines and Fortran.
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Tue, 07 Oct 2008 10:42:02 -0400</pubDate>
 <dc:creator>gautambalaram</dc:creator>
 <guid isPermaLink="false">comment 8854 at http://www.imechanica.org</guid>
</item>
<item>
 <title>Illegal floating point operation</title>
 <link>http://www.imechanica.org/node/3685</link>
 <description>&lt;p&gt;
Can anyone shed some light on this particular error?
&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;&lt;/p&gt;
&lt;p&gt;
&lt;font color=&quot;#993300&quot;&gt;ABAQUS Error: The executable /app2/6.6-1/exec/standard.exe&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=&quot;#993300&quot;&gt;aborted with system error &amp;quot;Illegal floating point operation&amp;quot; (signal 8).&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=&quot;#000000&quot;&gt;Is there a possible reason for this error as I have gone through my code many times and dont find any suspicious statements that could lead to this error. &amp;nbsp;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=&quot;#000000&quot;&gt;This occured when I was running my analysis with a USDFLD and MPC subroutine&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <comments>http://www.imechanica.org/node/3685#comments</comments>
 <category domain="http://www.imechanica.org/taxonomy/term/962">software</category>
 <category domain="http://www.imechanica.org/taxonomy/term/289">ABAQUS</category>
 <category domain="http://www.imechanica.org/taxonomy/term/2725">error</category>
 <category domain="http://www.imechanica.org/taxonomy/term/2724">floating point</category>
 <pubDate>Wed, 13 Aug 2008 16:49:24 -0400</pubDate>
 <dc:creator>gautambalaram</dc:creator>
 <guid isPermaLink="false">3685 at http://www.imechanica.org</guid>
</item>
</channel>
</rss>
