Yen-R

From FarmShare

Revision as of 11:27, 2 November 2015 by Chekh (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Trying to compile a yen-specific R with Intel MKL. Following https://web.stanford.edu/group/proclus/cgi-bin/mediawiki/index.php/Software-R#admin_-_installing_R.2F3.1.0.mkl

as chekh on yen4

 mkdir /farmshare/software/free/r/yen-r
 wget https://cran.r-project.org/src/base/R-3/R-3.2.2.tar.gz
 tar zxvf R-3.2.2.tar.gz
 cd R-3.2.2/
 module load intel/2016
 CFLAGS="-O2 -march=native" CXXFLAGS="-O2 -march=native" FFLAGS="-O2 -march=native" FCFLAGS="-O2 -march=native" ./configure --with-blas="-L${MKLROOT}/lib/intel64 -lmkl_gf_lp64 -lmkl_sequential -lmkl_lapack95_lp64 -lmkl_core" --with-lapack --prefix=/farmshare/software/free/r/yen-r/ir --enable-R-shlib


That will use gcc but Intel MKL to compile it.

configure results:

R is now configured for x86_64-pc-linux-gnu

  Source directory:          .
  Installation directory:    /farmshare/software/free/r/yen-r/ir

  C compiler:                gcc -std=gnu99  -O2 -march=native
  Fortran 77 compiler:       gfortran  -O2 -march=native

  C++ compiler:              g++  -O2 -march=native
  C++ 11 compiler:           g++  -std=c++11 -O2 -march=native
  Fortran 90/95 compiler:    gfortran -O2 -march=native
  Obj-C compiler:	     gcc -g -O2 -fobjc-exceptions

  Interfaces supported:      X11, tcltk
  External libraries:        readline, BLAS(ATLAS), LAPACK(generic), zlib, bzlib, lzma, PCRE, curl
  Additional capabilities:   PNG, JPEG, TIFF, NLS, cairo, ICU
  Options enabled:           shared R library, R profiling

  Capabilities skipped:      
  Options not enabled:       shared BLAS, memory profiling

  Recommended packages:      yes
Personal tools
Toolbox
LANGUAGES