- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
I am trying to use Pardiso to solve sparse linear equations. As a new user of Pardiso, i just do some simple modification of the example. The program read in the matrix and right hand values (ia, ja, a, b) from files, solve the equations and then output x to files. It is strange to find out that for the first two tests with small matrix size (5*5 and 552*552), the result is correct. But for the last two tests with large matrix size (7728*7728), all the results is nan, but the pardiso doesn't give any error.
The system is win7 x64, intel parallel studio xe2013, build win32 release.
Can anybody give me some advice or help me to check?
Thanks and regards,
Daniel
Link Copied
- 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
mecej4 wrote:Hi, I choose another ten matrix of size 246*246 with non-zero elements of 4356. This time, pardiso "can" solve but produce "error" results. The matrix is from our previous work, and I attached the correct results in the folder Release/correct_result that was solved by the other solver. Maybe the configuration is not correct in Pardiso, but I just don't know why. Thanks for you help.Regarding your second test-case for the problem A x = b: Your r.h.s. vector b is zero. Unless A is singular, the solution is x = 0. Therefore, this is not much of a test.
In effect, then, you have only verified that the 5 X 5 test-case worked correctly. You may consider creating some medium-size test cases with b not equal to zero.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Alexander Kalinkin (Intel) wrote:Alexander, I agree that the mere fact that the determinant is small need not let one conclude that the matrix is singular. However, the estimate of the condition number of the matrix in the case under question is (from Matlab) 7 x 1035, from which one may suspect that the matrix is likely to cause problems.Mecej4,
The determinant of matrix A=10^{-1}*(identity matrix) with size of 10000x10000 is equal to 10^{-10000} but it doesn't singular and can't be solved by any direct method without any problem.
- 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
Hi All,
The problem is solved. I made a stupid mistake as the sparse matrix structure is different from the conventional format. Now it works fine.
Thanks to you all.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page