Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does ATLAS provide a standard C interface to LAPACK?

Atlas interface LAPACK standard
0
Posted

Does ATLAS provide a standard C interface to LAPACK?

0

The short answer is no, and neither does anyone else. As far as I know, there has been no official standardization of a C interface to LAPACK. In the absence of a standard, each library is free to do things differently. For instance, netlib provides something called clapack, which is the result of running lapack through f2c on a particular platform. This means all paremeters must be passed by reference, names have an underscore appended, etc. ATLAS does not support this adhoc interface, though you can use ATLAS to provide the BLAS for netlib clapack, as mentioned here. I believe most of the vendors provide some C interface to LAPACK; I think most of them just use the same name (eg, F77’s DGESV becomes dgesv), and the scalars become pass-by-value. ATLAS provides a C interface to the LAPACK routines natively provided by ATLAS, which is based on the standardized C interface to the BLAS. These routines are prefixed with clapack_, and their prototypes can be found in ATLAS/include/clapack.h

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123