Skip to content
Prev 383 / 919 Next

Build rpm package for R-MKL

On Tue, Sep 8, 2015 at 7:36 PM, Tom Callaway <tcallawa at redhat.com> wrote:
For now, I just commented this hack part of the spec file.
I have some issues I do not understand with the icc compiler. Build is
going well, but at one point make complains:

make[2]: Entering directory '/home/poisonivy/rpmbuild/BUILD/R-3.2.1/src/unix'
icc -std=c99 -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H    -fpic  -ip -O3
-opt-mem-layout-trans=3 -xHost -mavx -fp-model precise -wd188
-DMKL_ILP64 -qopenmp -parallel
-I/opt/intel/compilers_and_libraries_2016.0.109/linux/mkl/include
-Wl,-z,relro  -DR_HOME='"/usr/lib64/R"' \
  -o Rscript ./Rscript.c
make[2]: icc: Command not found

Weird, as i had same line many times before with no complain. E.g:

icc -std=c99 -I. -I../../../src/include -I../../../src/include
-I/usr/local/include -DHAVE_CONFIG_H    -fpic  -ip -O3
-opt-mem-layout-trans=3 -xHost -mavx -fp-model precise -wd188
-DMKL_ILP64 -qopenmp -parallel
-I/opt/intel/compilers_and_libraries_2016.0.109/linux/mkl/include
-c libcurl.c -o libcurl.o

So no idea why, at this part of the process, icc is not found. Weird,
as building manually from source (no rpmbuild) is OK.