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:
sudo xcodebuild -license
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:
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
Note: Don't select gfortran 10; use an older version, like 8.2,
even if it is for an older version of OSX 10.
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