Skip to content

R 64 on Intel Mac check problem

4 messages · Georgios Marentakis, Brian Ripley

#
I saw this yesterday, on my newly reinstalled iMac (10.5.2), with the 
Xcode compiler + gfortran from R 2.6.2.

It looks very like a compiler bug: if I insert a printf statement in 
stem.c I get the correct answer, and if I compile src/appl/stem.c without 
optimization I get the correct answer.

So, I suggest lowering the optimization level, but the worry always is 
that if you have one piece of code miscompiled there may be others.
On Tue, 25 Mar 2008, Georgios Marentakis wrote:

            

  
    
#
On Tue, 25 Mar 2008, Georgios Marentakis wrote:

            
Note that your compiler is not the same as mine (from Xcode 3.0).  If it 
fails without optimization, I would not trust it. I don't know though 
which it is: http://cran.stat.sfu.ca/with is not a valid URL, and I don't 
know which instructions you followed (assuming they are somewhere on 
CRAN).

Simon Urbanek is making available quad-arch experimental builds of 
R-devel, and I suggest you try one of those.  (I haven't, but then I have 
other, reliable, 64-bit platforms and am only doing this to test changes 
to R.)