Hello Manasa,
Cmake should definitely be 3.X, but your error does not look like a cmake version issue. It looks more like a rebuild from a source dir that has some leftover artifacts from a previous build. Try again from clean source and build directories and let me know.
________________________________
From: amber-request.ambermd.org <amber-request.ambermd.org>
Sent: Monday, July 13, 2026 3:00 PM
To: amber.ambermd.org <amber.ambermd.org>
Subject: AMBER Digest, Vol 4995, Issue 1
Send AMBER mailing list submissions to
amber.ambermd.org
To subscribe or unsubscribe via the World Wide Web, visit
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C02%7Cpb777%40iqb.rutgers.edu%7C0f166910f9664de10c4e08dee110fb6c%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C639195660287014920%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=wIvQhnY6dRLtYO3zM57dlOJ2HFzaV4xU5bRrsPOZuj8%3D&reserved=0<
http://lists.ambermd.org/mailman/listinfo/amber>
or, via email, send a message with subject or body 'help' to
amber-request.ambermd.org
You can reach the person managing the list at
amber-owner.ambermd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of AMBER digest..."
AMBER Mailing List Digest
Today's Topics:
1. The ideal cmake versions for amber pmemd installation.
(Manasa Bharath ic44158)
----------------------------------------------------------------------
Message: 1
Date: Mon, 13 Jul 2026 11:27:58 +0530
From: Manasa Bharath ic44158 <ic44158.imail.iitm.ac.in>
To: amber.ambermd.org
Subject: [AMBER] The ideal cmake versions for amber pmemd
installation.
Message-ID:
<CALPhf662Vn+y7-AkhfXL=in8i=ssNFQFkT7fm7vOJ7VpDef3RA.mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Hello AMBER developers/community,
While amber pmemd installations of versions 24 and 26 this keep popping up
at the ./run cmake step, it shows something like:
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/<folder_name>/pmemd24_src". See
documentation
for policy CMP0002 for more details.
This feels like a cmake version needs to be different, a little help on why
this happens?
Thank you.
------------------------------
Subject: Digest Footer
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C02%7Cpb777%40iqb.rutgers.edu%7C0f166910f9664de10c4e08dee110fb6c%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C639195660287054629%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=py0%2FqjTwMpiptQCAVAiau5qwQSGjd09TPF2dYnwKV44%3D&reserved=0<
http://lists.ambermd.org/mailman/listinfo/amber>
------------------------------
End of AMBER Digest, Vol 4995, Issue 1
**************************************
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Jul 13 2026 - 13:30:02 PDT