bug: R says "Floating exception" on DEC-Alpha w/OSF1 (PR#252)

mlthomps@yayoi.mt.m-kagaku.co.jp mlthomps@yayoi.mt.m-kagaku.co.jp
Thu, 19 Aug 1999 11:03:48 +0200 (MET DST)


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01BEEA08.8191B340
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear R Development Core Team,

I've been trying to install R ver. 0.64.0 on a
Dec-Alpha machine w/OSF1.

A couple of things go wrong.

After I type "make", the installation process
bombs while trying to compile the R.binary.
It reports the following:

     f77   -o ../../bin/R.binary {*** for brevity, I've deleted the =
filenames printed here ***}
     ld:  ../unix/libunix.a(system.o): main: multiply defined
     fort: Severe: Failed while trying to link.

I got around this by adding the "-nofor_main" option to the=20
compile statement in the Makefile in ../src/main directory.
Thus, make issues the command:
     f77  -nofor_main -o ../../bin/R.binary {*** again, deleted printed =
filenames ***}
That allowed the compilation to complete smoothly.

However, when I tried to run R, I got the following result:
----------------------------------------------------------------------
> R
ARGUMENT '' __ignored__

R : Copyright 1999, The R Development Core Team
Version 0.64.0  (April 8, 1999)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type    "?license" or "?licence" for distribution details.

R is a collaborative project with many contributors.
Type    "?contributors" for a list.

Type    "demo()" for some demos, "help()" for on-line help, or
        "help.start()" for a HTML browser interface to help.
Type    "q()" to quit R.

Floating exception (core dumped)
----------------------------------------------------------------------


So, I tried it with the debugger dbx and got this output:
----------------------------------------------------------------------
> R --debugger dbx
dbx version 3.11.8
Type 'help' for help.


"system.c" not defined or not active
(dbx) run

R : Copyright 1999, The R Development Core Team
Version 0.64.0  (April 8, 1999)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type    "?license" or "?licence" for distribution details.

R is a collaborative project with many contributors.
Type    "?contributors" for a list.

Type    "demo()" for some demos, "help()" for on-line help, or
        "help.start()" for a HTML browser interface to help.
Type    "q()" to quit R.

signal Floating point exception at   [InitArithmetic:5 =
+0x17c,0x120018ddc]       Source not available
(dbx) quit
----------------------------------------------------------------------


Any ideas what might be wrong and how I can get around it?

By the way, I use R on my PC without any glitches.
I'm impressed with the work you have done.

Thanks for providing such useful software,
-Mike

------------------------------------------------------------------
Michael L. Thompson, Ph.D.  | Phone:  (0)86-457-2805  |
Senior Consultant on Modeling & Statistics     | Fax:      =
(0)86-457-2027  |
Development and Engineering Research Center =20
E-mail: mlthomps@seigi2.mt.m-kagaku.co.jp
               mlthomps@alum.mit.edu
Mitsubishi Chemical Corporation, Mizushima Plant
3-10 Ushiodori, Kurashiki, Okayama 712  JAPAN
-------------------------------------------------------------------

------=_NextPart_000_0007_01BEEA08.8191B340
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Dear R Development Core =
Team,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I've been trying to install R ver. 0.64.0 on =
a</FONT></DIV>
<DIV><FONT size=3D2>Dec-Alpha machine w/OSF1.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>A couple of things go wrong.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>After I type &quot;make&quot;, the installation=20
process</FONT></DIV>
<DIV><FONT size=3D2>bombs while trying to compile the =
R.binary.</FONT></DIV>
<DIV><FONT size=3D2>It reports the following:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; f77&nbsp;&nbsp; -o =
.../../bin/R.binary=20
{*** for brevity, I've deleted the filenames printed here =
***}</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; ld:&nbsp;=20
.../unix/libunix.a(system.o): main: multiply =
defined<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
fort: Severe: Failed while trying to link.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I got around this by adding the =
&quot;-nofor_main&quot; option=20
to the </FONT></DIV>
<DIV><FONT size=3D2>compile statement </FONT><FONT size=3D2>in the =
Makefile in=20
.../src/main directory.</FONT></DIV>
<DIV><FONT size=3D2>Thus, make issues the command:</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp; f77&nbsp; -nofor_main -o=20
../../bin/R.binary {*** again, deleted printed filenames =
***}</FONT></DIV>
<DIV><FONT size=3D2>That allowed the compilation to complete=20
smoothly.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>However, when I tried to run R, I =
got the=20
following result:</FONT></DIV>
<DIV><FONT color=3D#000000=20
size=3D2>----------------------------------------------------------------=
------</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&gt; R<BR>ARGUMENT '' =
__ignored__</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>R : Copyright 1999, The R =
Development Core=20
Team<BR>Version 0.64.0&nbsp; (April 8, 1999)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>R is free software and comes with =
ABSOLUTELY NO=20
WARRANTY.<BR>You are welcome to redistribute it under certain=20
conditions.<BR>Type&nbsp;&nbsp;&nbsp; &quot;?license&quot; or=20
&quot;?licence&quot; for distribution details.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>R is a collaborative project with =
many=20
contributors.<BR>Type&nbsp;&nbsp;&nbsp; &quot;?contributors&quot; for a=20
list.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Type&nbsp;&nbsp;&nbsp; =
&quot;demo()&quot; for=20
some demos, &quot;help()&quot; for on-line help,=20
or<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&quot;help.start()&quot; for a=20
HTML browser interface to help.<BR>Type&nbsp;&nbsp;&nbsp; =
&quot;q()&quot; to=20
quit R.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Floating exception (core=20
dumped)<BR></FONT>-------------------------------------------------------=
---------------</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>So, I tried it with the debugger dbx =
and got=20
this output:</FONT></DIV>
<DIV><FONT color=3D#000000=20
size=3D2></FONT>---------------------------------------------------------=
-------------</DIV>
<DIV><FONT color=3D#000000 size=3D2>&gt; R --debugger dbx<BR>dbx version =

3.11.8<BR>Type 'help' for help.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2><BR>&quot;system.c&quot; not defined =
or not=20
active<BR>(dbx) run</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>R : Copyright 1999, The R =
Development Core=20
Team<BR>Version 0.64.0&nbsp; (April 8, 1999)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>R is free software and comes with =
ABSOLUTELY NO=20
WARRANTY.<BR>You are welcome to redistribute it under certain=20
conditions.<BR>Type&nbsp;&nbsp;&nbsp; &quot;?license&quot; or=20
&quot;?licence&quot; for distribution details.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>R is a collaborative project with =
many=20
contributors.<BR>Type&nbsp;&nbsp;&nbsp; &quot;?contributors&quot; for a=20
list.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Type&nbsp;&nbsp;&nbsp; =
&quot;demo()&quot; for=20
some demos, &quot;help()&quot; for on-line help,=20
or<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&quot;help.start()&quot; for a=20
HTML browser interface to help.<BR>Type&nbsp;&nbsp;&nbsp; =
&quot;q()&quot; to=20
quit R.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>signal Floating point exception =
at&nbsp;&nbsp;=20
[InitArithmetic:5 =
+0x17c,0x120018ddc]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Source=20
not available<BR>(dbx)=20
quit<BR></FONT>----------------------------------------------------------=
------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Any ideas what might be wrong and =
how I can get=20
around it?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>By the way, I use R on my PC without =
any=20
glitches.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>I'm impressed =
with the work=20
you have done.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks for providing such useful =
software,</FONT></DIV>
<DIV><FONT size=3D2>-Mike</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000=20
size=3D2>----------------------------------------------------------------=
--<BR>Michael=20
L. Thompson, Ph.D.&nbsp; | Phone:&nbsp; (0)86-457-2805&nbsp; |<BR>Senior =

Consultant on Modeling &amp; Statistics&nbsp;&nbsp;&nbsp;&nbsp; |=20
Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (0)86-457-2027&nbsp; |<BR>Development =
and=20
Engineering Research Center&nbsp; <BR>E-mail: <A=20
href=3D"mailto:mlthomps@seigi2.mt.m-kagaku.co.jp">mlthomps@seigi2.mt.m-ka=
gaku.co.jp</A><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<A =
href=3D"mailto:mlthomps@alum.mit.edu">mlthomps@alum.mit.edu</A><BR>Mitsub=
ishi=20
Chemical Corporation, Mizushima Plant<BR>3-10 Ushiodori, Kurashiki, =
Okayama=20
712&nbsp;=20
JAPAN<BR>----------------------------------------------------------------=
---</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01BEEA08.8191B340--


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._