Intel® oneAPI Math Kernel Library Developer Reference - Fortran
The following list presents general digressions of the Intel® oneAPI Math Kernel Library LAPACK95 implementation from the Netlib analog:
You can transform an application that uses the Netlib LAPACK interfaces to ensure its work with the Intel® oneAPI Math Kernel Library interfaces providing that:
You should transform your application in the following cases:
When using the Netlib routines that differ from the Intel® oneAPI Math Kernel Library routines only by theLA_ prefix or in the array attribute target. The only transformation required in this case is context name replacement.
When using Netlib routines that differ from the Intel® oneAPI Math Kernel Library routines by theLA_ prefix, the target array attribute, and the names of formal arguments. In the case of positional passing of arguments, no additional transformation except context name replacement is required. In the case of the keywords passing of arguments, in addition to the context name replacement the names of mismatching keywords should also be modified.
When using the Netlib routines that differ from the respective Intel® oneAPI Math Kernel Library routines by theLA_ prefix, the targetarray attribute, sequence of the arguments, arguments missing in Intel® oneAPI Math Kernel Library but present in Netlib and, vice versa, present in Intel® oneAPI Math Kernel Library but missing in Netlib. Remove the differences in the sequence and range of the arguments in process of all the transformations when you use the Netlib routines specified by this bullet and the preceding bullet.
When using the getrf, gbtrf, and potrfinterfaces, that is, new functionality implemented in Intel® oneAPI Math Kernel Library but unavailable in the Netlib source. To override the differences, build the desired functionality explicitly with the Intel® oneAPI Math Kernel Library means or create a new subroutine with the new functionality, using specific MKL interfaces corresponding to LAPACK 77 routines. You can call the LAPACK 77 routines directly but using the new Intel® oneAPI Math Kernel Library interfaces is preferable. Note that if the transformed application callsgetrf, gbtrf or potrf without controlling arguments rcond and norm, just context name replacement is enough in modifying the calls into the Intel® oneAPI Math Kernel Library interfaces, as described in the first bullet above. The Netlib functionality is preserved in such cases.
When using the Netlib auxiliary routines. In this case, call a corresponding subroutine directly, using the Intel® oneAPI Math Kernel Library LAPACK 77 interfaces.
Transform your application as follows: