Re: [AMBER] problem in installing Amber24

From: James Kress via AMBER <amber.ambermd.org>
Date: Mon, 13 Jan 2025 12:35:56 -0500

" just modify $AMBERHOME/cmake/CudaConfig.cmake at about line 70 to change
"VERSION_LESS 12.5" to "VERSION_LESS_EQUAL 12.5"."

Prior messages on the list found that CUDA 12.4 was the only tested version
for amber24. CUDA 12.6 causes installation failures so the change suggested
may not work.

The solution was CUDA 11.8

Jim
James Kress Ph.D., President
The KressWorksR Foundation
An IRS Approved 501 (c)(3) Charitable, Nonprofit Corporation
"ENGINEERING THE CURE" C
(248) 573-5499

Learn More and Donate At:
Website: http://www.kressworks.org

Confidentiality Notice | This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
or proprietary information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
immediately contact the sender by reply e-mail and destroy all copies of the
original message.



-----Original Message-----
From: David A Case via AMBER <amber.ambermd.org>
Sent: Monday, January 13, 2025 10:37 AM
To: TUSHAR GUPTA <E24SOEP0001.bennett.edu.in>; AMBER Mailing List
<amber.ambermd.org>
Subject: Re: [AMBER] problem in installing Amber24

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


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jan 13 2025 - 10:00:02 PST
Custom Search