Giter Site home page Giter Site logo

Support for gfortran ABI ? about flang HOT 5 OPEN

cournape avatar cournape commented on August 18, 2024 1
Support for gfortran ABI ?

from flang.

Comments (5)

friedc avatar friedc commented on August 18, 2024

Could you try out if including -fuse-ld=ld in the linker options solves the issue for you?

from flang.

jeffhammond avatar jeffhammond commented on August 18, 2024

I recommend just compiling BLAS/LAPACK with Flang. They are open-source. OpenBLAS and BLIS both accept a Fortran compiler argument if you want a high-performance BLAS library.

It is possible that BLIS does not yet know about the Flang ABI for DOT but that's a trivial bug to fix if it's reported (e.g. flame/blis#637).

from flang.

bryanpkc avatar bryanpkc commented on August 18, 2024

Binaries and .mod files produced with Flang are not compatible with those produced with gfortran. You have to build the application and all libraries with the same toolchain.

from flang.

vchuravy avatar vchuravy commented on August 18, 2024

Is there documentation on the Flange ABI? The original post mentioned scipy. Users like Julia and Python need to know the ABI in order to call fortran applications.

If the ABI is consistent with gfortran that makes our lives easier.

from flang.

jeffhammond avatar jeffhammond commented on August 18, 2024

At least part of it is described in https://releases.llvm.org/11.0.1/tools/flang/docs/Calls.html but I don't think that answers all the questions, in particular, the one here.

from flang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.