Skip to content

Installation error on Apple M1 #272

Description

@filipstefanovski

When i try to execute the make command on apple m1 i'm getting error that 'cusparse.h' is not found.
How can i build the project without CUDA(GPU) support on mac?

cmake \ -DUSE_CUDA=OFF \ -DOpenMP_C_FLAGS="-Xpreprocessor -fopenmp -I/opt/homebrew/Cellar/libomp/17.0.6/include" \ -DOpenMP_C_LIB_NAMES=omp \ -DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp -I/opt/homebrew/Cellar/libomp/17.0.6/include" \ -DOpenMP_CXX_LIB_NAMES=omp \ -DOpenMP_omp_LIBRARY=/opt/homebrew/Cellar/libomp/17.0.6/lib/libomp.dylib \ ..

make -j [ 3%] Building CXX object src/thundersvm/CMakeFiles/thundersvm.dir/kernelmatrix.cpp.o /Users/filipstefanovski/numerai-ml/thundersvm/src/thundersvm/kernelmatrix.cpp:7:10: fatal error: 'cusparse.h' file not found #include <cusparse.h> ^~~~~~~~~~~~ 1 error generated. make[2]: *** [src/thundersvm/CMakeFiles/thundersvm.dir/kernelmatrix.cpp.o] Error 1 make[1]: *** [src/thundersvm/CMakeFiles/thundersvm.dir/all] Error 2 make: *** [all] Error 2

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions