Hi Arturo,
Currently, there is no header file for the SLATE LAPACK API,
The LAPACK compatibility API can be used in the same way that one would use the Fortran LAPACK interface directly from C.
When using the Fortran interface directly, the Fortran function prototypes are usually declared with the desired name mangling.
For example, if the Fortran name mangling adds underscores, then the function definition (from C) would be
int dgetrf_(int *m, int *n, double *a, int *lda, int *ipiv, int *info);
To use the SLATE compatibility API, you need to prepend the function declaration and call with "slate_"
int slate_dgetrf_(int *m, int *n, double *a, int *lda, int *ipiv, int *info);
This will call the SLATE dgetrf implementation.
At link time, the SLATE libraries need to precede the MKL libraries. eg.
.... -lslate_lapack_api -lslate -llapackpp -lblaspp -lmkl_gf_lp64 -lmkl_sequential -lmkl_core
See the example in the SLATE repository at:
The comment lines at the top contain a suggestion of how to compile this example.
There is additional information in the README file here:
Regards,
Asim YarKhan