Installing Amber on MacOS
Install XCode: Xcode contains Apple's development tools. You can
download this from the Mac App store (just search for "xcode"). After
installing XCode, you need to agree to the license. So run the following
command in a terminal:
Then, read through the license (or type q to skip through it), and type "agree"
when prompted. After this, you need to install the command-line tools.
Running the following command in the terminal installs the command-line tools:
sudo xcodebuild -license
Install XQuartz: Starting with Mac OS X 10.8, Apple stopped including
X11 with their OS. Instead, you have to download the XQuartz program. You can
download it here.
Install gfortran: You will need to install a Fortran compiler, since
Apple doesn't supply one. Get one for your MacOS version
Install cmake: Amber now builds with the cmake program, which
can get from
cmake.org/download/. You will
need to put this program in your PATH as well:
Install Amber: Now you are ready to proceed with the installation
instructions in the Amber manual. Briefly, go the
amber20_src/build folder, and edit and run the run_cmake