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

Cannot build with CUDA flag set ON #678

Closed
finkeljos opened this issue Jan 26, 2024 · 3 comments
Closed

Cannot build with CUDA flag set ON #678

finkeljos opened this issue Jan 26, 2024 · 3 comments

Comments

@finkeljos
Copy link

Hi,

I am trying to build hiOp on an Nvidia GPU node on my local cluster.

After a fresh clone on the develop branch, I enter an empty build dir enter the command

cmake -DHIOP_USE_GPU=ON -DHIOP_USE_CUDA=ON -DCMAKE_BUILD_TYPE=Release ..

But when building the compiler complains that

Picture1.pdf

I don't understand why the .cpp code has any mention of RAJA if I am not explicitly enabling it. Is there a missing ifdef in this file? It is my understanding I should be able to build only with cuda in order to access cuBLAS, cuSolver etc.

I am using gcc, cuda and OpenMPI modules, all of which are found by Cmake, including my custom build of MAGMA.

@cnpetra
Copy link
Collaborator

cnpetra commented Jan 28, 2024

raja is currently a dependence for cuda.

@cnpetra
Copy link
Collaborator

cnpetra commented Jan 28, 2024

see also #676

@cnpetra
Copy link
Collaborator

cnpetra commented Mar 3, 2024

closing this since a partial fix has been done in PR #676. We will remove RAJA as a dependency in the not-so-far future.

@cnpetra cnpetra closed this as completed Mar 3, 2024
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