This version is outdated by a newer approved version.This version (2013/06/25 06:27) is a draft.
Approvals: 0/1
Approvals: 0/1
This is an old revision of the document!
Compilation of R
Version 3.0.1 on VSC-1
umask 0022 export LD_LIBRARY_PATH= source /opt/intel/composerxe/bin/compilervars.sh intel64 export CC=icc export CXX=icpc export FC=ifort export F77=ifort export FFLAGS="-O3" export CFLAGS="-O3" export CXXFLAGS="-O3" export FCFLAGS="-O3" MKL_LIB_PATH=/opt/intel/composerxe/mkl/lib/intel64 export SHLIB_LDFLAGS="-lpthread" export MAIN_LDFLAGS="-lpthread" MKL=" -L${MKL_LIB_PATH} \ -Wl,--start-group \ ${MKL_LIB_PATH}/libmkl_gf_lp64.a \ ${MKL_LIB_PATH}/libmkl_gnu_thread.a \ ${MKL_LIB_PATH}/libmkl_core.a \ -Wl,--end-group \ -lgomp -lpthread" export LDFLAGS="$MKL" ./configure --with-blas="$MKL" --with-lapack --prefix=/opt/sw/R-3.0.1 make make install LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/sw/R-3.0.1/lib64/R/lib