Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Bug in *GESVD when using MPI

John_Young
New Contributor I
668 Views

Hi,

Attached is a test case and screenshots where ZGESVD is sometimes computing the wrong lwork value when using MPI. This is the regular Lapack ZGESVD and not the Scalapack PZGESVD.  I have not checked, but I assume it occurs for all the *GESVD and not just ZGESVD.  If I remove the MPI specific code so I can run directly without using 'mpiexec', then the bug does not occur.  It only occurs when running with mpiexec to load the MPI library.  It also only occurs when one (or both) of the svd job types is 'N'.  If both svd job types are 'S', then it doesn't occur.

My platform is Windows 7, MKL 11.0.5, MPI 4.0.3.009.

Thanks, John

0 Kudos
8 Replies
Gennady_F_Intel
Moderator
668 Views

I don't see any files attached.  Could you show all of these?

0 Kudos
John_Young
New Contributor I
668 Views

Not sure how the files didn't get uploaded. Here they are.

0 Kudos
Gennady_F_Intel
Moderator
668 Views

Ok, I see the log now. You linking with integer8, so then can you please try to compile with /4I8.     or try to use integer4 instead of integer8 -- by another words use lp64 libraries instead of ilp64.

 

0 Kudos
John_Young
New Contributor I
668 Views

Even with lp64 and 4-byte integers everywhere I see the error.  Attached are the updated test file and compile/run output.

0 Kudos
Gennady_F_Intel
Moderator
668 Views

pls try the latest version 11.1 -- the simialar problem was fixed into this version.

See the Bug Fixed list : http://software.intel.com/en-us/articles/intel-mkl-111-bug-fixes  -- 

DPD200351579 Incorrect workspace size returned by query to DGESVD in MKL 11.0.5
0 Kudos
John_Young
New Contributor I
668 Views

Gennady,

Even with MKL 11.1, I still see the error.  I attached a simpler test case that does not use MPI but still exhibits the error.

Thanks.

0 Kudos
John_Young
New Contributor I
668 Views

Gennady,

In my previous post, I had downloaded MKL 11.1 but not the latest update.  When I use the latest version of MKL 11.1, the issue is resolved.  Thanks for your help.

John

0 Kudos
John_Young
New Contributor I
668 Views

Gennady,

In my previous post, I had downloaded MKL 11.1 but not the latest update.  When I use the latest version of MKL 11.1, the issue is resolved.  Thanks for your help.

John

0 Kudos
Reply