[AMBER] Problems installing Amber24 on M3 Mac

From: Sommers, Rachel C. via AMBER <amber.ambermd.org>
Date: Thu, 16 Jan 2025 14:16:42 +0000

Hi, I’m having some difficulties in getting Amber24 installed on my Mac. It has a M3 Pro chip, and is currently running MacOS 14.7.2.


I was able to get AmberTools24 and Amber24 decompiled, and successfully ran all steps of the installation tutorial through running the run_cmake executable.


However, when it then directs me to run the command “make install,” the process starts but always gets hung up around progress point 21%, with the following message:



[ 21%] Building Fortran object AmberTools/src/quick/src/libxc/CMakeFiles/xc.dir/libxc_funcs.f90.o

clang: error: unsupported argument 'apple-m3' to option '-mtune='

make[2]: *** [AmberTools/src/quick/src/libxc/CMakeFiles/xc.dir/libxc_funcs.f90.o] Error 1

make[1]: *** [AmberTools/src/quick/src/libxc/CMakeFiles/xc.dir/all] Error 2

make: *** [all] Error 2



After some independent research, I am fairly sure that I need to simply direct this program to run mtune, mcpu, or whatever else as apple-m2 instead of apple-m3, as Apple clang does not yet include apple-m3 as a supported cpu, but it should still run if directed to use apple-m2 instead of native.


However, I cannot for the life of me figure out how or where to tell this system to use apple-m2 as the argument for mtune.


Very grateful in advance to anyone who can suggest a command addition or file modification that might resolve this issue!

R.C. Sommers
DVM Candidate, Class of 2028
UF College of Veterinary Medicine



_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jan 16 2025 - 06:30:02 PST
Custom Search