-
Notifications
You must be signed in to change notification settings - Fork 97
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
EXAMPLE/cfgmr.c:83:16: error: conflicting types for 'caxpy_' #113
Comments
This issue was already mentioned in #106 (comment) . @sagitter Can you check if https://github.com/wo80/superlu/tree/fix/examples-blas-prototypes makes a difference? If it fixes the problem, I'll create a PR. The return type is changed from |
Though the error message is a bit strange
since commit 5ad0fe1 actually removed the conflicting prototype declaration (but left the one not matching the other BLAS providers). |
This patch is not working: |
But now gcc is complaining about |
Updated the branch. Let's see if we're on the right track! |
Not yet; files patched:
|
I'm out of ideas. Just as a sidenote: compiling with
works fine for me on Debian, GCC 12.2 (releases 6.0.0, 6.0.1 and my branch). So I cannot reproduce, which makes it hard to track down the error. |
Please, confirm to me that these are your full changes on SuperLU-6.0.1: https://github.com/xiaoyeli/superlu/commit/481c28bebb04610363daa048db175f197ca9f512.patch PS |
Yes, both are correct! As the user in #106 (comment) also mentioned flexiblas, maybe we should look for the problem there? I tested with OpenBLAS and SuperLU's CBLAS. |
It looks like one change of line 34 was missing; now is compiling fine.
|
So the problem originates in a messed up patch of a previous commit, between 6.0.0 and 6.0.1? Anyways, I just compiled and installed FlexiBLAS. Both 6.0.1 release and my branch compile just fine using it as a BLAS provider. |
extern void ccopy_() is not consistent with the prototype in the internal CBLAS/ |
But it's consistent with the other BLAS providers and the changes in my branch https://github.com/wo80/superlu/tree/fix/examples-blas-prototypes EDIT: |
No, it derived by an older patch |
Hi all.
SuperLU-6.0.1 is not compiling because this error:
CMake configuration:
Environment:
Fedora 40 (devel branch)
GCC-13.2.1
The text was updated successfully, but these errors were encountered: