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

Linkage and compilation issues #13

Open
95A31 opened this issue Feb 19, 2022 · 3 comments
Open

Linkage and compilation issues #13

95A31 opened this issue Feb 19, 2022 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@95A31
Copy link

95A31 commented Feb 19, 2022

Hello,

I am experimenting with the library but when I compile my project using the .so file in the python package I get the error: undefined reference to `cuBool_Matrix_EWiseMult'. If I try to compile cuBool from sources I got some errors about limits and CUB. How I can solve this?

Best regards

@EgorOrachyov
Copy link
Collaborator

@95A31 Hi, thank you for your issue and for your interenst to the project.

  1. As I understand correctly, you try to use libcubool.so bundled within package to link to your project using cuBool.h from master latest source code version. I'am afraid, that won't work, since latest 1.2.0 package version was build without EWiseMult (ewisemult) operation. This operation was added later

  2. Could you tell more information about your environment (nvcc version, gcc version). Our library uses self-bundled CUB version for CUDA SDK 10.1 and earlier. In newer version CUB is part of the SDK, so this may cause a conflict

@EgorOrachyov EgorOrachyov added the bug Something isn't working label Feb 19, 2022
@EgorOrachyov EgorOrachyov self-assigned this Feb 19, 2022
@95A31
Copy link
Author

95A31 commented Feb 19, 2022

Hi @EgorOrachyov, you understand correctly. The issue with CUB seems exactly what you are describing. I am using nvcc 11.4 and gcc 11.3.

@EgorOrachyov
Copy link
Collaborator

Hi @EgorOrachyov, you understand correctly. The issue with CUB seems exactly what you are describing. I am using nvcc 11.4 and gcc 11.3.

@95A31 I am afraid, but currently we don't have enough resources and time to support this project. Mentioned issues can be fixed by minor cmake file modification (do not add cub if cuda 11 or greater) as well as by adding some missing include files (potentially required, since we have not tested on gcc >8 and newer thrust versions).

By the way, we will notify you in this thread if we get these issues fixed.

@EgorOrachyov EgorOrachyov added the help wanted Extra attention is needed label Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants