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

[QST] example_60 cmake error #1849

Closed
haeunlee99 opened this issue Sep 30, 2024 · 2 comments
Closed

[QST] example_60 cmake error #1849

haeunlee99 opened this issue Sep 30, 2024 · 2 comments

Comments

@haeunlee99
Copy link

haeunlee99 commented Sep 30, 2024

When I set, export CUTLASS_DIR=/disk/cutlass/build/install, and run cmake .. for example_60 in build directory, it gives me this error.

-- Using CUTLASS specified at /disk/cutlass/build/install.
CMake Error at /disk/cutlass/build/NvidiaCutlassConfig.cmake:9 (include):
include could not find requested file:

/disk/cutlass/build/NvidiaCutlassTargets.cmake

Call Stack (most recent call first):
CMakeLists.txt:47 (find_package)

-- CUTLASS: /disk/cutlass/build/
-- Configuring incomplete, errors occurred!
See also "/disk/cutlass/examples/60_cutlass_import/build/CMakeFiles/CMakeOutput.log".

If I set, export CUTLASS_DIR=/disk/cutlass/build, I still get same error.

When I type "find . -name NvidiaCutlassTargets.cmake" in "/disk/cutlass/build", I get below so NvidiaCutlassTargets.cmake does exist.

./install/lib/cmake/NvidiaCutlass/NvidiaCutlassTargets.cmake
./CMakeFiles/Export/lib/cmake/NvidiaCutlass/NvidiaCutlassTargets.cmake

When I change "include("${NvidiaCutlass_CMAKE_DIR}/NvidiaCutlassTargets.cmake")" to "include("/disk/cutlass/build/install/lib/cmake/NvidiaCutlass/NvidiaCutlassTargets.cmake")", it compiles.

What is the possible issue...? I am new to cmake. Why is "NvidiaCutlass_CMAKE_DIR" not being detected correctly?
I am pretty sure rest of build has succeeded.

@thakkarV
Copy link
Collaborator

thakkarV commented Oct 7, 2024

@d-k-b can you help please?

@thakkarV
Copy link
Collaborator

thakkarV commented Oct 7, 2024

@haeunlee99 please include your build steps to reproduce this and all relevant software version and system env info

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

No branches or pull requests

2 participants