[R] [R 3.0.2] Compilation error in toms708.c during installation on Suse using icc
Guy Moebs
guy.moebs at univ-nantes.fr
Tue Feb 25 12:20:25 CET 2014
Hello,
I have to install R 3.0.2 on a computing center ressources for some of
our users and I encounter a compilation error. I take some times to
search on the Internet but I find nothing relevant so I send an email to
this list. If this is not the right one, please tell me which is more
suitable.
The installation is done on an Intel based server, running Suse 10.2.
Linux Erdre-m 2.6.16.60-0.59.1-smp #1 SMP Thu Jan 14 18:30:10 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
I use Intel compiler icc (v 12.1.4) and the corresponding MKL library
version.
I set the environment like this :
export OBJECT_MODE=64
source /opt/intel/composer_xe_2011_sp1.10.319/bin/compilervars.sh intel64
export CC="icc"
export CXX="icpc"
export F77="ifort"
export FC="ifort"
export AR="xiar"
export LD="xild"
export CFLAGS="-std=c99 -O2 -openmp -xHost -g -traceback"
export FFLAGS="-O3 -openmp -xHost -g -traceback"
export FCFLAGS="-O3 -openmp -xHost -g -traceback"
export CXXFLAGS="-std=c99 -O2 -openmp -xHost -g -traceback"
MKL_LIB_PATH=/opt/intel/composer_xe_2011_sp1.10.319/mkl/lib/intel64
OMP_LIB_PATH=/opt/intel/composer_xe_2011_sp1.10.319/compiler/lib/intel64
export LD_LIBRARY_PATH=${MKL_LIB_PATH}:${OMP_LIB_PATH}:${LD_LIBRARY_PATH}
export MKL=" -L${MKL_LIB_PATH} -L${OMP_LIB_PATH} -Wl,--start-group
-lmkl_gf_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -liomp5
-lpthread"
The configuration step is ok :
./configure --prefix=/ccipl/logiciels/R/3.0.2 --with-blas="$MKL"
--with-lapack --with-readline=no > configure.log 2>&1
but during the compilation phase I get a fatal error :
icc -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -std=c99 -O2 -openmp -xHost -g -traceback -c
toms708.c -o toms708.o
toms708.c(2078): based on template arguments #589: previously specified:
no exceptions will be thrown
toms708.c(2098): Remark: diag_message: missing type substitution
L40:
^
compilation aborted for toms708.c (code 4)
make[3]: *** [toms708.o] Erreur 4
make[3]: Leaving directory `/ccipl/users/gmoebs/SOFT/R/R-3.0.2/src/nmath'
And I don't know how to handle it.
Thank you in advance for your help.
Regards,
Guy Moebs
--
Laboratoire de Mathématiques Jean Leray
UMR 6629 CNRS - Université de Nantes
guy.moebs at univ-nantes.fr --- 02 51 12 59 40
More information about the R-help
mailing list