- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I compiled the example file mkl/examples/spblas/source/converters_c.c. I did not modify the file. Compilation went without any warnings or errors. When I try to run the created binary I get the following error:
EXAMPLE PROGRAM FOR CONVERTER FROM ONE
SPARSE FORMAT ROUTINES TO OTHER
MKL ERROR: Parameter 1 was incorrect on entry to MKL_DDNSCSR
Compiler was: icc version 11.1
Command line options (created with Intel MKL Link Line Advisor): -L$MKLPATH $MKLPATH/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread
The error appears on ubuntu 10.04 as well as on centos 5.4, both of them intel64.
I would be very thankful for getting this fixed.
Sren
EXAMPLE PROGRAM FOR CONVERTER FROM ONE
SPARSE FORMAT ROUTINES TO OTHER
MKL ERROR: Parameter 1 was incorrect on entry to MKL_DDNSCSR
Compiler was: icc version 11.1
Command line options (created with Intel MKL Link Line Advisor): -L$MKLPATH $MKLPATH/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread
The error appears on ubuntu 10.04 as well as on centos 5.4, both of them intel64.
I would be very thankful for getting this fixed.
Sren
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you linked with ILP64 MKL libraries you need to add compiler option -DMKL_ILP64 for C-compilation
Or please try to use LP64 model:
-L$MKLPATH $MKLPATH/libmkl_solver_lp64.a -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread
If you linked with ILP64 MKL libraries you need to add compiler option -DMKL_ILP64 for C-compilation
Or please try to use LP64 model:
-L$MKLPATH $MKLPATH/libmkl_solver_lp64.a -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you linked with ILP64 MKL libraries you need to add compiler option -DMKL_ILP64 for C-compilation
Or please try to use LP64 model:
-L$MKLPATH $MKLPATH/libmkl_solver_lp64.a -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread
If you linked with ILP64 MKL libraries you need to add compiler option -DMKL_ILP64 for C-compilation
Or please try to use LP64 model:
-L$MKLPATH $MKLPATH/libmkl_solver_lp64.a -Wl,--start-group -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Victor,
thanks for your fast reply. Both of your advices worked. Can you explain me the difference between ILP64 and LP64 please?
Sren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Shortly,
for ILP64: relationship between int, long and pointersuch thatall three are the same size
for LP64: int is just 32-bit but others are 64-bit
for ILP64: relationship between int, long and pointersuch thatall three are the same size
for LP64: int is just 32-bit but others are 64-bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
More details are in MKL docs. See for example:
http://www.intel.com/software/products/mkl/docs/linux/WebHelp/mkl_ug_structure/support_for_ilp64_programming.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
or the same info you can find into MKL User's Guide: see chapter 3, "Support for ILP64 Programming"
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page