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

Update FindCUDAToolkit.cmake #348

Closed
wants to merge 1 commit into from
Closed

Conversation

stomov
Copy link

@stomov stomov commented Mar 15, 2022

Without specifying this to the search path, find_package FindCUDAToolkit can not find the CUDA math libraries (at least this was the case on Perlmutter @ NERSC). I am not sure if
../../math_libs/lib64
should stay in the search path and add this as well:
${CUDAToolkit_TARGET_DIR}/../../math_libs/lib64
or just have the latter.

Thanks for your interest in contributing to CMake! The GitHub repository
is a mirror provided for convenience, but CMake does not use GitHub pull
requests for contribution. Please see

https://gitlab.kitware.com/cmake/cmake/-/tree/master/CONTRIBUTING.rst

for contribution instructions. GitHub OAuth may be used to sign in.

Without specifying this to the search path, the find can not find the CUDA math libraries (on Perlmutter @ NERSC).
@bradking
Copy link
Member

@stomov the path you updated is meant to be a suffix added to other search paths. Please open an issue to report the problem you're encountering for further discussion.

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