Compile GNU Octave with ICC and MKL
- Use Intel compilers and MKL to compile
NumPyandSciPy
-
Install Intel C++ and Fortran compilers and MKL, which are free for academic use. Sourse the environment scripts:
$ source /*path-to-mkl*/bin/mklvars.sh intel64 $ source /*path-to-compilers*/linux/bin/compilervars.sh -arch intel64Check with some commands:
$ icc -v $ echo $LD_LIBRARY_PATH -
Download the latest stable
Octavefrom its website. -
Configure
Octave:TODO
-
Install
LaTeXand configureCLASS_PATHS.LaTeXis a prerequisite.$ sudo apt-get install tex-live-fullInside
octave/:$ export CLASSPATH=.:$CLASSPATH -
Make and install:
$ make $ make install
I have tried with Ubuntu 14.04. ICC version needs to be 2016 Update 3 (Update 2 didn’t work).