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]: *** [../..
Christophe Pouzat
2005-May-26 12:06 UTC
[Rd] Buidling R on Linux (Itanium) fails (PR#7897)
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
> 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:I did not use MKL, but there was a problem to Intel compiler. An as follows memo at that time. Because there is not yet an option restraining an exception in C++ of IA64, icpc is not usable. http://www.nakama.ne.jp/memo/ia64_linux/ -- e-mail : EIJI Nakama <nakama@ki.rim.or.jp>
Thu, 26 May 2005 12:09:23 +0200 Christophe Pouzat <christophe.pouzat at univ-paris5.fr> wrote.> Hi, > > here is the "configure" command line I used for an Intel PIV processor > with icc, ifort and the intel mkl:(snip)> 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".Is not a cause to fail in a problem of FTZ,DAZ? If there was time because I put http://www.nakama.ne.jp/memo/ia32_linux/ R-2.1.1.iccftzdaz.patch.txt please try to test it. -- http://www.nakama.ne.jp, http://r.nakama.ne.jp e-mail : EIJI Nakama <nakama at ki.rim.or.jp>