Intel® Math Kernel Library

Reduced Row Echelon Form of a matrix (rref)

Hi,

I'm newbie to the Intel  MKL library and I'm trying to convert a code from Matlab to C using the C interface of Intel MKL routines.

I haven't found a function to achieve the RREF of a matrix in Intel MKL. In fact, the RREF in Matlab performs gaussian elimination with partial pivoting and I want to apply it to a 5x9 matrix.

Here is an example of RREF applied to a 5x9 matrix A

Intel® C++ Composer XE 2013 SP1 for Windows*, Update 5

Intel® C++ Composer XE 2013 SP1 Update 5 includes the latest Intel C/C++ compilers and performance libraries for IA-32 and Intel® 64 architecture systems. This new product release now includes: Intel® C++ Compiler XE Version 14.0.5, Intel® Math Kernel Library (Intel® MKL) Version 11.1 Update 4, Intel® Integrated Performance Primitives (Intel® IPP) Version 8.1 Update 1, Intel® Threading Building Blocks (Intel® TBB) Version 4.2 Update 5, Intel(R) Debugger Extension 7.5-1.0 for Intel(R) Many Integrated Core Architecture.

New in this release:

  • Developers
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Windows*
  • C/C++
  • Intel® C++ Compiler
  • Intel® C++ Composer XE
  • Intel® Composer XE
  • Intel® Debugger
  • Intel® Integrated Performance Primitives
  • Intel® Math Kernel Library
  • Intel® Threading Building Blocks
  • Intel® C++ Composer XE 2013 SP1 for Linux*, Update 5

    Intel® C++ Composer XE 2013 SP1 Update 5 includes the latest Intel C/C++ compilers and performance libraries for IA-32, Intel® 64, and Intel® Many Integrated Core (Intel® MIC) architecture systems.

  • Developers
  • Linux*
  • C/C++
  • Intel® C++ Compiler
  • Intel® C++ Composer XE
  • Intel® Composer XE
  • Intel® Debugger
  • Intel® Integrated Performance Primitives
  • Intel® Math Kernel Library
  • Intel® Threading Building Blocks
  • Compilation error

    Hi

    I am trying to compile the C programme which uses the MKL subroutine.

    For example, mkl_scsrdia and mkl_scsrcoo,

    but when I am trying to compile it,

    I am getting error like this. It seems that I am not linking some path

    or flags during the compilation.

    icc one.c -L$MKLPATH -I$MKLINCLUDE -lmkl -liomp5 -lpthread

    one.c -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lsplas -lm -lmkl -lguide

    nothing wordks, got error like this

    CGEMM performance strangeness on Haswell CPUs vs. Sandy Bridge

    Hi All

    I have investigated the performance of the CGEMM algorithm using both my own sandy bridge CPU and my colleagues newer computer with a Haswell cpu. The calculation is measured as the number of complex multiply accumulate operations per second it can perform, here denoted as CMacs. I don't use any scaling and I don't add the the previous matrix, so I only calculate C = A * B.

    The setup:

    The number of Rows in A = 2^16

    Number of columns in A = 16

    Number of columns in B = 256

    GCMacs = A_r * A_c * B_c / time * 1e-9

    sparse pblas?

    Hello everyone,

    I am trying to use MKL to solve sparse matrix multiplication (i.e. C=A*B) in parallel. I found there is sparse blas for sequential code but I am wondering if there is a parallel version of it.

    Thanks,

    Likun

     

    mkl_peak_mem_usage does not reset ?

    Hello!

    i am using mkl_peak_mem_usage to measure mkl memory usage and despite i use mkl_peak_mem_usage(MKL_PEAK_MEM_RESET) , the counters are not zero. For example : 

    mkl_peak_mem_usage(MKL_PEAK_MEM_RESET) ; // reset peak

    printf( "memory peak : %lld\n", mkl_peak_mem_usage(MKL_PEAK_MEM_RESET)  ); // print peak and reset again

    // do some calculations

    printf( "memory peak : %lld\n", mkl_peak_mem_usage(MKL_PEAK_MEM_RESET)  ); // print new peak and reset

    Intel® Visual Fortran Composer XE 2013 SP1 for Windows*, Update 5

    Intel® Visual Fortran Composer XE 2013 SP1 Update 5 includes the latest Intel Fortran compilers and performance libraries for IA-32 and Intel® 64 architecture systems. This new product release now includes: Intel® Visual Fortran Compiler XE Version 14.0.5, Intel® Math Kernel Library (Intel® MKL) Version 11.1 Update 4, Intel® Debugger Extension 7.5-1.0 for Intel® Many Integrated Core Architecture (Intel® MIC Architecture)

    New in this release:

  • Developers
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Fortran
  • Intel® Composer XE
  • Intel® Fortran Compiler
  • Intel® Fortran Composer XE
  • Intel® Visual Fortran Composer XE
  • Intel® Debugger
  • Intel® Math Kernel Library
  • Intel® Fortran Composer XE 2013 SP1 for Linux*, Update 5

    Intel® Fortran Composer XE 2013 SP1 Update 5 includes the latest Intel Fortran compilers and performance libraries for IA-32, Intel® 64, and Intel® Many Integrated Core (Intel® MIC) architecture systems. This new product release now includes: Intel® Fortran Compiler XE Version 14.0.5, Intel® Debugger Version 13.0.0, GNU* Project Debugger (GDB*) 7.5, Intel® Math Kernel Library (Intel® MKL) Version 11.1 Update 4

    New in this release:

  • Developers
  • Linux*
  • Fortran
  • Intel® Composer XE
  • Intel® Fortran Compiler
  • Intel® Fortran Composer XE
  • Intel® Debugger
  • Intel® Math Kernel Library
  • Subscribe to Intel® Math Kernel Library