Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

ZGETRS

sunny_wang0518
Beginner
1,123 Views

hi

 

got this error when tried to use ZGETRS

Intel MKL ERROR: Parameter 6 was incorrect on entry to ZLASWP

Any one knows about this?

0 Kudos
2 Replies
mecej4
Honored Contributor III
1,111 Views

Please provide more details. If possible, provide a short program that calls ZGETRS and exhibits the error.

The MKL distribution contains an example driver, ZGETRSX.f, for this subroutine. I tried it just now, and it works fine. The sixth argument of ZLASWP is just the pivot array. If that caused an error, perhaps you are mixing integer arrays of the wrong kind or your are not choosing the correct LP64/ILP64 libraries. Again, to pinpoint the error you need to show us details regarding how you call ZGETRS.

0 Kudos
sunny_wang0518
Beginner
1,072 Views

thanks for reply, problem solved when i define IPIV to be integer

0 Kudos
Reply