Skip to content

Instantly share code, notes, and snippets.

@ronert
Created May 24, 2013 18:36
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ronert/5645598 to your computer and use it in GitHub Desktop.
Save ronert/5645598 to your computer and use it in GitHub Desktop.
export MKLROOT="/opt/intel/composer_xe_2013.3.171/mkl"
export MKL=" -L${MKLROOT}/lib ${MKLROOT}/lib/libmkl_blas95_ilp64.a ${MKLROOT}/lib/libmkl_lapack95_ilp64.a -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -lmkl_gf_ilp64"
export arch=x86_64
export r_arch=x86_64
export CC="gcc -arch x86_64 -std=gnu99"
export CXX="g++ -arch x86_64"
export OBJC="clang"
export F77="gfortran -arch x86_64"
export FC="gfortran -arch x86_64"
export CFLAGS='-g -O2'
export CXXFLAGS='-g -O2'
export FCFLAGS='-g -O2'
export F77FLAGS='-g -O2'
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
./configure --with-blas="${MKL}" --with-lapack --with-aqua --with-system-zlib --enable-memory-profiling --enable-R-framework --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-tcltk=/usr/local/lib --disable-openmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment