Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- Evaluating Intel Math Kernel Library

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted
##

atee1234

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-09-2011
08:29 AM

8 Views

Evaluating Intel Math Kernel Library

Hello, wehave developed a software for structural analysis and design.The software will use finite element analsysis for the purpose of analysisng structures. We would like to check the feasibility of the Intel Math Kernel library for finite element calculation purposes.

**Type of matrices**

We deal with matrices which are sparse i.e. many of its eleemnts are zero.

Operations required to be carried out using the matrices include;

i. Matrix multiplication

ii. Matrix addition

iii. Matrix subtraction

iv. Solving a system of linear simultaneous equations

Both iterative and non-iterative techniques are required to solve the system of linear simultaneous equations.

**Exercise**

We have the FE analysis calculations written in MathCAD and now would like to use the Intel Math Kernel Library to perform the above operations.

We are interested in using the Intel Math Kernel library to carry out the above stated calculations of matrices .We would like to like to have a demonstration/ evaluation version of the Intel Math Kernel library and would like to know how to go about using the functions/ sub-routines.

**Specific questions;**

i. We deal with matrices which are sparse (for carrying out finite element analysis).As you see these matrices, have a large number of elements 0. Does the Intel Math Kernel library have functions/ sub-routines that will convert a full matrix to sparse form by squeezing out any zero elements? OR Will the user of the Intel Math Kernel Library have to provide such a matrix (i.e. a matrix wherein the 0s are already squeezed out)?

ii. As we have the finite element calculations written in MathCAD, how do we go about using the Intel Math Kernel Library to evaluate its efficiency/ feasibility during the evaluation period? Any suggestions for these will be gratefully appreciated.

6 Replies

Highlighted
##

Atee1234

MKL library has several matrix format that supports sparse matrices (you only need to store non-zero values in your matrices).There are a few solvers provided that directly work with sparse matrices (PARDISO\DSS). Plus, the library also have many rouitines that does matrix computations (addition, multiplication, etc...) with different matrix types (sparse, banded, etc...).

I suggest you to read the documents that comes with the library. You will find most of the functionality you are asking in the library

bulent

Alemdar__Bulent

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-09-2011
08:38 AM

8 Views

MKL library has several matrix format that supports sparse matrices (you only need to store non-zero values in your matrices).There are a few solvers provided that directly work with sparse matrices (PARDISO\DSS). Plus, the library also have many rouitines that does matrix computations (addition, multiplication, etc...) with different matrix types (sparse, banded, etc...).

I suggest you to read the documents that comes with the library. You will find most of the functionality you are asking in the library

bulent

Highlighted
##

Thanks Bulent,

I'm in process of going through the documentation indetail.

Actually, the matrices we have (i.e the ones generated by our program) store non zero** AND zero values**.

Does it mean that the matrix we provide to theIntel Math Kernel Library sub-routines have to provide such a matrix (i.e. a matrix wherein the 0s are already squeezed out)?

Because in the documentation I read , regarding the Sparse BLAS Level 1 routines, it says;

*The Sparse BLAS Level 1 Routines and Functions and Sparse BLAS Level 2 Routines and Level 3 routines and functions operate on sparse vectors and matrices. These routines perform vector operations similar to the BLAS Level 1, 2, and 3 routines. The Sparse BLAS routines take advantage of vector and matrix sparsity: ***they allow you to store only non-zero elements of vectors and matrices.** Intel MKL also supports Fortran 95 interface to Sparse BLAS routines.

So, my question is (again re-stating):

*Does the Intel Math Kernel library have functions/ sub-routines (like SPARSE Blas Level 1 routines) that will convert a full matrix to sparse form by squeezing out any zero elements? OR Will the user of the Intel Math Kernel Library have to provide such a matrix (i.e. a matrix wherein the 0s are already squeezed out)?*

atee1234

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-09-2011
09:03 AM

8 Views

I'm in process of going through the documentation indetail.

Actually, the matrices we have (i.e the ones generated by our program) store non zero

Does it mean that the matrix we provide to theIntel Math Kernel Library sub-routines have to provide such a matrix (i.e. a matrix wherein the 0s are already squeezed out)?

Because in the documentation I read , regarding the Sparse BLAS Level 1 routines, it says;

Highlighted
##

yes, there are many of Sparse matrix convertes ( mkl_?dnscsr,mkl_?csrcooad etc)that convert sparse matrix from one storage format to another. Please refer to the Intel Reference Manual

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-09-2011
09:45 AM

8 Views

Highlighted
##

I created a Microsoft VC++ empty project.But when I go to project menu, I only find:Add Clas,Ad Wizard, Add Resource. I do not find : *Intel C++ Compiler XE > Use Intel C++ as sated here:http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/start/win/cpp/index.htm*

Please can anyone help?

atee1234

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-10-2011
02:01 PM

8 Views

Please can anyone help?

Highlighted
##

Please start with this article:http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-w...

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-10-2011
11:15 PM

8 Views

Highlighted
##

atee1234

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-14-2011
01:58 PM

8 Views

I'm not able to start the project--I dont get the option.Where are the example projects?

For more complete information about compiler optimizations, see our Optimization Notice.