On Mon, Jan 13, 2025, TUSHAR GUPTA via AMBER wrote:
>I have installed Amber24 and Ambertools24 on my RTX 4090 system with GPU
>compatibility. I am working on WSL ubuntu 24 version and downloded the
>cuda-11.8 wsl-ubunutu version
>| NVIDIA-SMI 550.120 Driver Version: 556.12 CUDA Version: 12.5 |
This indicates that your CUDA version is 12.5. Your $CUDA_HOME environment
variable (usually something like /usr/local/cuda) should be a symlink
to the real 12.5 installation is (ususally something like
/usr/local/cuda-12.5).
The error message (in the cmake.log file) is this:
-- CUDA version 11.5 detected
-- Configuring for SM3.5, SM5.0, SM5.2, SM5.3, SM6.0, SM6.1, SM7.0, SM7.5 and
SM8.0
-- Checking CUDA and GNU versions -- compatible
CMake Error at cmake/LibraryTracking.cmake:153 (message):
Attempt to import library cublas from nonexistant path
"/usr/local/cuda-11.5/lib64/libcublas.so"
Call Stack (most recent call first):
cmake/CudaConfig.cmake:147 (import_library)
CMakeLists.txt:119 (include)
I'm unsure why it is that /usr/local/cuda-11.5 is being referred to here.
The most likely(?) reason is that /usr/local/cuda is pointing to an old
folder that no longer exists.
Note that Amber24 is distributed with an upper limit on the CUDA SDK of
12.4. You could use the alternatives pathway to go to a lower version --
perhaps one is already present in /usr/local. Or (easier) just modify
$AMBERHOME/cmake/CudaConfig.cmake at about line 70 to change
"VERSION_LESS 12.5" to "VERSION_LESS_EQUAL 12.5".
...hope this helps...dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jan 13 2025 - 08:00:02 PST