Results 1 to 1 of 1

Thread: Octave + MKL = improved performance

  1. #1
    Join Date
    Jan 2006
    Location
    Japan
    Beans
    33
    Distro
    Ubuntu 6.06

    Octave + MKL = improved performance

    According to this talk (http://www.austriangrid.at/symposium/talks/descher.pdf), huge performance gains can be achieved with OCTAVE if it is compiled against MKL. Although not free as in speech, the MKL library is free for noncommercial use. Here is a brief description

    Quote from INTEL
    "Intel® Math Kernel Library (Intel® MKL) offers highly optimized, extensively threaded math routines for scientific, engineering, and financial applications that require maximum performance."

    You can get it here :http://www.intel.com/cd/software/pro...eng/307757.htm

    Here is the necessary steps to compile OCTAVE

    1) Download and install the MKL library. Do not forget to check this link http://support.intel.com/support/per.../CS-027208.htm
    In the following, I assume that you installed it with the standard options (folders etc)

    2) Download the source code for octave.

    3) "Untar" the file: tar -xfvz <filename>

    4) Go to the source code folder

    5) ./configure --with-blas='-L/opt/intel/mkl/9.1.023/lib/32/ -lmkl -lpthread' --with-lapack='-mkl_lapack'

    (if you run into run into missing dependencies, you can easily fix them with synaptic)
    (If your version of the MKL library is different, change the above line to reflect the location of your version)

    6) make
    7) make install

    Now Octave is ready to rock
    Last edited by rlgc79; September 18th, 2007 at 04:36 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •