Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to install dependencies.
yum install fftw*
- Go to the source code directory.
cd /path/to/tinker/tinker
- Copy the build files to the build directory.
cp make/Makefile source/
- Modify the build file.
- Go to the source directory.
cd source
- Open Makefile.
vim Makefile
- Press i to enter the insert mode, change line 44 to TINKERDIR = /path/to/tinker, and change line 90 to OPTFLAGS = -Ofast -fopenmp.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Go to the source directory.
- Perform the compilation and installation.
make -j make install
- Load the environment variable.
export PATH=/path/to/tinker/tinker/bin:$PATH
Parent topic: Tinker 8.10.3 Porting Guide (Kylin V10)