-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration with upstream Fortran LAPACK ignores F77
environmental variable
#102
Comments
We're looking at it. Prior to #89 there was no Fortran in libflame - so |
#106 hopefully addresses this issue. |
Something is still not quite right. When I specify
However, it works when I specify both
|
I think we need to be careful.
They can both be different. Lines 1693 to 1710 in f38dd83
I am now specifying all four ( |
At the linking stage, I now also get these errors related to the lapack library (when using
|
Currently only FC is supported for building the fortran files. Flags are not currently passed when building them. Lines 580 to 584 in f38dd83
Usage can be found here: Lines 1673 to 1676 in f38dd83
But it might also work in the method you've invoked it. I think it is defaulting to FC because 'flang' is not in the list of FC options. Those can be found here: Line 3651 in f38dd83
|
Interesting. So the flags were only used for the internal
In the first comment, I was specifying It seems like Since you only use Also, building LAPACK with |
Adding FCFLAGS to building LAPACK is something I will discuss with others. I see how it would be helpful. Were you able to get your linkage issue resolved? |
I am trying to compile libflame with clang/flang. I specify the compilers via environmental variables like this:
Compilation used to work just fine, but now I get the error that the command
f77
was not found:I ran a
git bisect
session and identified 74b56a2 (#89) as the first bad commit.It seems like the
F77
compiler specified via environmental variables is ignored when building the upstream versions of the LAPACK library. Can you confirm that?In the meantime, adding the configuration option
--enable-legacy-lapack
works as a workaround.The text was updated successfully, but these errors were encountered: