Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ZGETRS

sunny_wang0518
Beginner
510 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
498 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
459 Views

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

0 Kudos
Reply