I would like to build R and packages with the Intel 10.1 compilers in RHEL4.
Using the flags below, I can successfully build R using a vanilla
./configure, but when I install new packages they build with gcc. My
sysadmin suggested adding the flags to ./configure as illustrated below, but
then the R build blows up with the config tail output that follows far
below. It looks like gcc is still being searched for. I did read the R
install and admin manual but could not find an answer. Help?

CC=icc
CFLAGS="-fast -unroll"
F77=ifort
FLAGS="-fast -unroll"
CXX=icpc
CXXFLAGS="-fast -unroll"
FC=ifort
FCFLAGS="-fast -unroll"
LDFLAGS="-L$ICC_LIBS -L$IFC_LIBS -L/usr/local/lib64"
SHLIB_CXXLD=icpc
../configure --prefix=/N/u/mkimpel/Quarry/R_HOME/R-patched/R-build\
CC=icc CFLAGS="-fast -unroll -wd188" F77=ifort FFLAGS="-fast -unroll" \
CXX=icpc CXXFLAGS="-fast -unroll" FC=ifort FCFLAGS="-fast -unroll" \
ICC_LIBS=/N/soft/linux-rhel4-x86_64/intel/cce/10.1.013/lib \
IFC_LIBS=/N/soft/linux-rhel4-x86_64/intel/fce/10.1.013/lib \
LDFLAGS="-L$ICC_LIBS -L$IFC_LIBS -L/usr/local/lib64" \
SHLIB_CXXLD=icpc; gmake; gmake install
###########################

checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


-- 
Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine

15032 Hunter Court, Westfield, IN 46074

(317) 490-5129 Work, & Mobile & VoiceMail
(317) 663-0513 Home (no voice mail please)

******************************************************************

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to