Gpufit icon indicating copy to clipboard operation
Gpufit copied to clipboard

Mac installation

Open Kubiczek36 opened this issue 1 year ago • 1 comments

Hey hey, I am trying to install this package on mac to run it just on CPU. However I don't know which NVIDIA toolkit should I install, so that I can compile the Gpufit using cmake.

  • [ ] Is there any option (flag) how to compile without the CUDA toolkit?
  • [ ] Eventually, can you help me choose the right NVIDIA toolkit?

Here is the error cmake gives me:

CMake Error at /opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/FindCUDA.cmake:861 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:37 (find_package)

Thank you in advance.

Kubiczek36 avatar Apr 18 '23 12:04 Kubiczek36

hi Jakub. You should be able to use any of CUDA toolkit 8.0 - 11.3. I'm assuming you don't have an Nvidia graphics driver on your Mac, so there should be no compatibility issue there. I haven't tried building on a machine with no GPU, personally.

If you run into trouble get in touch with me directly. cheers -Mark

superchromix avatar Apr 18 '23 13:04 superchromix