Comments (5)
Could you try out if including -fuse-ld=ld
in the linker options solves the issue for you?
from flang.
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.
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.
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.
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)
- [OMP_OFFLOAD_LLVM] Crash due to gbl.ompaccfile is NULL HOT 4
- [OMP_OFFLOAD_LLVM] Undefined references to .omp_offloading symbols HOT 3
- Regression caused by #PR1076 HOT 3
- Fix 'dllimport' code generation for opaque type
- Error while build classic flang with llvm 16.04 HOT 2
- SPEC2017 521_r run error HOT 14
- error: expected '(' HOT 2
- Incorrect information when the type-spec for the dimension of the function result contains the UBOUND intrinsic. HOT 2
- flang bug about cbind HOT 2
- Flang about its LLVM IR HOT 3
- The 'contiguous' attribute does not enforce an array passed to a subroutine to be contiguous
- flang-new version 17 and 18 compiler crash HOT 2
- 521.wrf_r segfaults when built with -flto=full -O2 HOT 17
- flang always produces debuginfo HOT 2
- [from discourse] Wrong understanding of the rules for lbound and ubound for non-pointer dummy arguments HOT 6
- Uninitialized stack variable during string initialization in a function that returns a string of the parametrized length
- `malloc(): corrupted top size` after allocating array of polymorphic data type elements
- [regression] An ICE while building libmbd after PR #1422 HOT 3
- ICE while building libmbd HOT 1
- Port Classic Flang to RISC-V HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flang.