Hi Dulal,
I am a bit confused by two errors:
In the first email the CMakErros file says “windows.h” cannot be found, which could be caused by many factors according to this thread
http://archive.ambermd.org/202212/0096.html Maybe starting a fresh AMBER installation is a good idea. You are not installing AMBER on Windows right? The platform should be WSL, at least, I assume.
In the latest email the error became “another kmmd exists”. I just checked my “AmberTools/src” directory and I only have one “kmmd” target there. Again, I suspect that the directory is not clean. Maybe other experts in kernel machine MD can give further insights.
At this point, if your disk space allows, I would recommend starting a fresh AMBER installation (serial first, then MPI, then CUDA) to see whether the error will disappear. Sorry I wish I could give better helps.
Best regards,
Zhen.
From: Dulal Mondal via AMBER <amber.ambermd.org>
Date: Monday, September 16, 2024 at 5:17 AM
To: David A Case <dacase1.gmail.com>, AMBER Mailing List <amber.ambermd.org>
Subject: Re: [AMBER] amber24 (cuda) installation compilation error
Dear Expert,
Thank you sir for your reply.
I think incomplete compilation occurs due to the following error message.
*CMake Error at AmberTools/src/kmmd/CMakeLists.txt:15 (add_library):
add_library cannot create target "kmmd" because another target with the
same name already exists. The existing target is an interface library
created in source directory "/home/srabani/Downloads/amber24_src". See
documentation for policy CMP0002 for more details.*
*I also uploaded the cmake.log file.*
*Thanking you*
On Mon, Sep 16, 2024 at 7:58 AM David A Case <dacase1.gmail.com> wrote:
> On Thu, Sep 12, 2024, Dulal Mondal wrote:
>
> >Thank you for your response. Now my run_cmake file is like below.
> > cmake $AMBER_PREFIX/amber24_src \
> > -DCMAKE_INSTALL_PREFIX=$AMBER_PREFIX/amber24 \
> > -DCOMPILER=GNU \
> > -DMPI=FALSE -DCUDA=TRUE -DINSTALL_TESTS=TRUE
> >*-DCUDA_TOOLKIT_ROOT_DIR=/home/srabani/cuda* \
> > -DDOWNLOAD_MINICONDA=FALSE \
> > 2>&1 | tee cmake.log
> >But it is still incomplete for compilation.
> >I also attached the cmake log file.
> >
>
> Here was the request:
>
> >> Please search for "CMake Error" in your cmake.log file. That should get
> >> your pointed in the right direction. If you can't figure it out, attach
> >> the cmake.log file (and describe the error) in a follow-up email.
>
> We really need to see (at a minimum) the "cmake.log" file. But also search
> for the error message there, and include it in the text of your email.
> You need to do your part to make it easy for someone to reply.
>
> ...dac
>
>
--
*With regards,*
*Dulal Mondal,*
*Research Scholar,*
*Department of Chemistry,*
*IIT Kharagpur, Kharagpur 721302.*
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Sep 16 2024 - 09:30:02 PDT