Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the installation directory of the main program.
cd /path/to/AMBER
- Decompress the installation packages.
tar -jxvf Amber20.tar.bz2 tar -jxvf AmberTools21.tar.bz2
- Go to the directory generated after the decompression.
cd amber20_src/build
- Modify the configuration file.
vim run_cmake
Modify lines 42 and 43, specifically, set -DMPI=TRUE -DCUDA=TRUE -DDOWNLOAD_MINICONDA=FALSE.

- Perform the compilation and installation.
./run_cmake make -j40 install
- Check whether an executable file is generated.
ll /path/to/install/AMBER/bin/pmemd
- Set the environment variable.
source /path/to/install/AMBER/amber.sh
Parent topic: Amber 20 Porting Guide (CentOS 8.2)