Ron,<div><br></div><div> Sometimes this floating point error means an incompatible version of libc. What is the result of</div><div><br></div><div>% ldd --version</div><div><br></div><div>You should have at least GNU libc 2.5; anything earlier will not work.</div>
<div><br></div><div> Arlindo</div><div><br></div><div><div class="gmail_quote">On Wed, Feb 16, 2011 at 2:47 PM, Goodson,Ron [Edm] <span dir="ltr"><<a href="mailto:Ron.Goodson@ec.gc.ca">Ron.Goodson@ec.gc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Hi Jennifer</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Thanks for the reply.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">I'm using i686 versions. </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">On the RedHat System....</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">The 2.0.a5 ldd only had 5 entries,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libX11.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libm.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libc.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libdl.so.2</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">ld-linux.so.2.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">All of these exist on my system</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">The 2.0.a7 version was ... ouch...</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"> ldd grads </font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">/usr/bin/ldd line 124: 32206 Floating point exception
LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out
LD_VERBOSE="$@"</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">On the Debain System.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">ldd for both 2.0a5 and 2.0a7 gave the same results
</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">linux-gate.so.1</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libX11.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libm.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libc.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libXau.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libXdmcp.so.6</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">libdl.so.2</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">ld-linux.so.2</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">All of these exist on my system. The libXau.so.6 and
libXdmcp exist only on my Debian system. I see via
google that "linux-gate.so.1" is not a real file so I ignore
that (but surprised I don't see it on the RedHat side .. perhaps too
ancient).</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">But, given that ldd reports the same libraries for a5 and
a7 on the Debian system .. and one runs and the other gets the floating poing
exception .. I'm now at a bit of a loss. Oh well, perhaps building from
source it is.. too bad.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<p align="left"><b><span lang="en-ca"><font face="Arial">Ron
Goodson</font></span></b><span lang="en-us"></span><span lang="en-ca"> </span><span lang="en-us"></span><span lang="en-ca"> </span><span lang="en-us"></span><span lang="en-ca"><br></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-ca"><font face="Arial" size="2">Prairie and Northern
Meteorological Service of Canada Science Section </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="fr-ca"> <font face="Arial" size="2">Unité des Sciences, Région des Prairies et du Nord, Service
Météorologique du Canada </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="fr-ca"><br></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-ca"><font face="Arial" size="2">Environment Canada</font></span></p>
<p align="left"><span lang="en-ca"><font face="Arial" size="2">Room 200 ; 4999 – 98
Avenue</font></span></p>
<p align="left"><span lang="en-ca"><font face="Arial" size="2">Edmonton Alberta T6B
2X3 </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="fr-ca"> <font face="Arial" size="2">Environnement Canada</font></span></p>
<p align="left"><span lang="fr-ca"><font face="Arial" size="2">Pièce 200 ; 4999 – 98
Avenue</font></span></p>
<p align="left"><span lang="fr-ca"><font face="Arial" size="2">Edmonton Alberta T6B
2X3 </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="fr-ca"><br></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-ca"><font face="Arial" size="2">Telephone | Téléphone 780 951
8791 </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-ca"><br></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-ca"><font face="Arial" size="2">Email |
Courriel
<a href="mailto:ron.goodson@ec.gc.ca" target="_blank">ron.goodson@ec.gc.ca</a> </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-ca"><br></span><span lang="en-us"></span><span lang="en-ca"></span></p>
<div> </div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>
[mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b>On Behalf Of </b>Jennifer
Adams<br><b>Sent:</b> February 16, 2011 11:57 AM<br><b>To:</b> GrADS Users
Forum<br><b>Subject:</b> Re: [gradsusr] GrAds 2.0a7 and beyond - floating point
exception<br></font><br></div><div><div></div><div class="h5">
<div></div>Hi, Ron --
<div>The 'floating point exception' usually means the architecture of the
executable is incompatible with the OS. Our binary releases are not 100%
statically linked, there are some shared dependencies. From your message, it's
not clear which binary release you're using -- CentOS (previously known as RHEL)
4 or 5 (the two 64-bit builds) or i686 (the 32-bit build). Try using the 'ldd'
command print out shared library dependencies and see if those libs exist on
your system, and you can compare the ldd ouptut from 2.0.a5 and later builds.
For example, the latest CentOS5 build has this: </div>
<div><br></div>
<div>
<div>> ldd /usr/local/grads/2.0/2.0.a9.release/grads </div>
<div> libX11.so.6 => /usr/lib64/libX11.so.6
(0x0000003edf000000)</div>
<div> libpthread.so.0 =>
/lib64/libpthread.so.0 (0x0000003ede800000)</div>
<div> libdl.so.2 => /lib64/libdl.so.2
(0x0000003ede400000)</div>
<div> librt.so.1 => /lib64/librt.so.1
(0x0000003ee2400000)</div>
<div> libm.so.6 => /lib64/libm.so.6
(0x0000003ede000000)</div>
<div> libstdc++.so.6 =>
/usr/lib64/libstdc++.so.6 (0x0000003ee4000000)</div>
<div> libgcc_s.so.1 => /lib64/libgcc_s.so.1
(0x0000003ee2c00000)</div>
<div> libc.so.6 => /lib64/libc.so.6
(0x0000003eddc00000)</div>
<div> libXau.so.6 => /usr/lib64/libXau.so.6
(0x0000003edf400000)</div>
<div> libXdmcp.so.6 =>
/usr/lib64/libXdmcp.so.6 (0x0000003edf800000)</div>
<div> /lib64/ld-linux-x86-64.so.2
(0x0000003edd800000)</div></div>
<div><br></div>
<div><br></div>
<div>If your unix flavor is not quite the same as the OS on which the binary was
originally compiled/linked, then you may have to rebuild from source. It's hard
to say what what may have changed between a5 and a6 -- maybe our OS was upgraded
during that time. </div>
<div><br></div>
<div>Here's the current uname -a output from our CentOS 4 and 5
boxes: </div>
<div><br></div>
<div>
<div># uname -a</div>
<div>Linux <host> 2.6.9-89.0.16.ELsmp #1 SMP Tue Nov 3 17:43:09 EST 2009
x86_64 x86_64 x86_64 GNU/Linux</div></div>
<div>
<div> # uname -a</div>
<div>Linux <host> 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux</div></div>
<div><br></div>
<div>--Jennifer</div>
<div><br></div>
<div><br>
<div>
<div>On Feb 16, 2011, at 1:31 PM, Goodson,Ron [Edm] wrote:</div><br>
<blockquote type="cite">
<div>
<div><font face="Arial" color="#0000ff" size="2"><span>Hi
to the brain trust (Jennifer et al.). Because my problem is so vague -
I'm not necessarily expecting an answer but thought I'd give it a
shot.</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>Using either an older RedHat WS4 installation running
kernel 2.6.9-11, or a newer Debian etch (2.6.18-6) I have been able to use all
version of grads up to and including 2.0.a5. However, all versions
beyond that result in a "floating point exception" immediately after
invoking grads. </span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>I am
thinking there is some underlying library mis-match. Just wondering if
anyone could throw me a bone as to what might have changed between a5 and a7
(in terms of what they expect from the operating-system libraries) so that I
can have a starting point to fixing this.</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>Thanks for any help - but - since I haven't seen any
one else mention this, I'm not expecting much.</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>ron
goodson</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span>environment canda</span></font></div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span></span></font> </div></div>_______________________________________________<br>gradsusr
mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br>
<div>
<div style="font-size:12px;word-wrap:break-word">
<div>--</div>
<div>Jennifer M. Adams</div>
<div>IGES/COLA</div>
<div>4041 Powder Mill Road, Suite 302</div>
<div>Calverton, MD 20705</div>
<div><a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a></div>
<div><br></div><br></div></div><br></div></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>
</div>