ledatelescope / bifrost

A stream processing framework for high-throughput applications.
BSD 3-Clause "New" or "Revised" License
64 stars 29 forks source link

Issues making bifrost with cuda 10.1 #203

Closed dentalfloss1 closed 11 months ago

dentalfloss1 commented 1 year ago

I am attempting to make bifrost with the version of cuda that comes with Ubuntu 20.04: cuda version 10.1 In the process I am running into the following error during make: make[1]: *** No rule to make target '/usr/local/cuda/lib64/libcufft_static.a', needed by 'libcufft_static_pruned.a'. Stop. make[1]: *** Waiting for unfinished jobs....

Full output is shown in the attached file.

bifrostmake.txt

dentalfloss1 commented 1 year ago

It seems the issues is that installing cuda via apt puts the libraries in unexpected locations that can't be simply specified with ./configure --with-cuda-home

jaycedowell commented 1 year ago

Was configure flexible enough to allow you to get around this?

dentalfloss1 commented 11 months ago

I don't recall exactly how I fixed this. But I think I went back to the NVIDIA website and followed the instructions. There were a few lessons learned:

  1. When using cuda with Windows Subsystem for Linux, you also need the latest Windows CUDA drivers as well
  2. You want to be the main account on the machine
  3. Follow the instructions for installing CUDA, don't just install something from apt.