Message-ID: <77BE9397-EB98-4090-917F-CA77CFA277DB@uni-bonn.de>
Date: 2013-11-07T12:56:35Z
From: Simon Zehnder
Subject: Build R with Intel Compiler
I am trying to build R with an Intel Compiler (14.0.3). Has anyone before done it and could give me a hint for the configuration?
I am sourcing the compilervars.sh for Intel and then configure R with
./R-3.0.2/configure OBJC="clang" --enable-R-framework=/usr/local/R/R-intel --x-includes=/usr/X11/include/ --x-libraries=/usr/X11/lib/ --enable-memory-profiling --with-blas="$MKL" --with-lapack
Further Variables are:
CFLAGS=?-O3 -ipo -openmp -xHost?
CXXFLAGS=?-O3 -ipo -openmp -xHost?
MKL=?-lmkl_gf_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread?!
I get always the same error:
/opt/intel/composer_xe_2013_sp1.1.103/bin/intel64/icc -std=gnu99 -I../../../R-3.0.2/src/extra/zlib -I../../../R-3.0.2/src/extra/bzip2 -I../../../R-3.0.2/src/extra/pcre -I../../../R-3.0.2/src/extra -I../../../R-3.0.2/src/extra/xz/api -I. -I../../src/include -I../../../R-3.0.2/src/include -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O3 -ipo -openmp -xHost -c ../../../R-3.0.2/src/main/Rmain.c -o Rmain.o
/opt/intel/composer_xe_2013_sp1.1.103/bin/intel64/icc -std=gnu99 -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR
Undefined symbols for architecture x86_64:
"___kmpc_begin", referenced from:
_main in ipo_icc4xtjyH.o
"___kmpc_end", referenced from:
_main in ipo_icc4xtjyH.o
ld: symbol(s) not found for architecture x86_64
Any clue what this could be?
Best
Simon