- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems you miss mkl_core.lib into your linking line.
Please try the following linking line for the
mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems you miss mkl_core.lib into your linking line.
Please try the following linking line for the
mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
--Gennady
mkl_intel_thread.lib
mkl_core.lib
libiomp5md.lib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jay,what MKL version you are using? Could you please look into mklsupport.txt file and let us know the PackageID you can find there.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jay,what MKL version you are using? Could you please look into mklsupport.txt file and let us know the PackageID you can find there.
--Gennady
Package Contents: Intel Math Kernel Library 10.0 Update 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Test 0: matrix copy constructor
is equal: 1
Test 1: reference vs mkl
error norm: 1.40368e+069
A equals A0: 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Test 0: matrix copy constructor
is equal: 1
Test 1: reference vs mkl
error norm: 1.40368e+069
A equals A0: 1
is equal: 1
Test 1: reference vs mkl
error norm: 1.23211e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 9.86824e+006
error norm 13: 1.97365e+007
error norm 14: 2.96047e+007
A equals A0: 1
x - x0 norm: 0
Test 0: matrix copy constructor
is equal: 1
Test 1: reference vs mkl
error norm: 1.23211e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
~~~~~~~~~~~~~~~~~~~~~~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
see the output i've got with version 10.1:
Test 0: matrix copy constructor
is equal: 1
Test 1: reference vs mkl
error norm: 1.39258e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
Press any key to continue . . .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
see the output i've got with version 10.1:
Test 0: matrix copy constructor
is equal: 1
Test 1: reference vs mkl
error norm: 1.39258e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
Press any key to continue . . .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MKL sparse matrix-vector multiply test
****************************************
Running with 1 thread
Creating square matrix with 100000 rows
Fill factor = 0.00574441
Constucting A..........done!
Test 1: reference vs mkl
error norm: 9.07218e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
****************************************
MKL sparse matrix-vector multiply test
****************************************
Running with 2 threads
Creating square matrix with 100000 rows
Fill factor = 0.00574441
Constucting A..........done!
Test 1: reference vs mkl
error norm: 9.07218e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 9.87039e+006
error norm 13: 1.97408e+007
error norm 14: 1.00678e+009
A equals A0: 1
x - x0 norm: 0
MKL sparse matrix-vector multiply test
****************************************
Running with 1 thread
Creating square matrix with 200000 rows
Fill factor = 0.012042
Constucting A..........done!
Test 1: reference vs mkl
error norm: 2.39593e-007
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
****************************************
MKL sparse matrix-vector multiply test
****************************************
Running with 2 threads
Creating square matrix with 200000 rows
Fill factor = 0.012042
Constucting A..........done!
Test 1: reference vs mkl
error norm: 2.39593e-007
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
....
I've uploaded my project (including the exe if you really trust me!). I also uploaded the output of Dependency Walker so you can see what its dynamically linked against.
....
Do you mean attachment you sent at April.13?
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
....
I've uploaded my project (including the exe if you really trust me!). I also uploaded the output of Dependency Walker so you can see what its dynamically linked against.
....
Do you mean attachment you sent at April.13?
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quote: ".... even when mkl_set_num_cpu(2) is chosen"
Do you mean mkl_set_num_threads(int)?
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quote: ".... even when mkl_set_num_cpu(2) is chosen"
Do you mean mkl_set_num_threads(int)?
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked this new test with MKL 10.1 and MKL 10.2 beta
On win32 and WinXP64 with different threads running on ( 1 8 )
All work well. See below the output I ve got
Win32. MKL 10.1 upadate2 and MKL 10.2 beta
****************************************
MKL sparse matrix-vector multiply test
****************************************
Running with 1 thread
Creating square matrix with 100000 rows
Fill factor = 0.00574441
Constucting A..........done!
Test 1: reference vs mkl
error norm: 9.07362e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
Press any key to continue . . .
Win64. MKL 10.1 upadate2 and MKL 10.2 beta
mkl_solver_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
mkl_set_num_threads(1, 2, 4, or 8 )
****************************************
MKL sparse matrix-vector multiply test
****************************************
Running with 1 thread
Creating square matrix with 100000 rows
Fill factor = 0.00574441
Constucting A..........done!
Test 1: reference vs mkl
error norm: 9.07362e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
Press any key to continue . . .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked this new test with MKL 10.1 and MKL 10.2 beta
On win32 and WinXP64 with different threads running on ( 1 8 )
All work well. See below the output I ve got
Win32. MKL 10.1 upadate2 and MKL 10.2 beta
****************************************
MKL sparse matrix-vector multiply test
****************************************
Running with 1 thread
Creating square matrix with 100000 rows
Fill factor = 0.00574441
Constucting A..........done!
Test 1: reference vs mkl
error norm: 9.07362e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
Press any key to continue . . .
Win64. MKL 10.1 upadate2 and MKL 10.2 beta
mkl_solver_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
mkl_set_num_threads(1, 2, 4, or 8 )
****************************************
MKL sparse matrix-vector multiply test
****************************************
Running with 1 thread
Creating square matrix with 100000 rows
Fill factor = 0.00574441
Constucting A..........done!
Test 1: reference vs mkl
error norm: 9.07362e-008
A equals A0: 1
Test 2: mkl multiple calls
error norm 12: 0
error norm 13: 0
error norm 14: 0
A equals A0: 1
x - x0 norm: 0
Press any key to continue . . .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jay,
It's not clear for me what version you are talking about?
Into our registration center I've found that you got MKL 10.1 and I am little confused with it.
We had the similar problem ( MKL 10.0 ) with mkl_cspblas_dcsrsymv routine but it was fixed in 10.1.
Have you had opportunity to check this problem with 10.1?
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jay,
It's not clear for me what version you are talking about?
Into our registration center I've found that you got MKL 10.1 and I am little confused with it.
We had the similar problem ( MKL 10.0 ) with mkl_cspblas_dcsrsymv routine but it was fixed in 10.1.
Have you had opportunity to check this problem with 10.1?
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jai,
Ive checked the scalability results with 10.1 u2 on win64 ( see below the results )
There is no scalability at all with the matrix you provided.
We will investigate the problem and inform you if any news.
Thanks for the issue.
****************************************
MKL sparse matrix-vector multiply test
#1
****************************************
Creating square matrix with 200000 rows
Fill factor = 0.012042
Constucting A..........done!
Test 1: reference vs mkl
mkl_cspblas_dcsrsymv running is = 0.078933 SIZE == 200000 #THREAD == 1
mkl_cspblas_dcsrsymv running is = 0.079010 SIZE == 200000 #THREAD == 2
mkl_cspblas_dcsrsymv running is = 0.082317 SIZE == 200000 #THREAD == 4
mkl_cspblas_dcsrsymv running is = 0.087804 SIZE == 200000 #THREAD == 8
Press any key to continue . . .
#2
Creating square matrix with 100000 rows
Fill factor = 0.00574441
Constucting A..........done!
Test 1: reference vs mkl
mkl_cspblas_dcsrsymv running is = 0.039769 SIZE == 100000 #THREAD == 1
mkl_cspblas_dcsrsymv running is = 0.040521 SIZE == 100000 #THREAD == 2
mkl_cspblas_dcsrsymv running is = 0.039576 SIZE == 100000 #THREAD == 4
mkl_cspblas_dcsrsymv running is = 0.031763 SIZE == 100000 #THREAD == 8
Press any key to continue . . .
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
------------------
2 | 0.74
4 | 0.75
8 | 0.85
16 | 1.1
32 | 1.23
64 | 1.27
128 | 1.36
256 | 1.5
512 | 1.67
1024 | 1.78
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page