From christophe.pouzat at univ-paris5.fr  Thu May 26 12:09:23 2005
From: christophe.pouzat at univ-paris5.fr (Christophe Pouzat)
Date: Thu May 26 12:06:03 2005
Subject: [Rd] Buidling R on Linux (Itanium) fails (PR#7897)
In-Reply-To: <20050526004329.2A58BA20A@slim.kubism.ku.dk>
References: <20050526004329.2A58BA20A@slim.kubism.ku.dk>
Message-ID: <4295A053.50601@univ-paris5.fr>

Hi,

here is the "configure" command line I used for an Intel PIV processor 
with icc, ifort and the intel mkl:

./configure CC=icc CFLAGS="-O2 -mp -prec_div" F77=ifort CXX=icc 
CXXFLAGS="-O2 -mp -prec_div" FFLAGS="-C90 -w90 -w95 -mp -prec_div" 
CPICFLAGS=-shared CXXPICFLAGS=-shared FPICFLAGS=-shared 
SHLIB_LDFLAGS=-shared SHLIB_CXXLDFLAGS=-shared --with-blas="-lmkl_lapack 
-lmkl -lguide -lpthread"

In my experience using "FPICFLAGS=-shared" is mendatory to get the 
compilation working. The other options are mainly there to pass almost 
all the tests (except one) of "make check".

Xtof.

Bader@lrz.de wrote:

>Full_Name: Reinhold Bader
>Version: 2.1.0
>OS: SLES 9
>Submission from: (NULL) (129.187.48.1)
>
>
>I tried to build R using the Intel compilers (icc, ifort) and the Math Kernel
>Libraries
>for BLAS/LAPACK
>
>Optimizations used were -O3, and the 
>FPICFLAGS="-fpic"
>was exported.
>
>The build failed with the following error message:
>...
>dumping R code in package 'methods'
>Saving namespace image ...
>initializing class and method definitions now ...Error in
>makePrototypeFromClassDef(properties, ClassDef, immediate, where) :
>        in making the prototype for class "SClassExtension" elements of the
>prototype failed to match the corresponding slot class: coerce (class
>?character? ), test (class ?character? ), replace (class ?character? ), simple
>(class ?character? ), dataPart (class ?character? )
>Error: .onLoad failed in 'loadNamespace' for 'methods'
>Execution halted
>
>I am not a R specialist; how do I continue from here?
>make[4]: *** [../..
>
>______________________________________________
>R-devel@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-devel
>
>  
>


-- 
A Master Carpenter has many tools and is expert with most of them.If you
only know how to use a hammer, every problem starts to look like a nail.
Stay away from that trap.
Richard B Johnson.
--

Christophe Pouzat
Laboratoire de Physiologie Cerebrale
CNRS UMR 8118
UFR biomedicale de l'Universite Paris V
45, rue des Saints Peres
75006 PARIS
France

tel: +33 (0)1 42 86 38 28
fax: +33 (0)1 42 86 38 30
web: www.biomedicale.univ-paris5.fr/physcerv/C_Pouzat.html


[Rd] Buidling R on Linux (Itanium) fails (PR#7897)
Christophe Pouzat