Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

ZGETRS

sunny_wang0518
Beginner
195 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
Black Belt
183 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.

sunny_wang0518
Beginner
144 Views

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

Reply