- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am hoping to use ZTFSM to solve a triangular system in the RPF/RFP format with and without transposition, i.e., A*X=B and A^T * x = B, where A is a triangular matrix stored in RFP format. The routine appears to function properly when trans = 'N', but when I specify trans = 'T' to solve the transpose problem A^T * X = B, I get the error "Intel MKL ERROR: Parameter 4 was incorrect on entry to ZTFSM ."
I also tried to hack around this issue by conjugating A and using trans = 'C' to denote the conjugate transpose. This results in an error on the order of 1e-3 for a 4x4 matrix.
Note that I am only changing the 'trans' flag; all other parameters remain fixed.
Am I using ZTFSM incorrectly? Is this a known bug?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting on Intel Communities. Kindly refer below link for usage regarding ZTFSM.
In addition, Could you please share us a sample reproducer and steps(if any), so that we could try reproducing the issue at our end.
Best regards,
Shanmukh.SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since the MKL example files did not (?) contain a test file for the ?TFSM routines, I took the example provided by NAG and modified it for use with MKL (remove references to NAG modules, provide parameter declaration for the real kind _wp, and replace the call to x04... by a simple PRINT *,IFAIL). The program ran and produced the correct result, using the current version of IFort and MKL (OneAPI 2022).
Please provide a reproducer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I figured out my mistake. I did not realize until reading the documentation for ZTRTTF that MKL expects the lower right triangle to be stored in conjugate-transpose form, rather than in transpose form. Things are working now. Sorry for the confusion, and thank you for the quick responses!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page