Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install dependencies.
    yum install fftw*
  3. Go to the source code directory.
    cd /path/to/tinker/tinker
  4. Copy the build files to the build directory.
    cp make/Makefile source/
  5. Modify the build file.
    1. Go to the source directory.
      cd source
    2. Open Makefile.
      vim Makefile
    3. Press i to enter the insert mode, change line 44 to TINKERDIR = /path/to/tinker, and change line 90 to OPTFLAGS = -Ofast -fopenmp.
    4. Press Esc, type :wq!, and press Enter to save the file and exit.
  6. Perform the compilation and installation.
    make -j
    make install
  7. Load the environment variable.
    export PATH=/path/to/tinker/tinker/bin:$PATH