- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am new to MKL library. I tried to use to use it to solve a sparse system matrix using “GMRES” functions in MKL library.
my way using ILP64 is:
#define MKL_ILP64
and my problem is call dfgmres_init(), RCI_request=-3689348814741910324.
Thank you very much
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @houjy,
Thanks for reaching out. That is not the way it works. oneMKL has separate sub-libraries/interface layer built for 32-bit integers (libmkl_lp64) and 64-bit integers (libmkl_ilp64). When you are compiling your application, you have to link to one of them based on what integer size you plan to use with oneMKL. For 64-bit integers, you also pass in -DMKL_ILP64 in the compile line for your application objects.
Please use the Intel Link Line Advisor for getting the correct link line for your application. The "Select interface layer" field of in the link is where you select 32- or 64-bit integers.
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much. I have used ILP64 successfully.
But I have another question,When I use fgmres to solve large systems of linear equations, some values in the ipar array are equal to -5589219598436180572
Thank you very much

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