
I can see that neither within the script nor later.
Blas windows cmake zip file#
However, creating them with BASH works, so I am using that now.Ģ (critical): I can see no evidence that the directory C:\BLAS has been created or that the download and expansion of the zip file has worked. However, there two issues:ġ (small): The environment variables created by PS are not visible to PS in later steps. I can see that the PS script amici/scripts/installOpenBLAS.ps1 runs and produces messages.
Blas windows cmake install#
So everything is indeed the latest version, except CUDA may have had a minor rev since 10.2 (?)ĭoes the lib file listed above appear to be correct? If so, are there other possible causes for this? Kind of odd that Cmake resets the CuBlas entry.I am running a PowerShell script to install openBLAS on Windows It seemed likely that the correct file was ‘libcublas.so.10.2.1.243’ (which also appears to be sym-linked by ‘libcublas.so.10’) but neither worked. So I tried each of the libcublas* files, one at a time. The cmake-gui menu is looking for a specific file to be selected. I was hoping that the new cmake version would automatically find the CuBlas lib, but it did not. No change, except the entry for CUDA_cublas_device_LIBRARY has now disappeared.
Blas windows cmake update#
So I forced the update to the latest, v3.15.5. Reported as latest, though the site had a version that is a couple months newer. The Cmake version that I was running was the stock ‘apt-get’ version. Not sure why the device library entry appeared, since Cmake was only a couple months old, and I’m trying to build the latest version of OpenCV 4. It might be easier to use recent version of CMake and OpenCV with recent vesion of CUDA, so as to pick up harmonious changes, and avoid a lot of hacking work on your own. It basically sounds to me like you are using an old CMake/OpenCV setup and attempting to use a recent version of CUDA with it. There is no “correct name and location” for it in CUDA 10 or CUDA 10.1 or CUDA 10.2 it does not exist. This was also covered in release notes and also various questions on these forums about it. The cublas device library was deprecated some time ago and has not been available since CUDA 10. Not sure why it should matter anyway, if your question is about library search paths.Īlso, do you know the correct name and location for “CUDA_cublas_device_LIBRARY” ? Really no guarantees that this couldn’t/wouldn’t change in the future. I really don’t know much about building OpenCV from scratch, but I imagine it may only need the libcublas library, because the libcublasLt library is “relatively new”. With respect to what is the “correct one” that depends on what you are doing.


If you study the cublas documentation you’ll figure out what the Lt library is for. I presume that the correct one is the former? (not the Lt version) There are several libs in the /usr/lib/x86_64-linux-gnu folder, including “libcublas.so.10.2.1.243” and “libcublasLt.so.10.2.1.243”. it might be updated already (I’ll bet it is.) This change to CUDA has been public for close to a year. You don’t indicate which version of CMake you are using. It appears to have found all the other CUDA-related libraries except for CuBlas.

Cmake apparently needs to be updated then too.
