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

Compilation Error #626

Open
MLDL-YY opened this issue Nov 30, 2023 · 5 comments
Open

Compilation Error #626

MLDL-YY opened this issue Nov 30, 2023 · 5 comments

Comments

@MLDL-YY
Copy link

MLDL-YY commented Nov 30, 2023

Hello, sir.
I'm compiling QUIP in parallel and I'm getting this error. May I ask what this is due to? I would be grateful for any advice.
c0c81b944651f164a24ea81390f707f
image

@jameskermode
Copy link
Member

jameskermode commented Nov 30, 2023

Those look like missing LAPACK/BLAS functions, so probably your MATH_LINKOPTS is wrong

@MLDL-YY
Copy link
Author

MLDL-YY commented Nov 30, 2023

Those look like missing LAPACK/BLAS functions, so probably your MATH_LINKOPTS is wrong

I compiled these libraries without prompting any errors and completed the compilation successfully.

@MLDL-YY
Copy link
Author

MLDL-YY commented Nov 30, 2023

Those look like missing LAPACK/BLAS functions, so probably your MATH_LINKOPTS is wrong

The problems seem to be related to scalapack, but I'm not getting errors when I compile it either.

@jameskermode
Copy link
Member

It could be the link order: can you paste the final failing link command? It might well be that you need to link LAPACK after ScaLAPACK so that dependencies of ScaLAPACK on LAPACK can be resolved, e.g. via

EXTRA_LINK_OPTS=-L/path/to/libs -lscalapack -llapack -lrefblas

@MLDL-YY
Copy link
Author

MLDL-YY commented Nov 30, 2023

It could be the link order: can you paste the final failing link command? It might well be that you need to link LAPACK after ScaLAPACK so that dependencies of ScaLAPACK on LAPACK can be resolved, e.g. via

EXTRA_LINK_OPTS=-L/path/to/libs -lscalapack -llapack -lrefblas

Ok, thanks for the suggestion, I'll try it.

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

2 participants