[flang-dev] Can flang compile lapack and scalapack?

Steve Scalpone via flang-dev flang-dev at lists.llvm.org
Wed Apr 14 08:39:18 PDT 2021


Here’s what I know about compiling lapack from https://github.com/Reference-LAPACK/lapack.

Classic flang can compile and execute lapack.  https://github.com/flang-compiler/flang

New flang can’t execute lapack yet; its code generator is still being written.  https://github.com/llvm/llvm-project.

The code generator is being developed downstream of llvm-project in the fir-dev branch of https://github.com/flang-compiler/f18-llvm-project.  That branch can compile lapack but not yet compile all of the included test programs.

I expect that fir-dev will be able to execute the lapack test programs in a few months.  There’s an on-going project to upstream fir-dev to llvm-project; it’s hard to predict when all of the required code will be available in https://github.com/llvm/llvm-project.

- Steve


From: flang-dev <flang-dev-bounces at lists.llvm.org> on behalf of flang-dev <flang-dev at lists.llvm.org>
Reply-To: Ed D'Azevedo <dazevedoef at ornl.gov>
Date: Wednesday, April 14, 2021 at 8:23 AM
To: flang-dev <flang-dev at lists.llvm.org>
Subject: [flang-dev] Can flang compile lapack and scalapack?

External email: Use caution opening links or attachments

Dear Flang developers,

Can flang compile  commonly used Fortran library from netlib.org such as lapack and scalapack?

Just checking.

Thanks.

Ed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/flang-dev/attachments/20210414/ce522355/attachment-0001.html>


More information about the flang-dev mailing list