Internal consistency check failure when using DSS

Internal consistency check failure when using DSS

Hi there,

I am working on a project to use DSS to solve large sparse linear equations. However I met with internal consistency check failure. I could see no problem with my codes. Could anyone help me to figure the problem out? Thank you so much. The attached is my project file.

Download DSS_TEST.zip

8 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

For some reason, your attachment did not make it through. Is this an MKL solver you are calling?

Steve - Intel Developer Support

Yes. I am calling mkl_dss solver.

Here is my project file.

Download DSS_TEST.zip

Here is my project file.

Attachments: 

AttachmentSize
Download DSS_TEST.zip14.92 MB

Ok - I have moved this to the MKL forum.

Steve - Intel Developer Support

ok, we will look into the problem.

Best Reply

this is the problem with the test.

From MKL documentation:  DSS_REORDER:...

If opt contains the option MKL_DSS_MY_ORDER, then you must supply a permutation vector in the array perm. In this case, the array perm is of length nRows, where nRows is the number of rows in the matrix as defined by the previous call to dss_define_structure.

If opt contains the option MKL_DSS_GET_ORDER, then the permutation vector computed during the dss_reorder call is copied to the array perm. In this case you must allocate the array perm beforehand. The permutation vector is computed in the same way as if the option MKL_DSS_AUTO_ORDER is set.....

finally, making the following changes, should help:

!          error = dss_reorder( handle, MKL_DSS_GET_ORDER, Idum)
           error = dss_reorder( handle, MKL_DSS_AUTO_ORDER, Idum)

regards, Gennady

Thank you so much!

Problem solved.

Leave a Comment

Please sign in to add a comment. Not a member? Join today