Skip to content
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

Building with the MAGMA library #177

Open
Roaanf opened this issue Dec 18, 2024 · 0 comments
Open

Building with the MAGMA library #177

Roaanf opened this issue Dec 18, 2024 · 0 comments

Comments

@Roaanf
Copy link

Roaanf commented Dec 18, 2024

Hello,
I'm trying to build superlu_dist with the MAGMA library in order to use batched routines. My issue is that if I enable the Magma lib TPL flag, I get the following compilations errors :

superlu_dist/SRC/CplusplusFactor/batch_wrappers.h(97): error: identifier "magma_sgetrf_nopiv_vbatched" is undefined
      return magma_sgetrf_nopiv_vbatched(m, n, dA_array, ldda, dtol_array, info_array, batchCount, queue);
             ^

superlu_dist/SRC/CplusplusFactor/batch_wrappers.h(107): error: identifier "magma_dgetrf_nopiv_vbatched" is undefined
      return magma_dgetrf_nopiv_vbatched(m, n, dA_array, ldda, dtol_array, info_array, batchCount, queue);
             ^

superlu_dist/SRC/CplusplusFactor/batch_wrappers.h(117): error: identifier "magma_zgetrf_nopiv_vbatched" is undefined
      return magma_zgetrf_nopiv_vbatched(m, n, (magmaDoubleComplex **)dA_array, ldda, dtol_array, info_array, batchCount, queue);

Looking at the Magma documentation and source code, I can't seem to find these "nopiv_vbatched" routines but I can find "nopiv_batched" and "vbatched" routines.

Since the error doesn't occur for other Magma routines used in the batch_wrappers.h file, I don't think the issue is due to linking configuration errors.

Thanks in advance for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant