stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

Ensure string lengths are provided as arguments when calling BLAS/LAPACK Fortran APIs from C

Open kgryte opened this issue 4 years ago • 1 comments

Checklist

Please ensure the following tasks are completed before filing a bug report.

  • [x] Read and understood the Code of Conduct.
  • [x] Searched for existing issues and pull requests.

Description

Description of the issue.

As discussed elsewhere,

  • https://developer.r-project.org/Blog/public/2019/05/15/gfortran-issues-with-lapack/
  • https://github.com/scipy/scipy/issues/10335
  • https://lwn.net/Articles/791393/

a bug arose due to changes in the GFortran compiler when calling from C into Fortran in the reference BLAS/LAPACK implementations. We should be aware of this bug, as we work to include BLAS wrappers in the codebase.

Related Issues

Does this issue have any related issues?

No.

Questions

Any questions for reviewers?

No.

Other

Any other information relevant to this issue? This may include screenshots, references, stack traces, sample output, and/or implementation notes.

N/A

kgryte avatar Jan 12 '21 06:01 kgryte