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

Link error #3

Closed
susilehtola opened this issue Dec 3, 2021 · 2 comments
Closed

Link error #3

susilehtola opened this issue Dec 3, 2021 · 2 comments

Comments

@susilehtola
Copy link
Collaborator

I gave a stab at packaging MOPAC for Fedora.

The compile fails in the link phase with

/usr/bin/ld: libmopac-all.so: undefined reference to `gemm_cublas_'

It looks like the GPU code isn't optional

@godotalgorithm
Copy link
Collaborator

Are you using the CMake script to compile, or are you doing something else? My best guess at this is that you are compiling all files in the source directory, which includes the "deprecated" directory that isn't part of the active source. The "deprecated" directory includes the old GPU support that doesn't function right now and needs to be updated, which is the only thing I am aware of that would introduce a cuBLAS dependency. I will be removing the "deprecated" folder eventually, and maybe now is a good time to do that to avoid anymore problems like this.

susilehtola added a commit that referenced this issue Dec 6, 2021
godotalgorithm added a commit that referenced this issue Dec 6, 2021
@godotalgorithm
Copy link
Collaborator

Fixed.

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