- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my program, it has used my other libraries.
I want to use some blas rountines with integer in 64bit. But I don't want to change the other parts of the program.
So, I have to use blas in 64version and 32 version.
Is it possible? How can I do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The LP64 and ILP64 libraries contain routine names (e.g., sdot) that are the same, one for one. There is nothing in the name to indicate whether integer arguments are 4 or 8 bytes long. If the linker is presented with both sets of libraries, it has no basis for selecting one from each pair of routines. So, no, what you want is not possible given the present structure of the MKL libraries. You can, however, build your own custom library using the desired .OBJ files extracted from the MKL libraries, and specify to the linker that this library should be searched first.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The LP64 and ILP64 libraries contain routine names (e.g., sdot) that are the same, one for one. There is nothing in the name to indicate whether integer arguments are 4 or 8 bytes long. If the linker is presented with both sets of libraries, it has no basis for selecting one from each pair of routines. So, no, what you want is not possible given the present structure of the MKL libraries. You can, however, build your own custom library using the desired .OBJ files extracted from the MKL libraries, and specify to the linker that this library should be searched first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot, I'm trying it
mecej4 wrote:
The LP64 and ILP64 libraries contain routine names (e.g., sdot) that are the same, one for one. There is nothing in the name to indicate whether integer arguments are 4 or 8 bytes long. If the linker is presented with both sets of libraries, it has no basis for selecting one from each pair of routines. So, no, what you want is not possible given the present structure of the MKL libraries. You can, however, build your own custom library using the desired .OBJ files extracted from the MKL libraries, and specify to the linker that this library should be searched first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot, I'm trying it
mecej4 wrote:
The LP64 and ILP64 libraries contain routine names (e.g., sdot) that are the same, one for one. There is nothing in the name to indicate whether integer arguments are 4 or 8 bytes long. If the linker is presented with both sets of libraries, it has no basis for selecting one from each pair of routines. So, no, what you want is not possible given the present structure of the MKL libraries. You can, however, build your own custom library using the desired .OBJ files extracted from the MKL libraries, and specify to the linker that this library should be searched first.

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