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. Go to the main program installation directory.
    cd /path/to/RELION
  3. Decompress the installation package.
    tar -xvf 3.1.2.tar.gz
  4. Go to the directory generated after the decompression and create a build directory.
    cd relion-3.1.2
    mkdir build
  5. Perform the configuration.
    yum install -y libtiff-* fltk* fltk-devel*
    yum -y install xorg-x11-xauth
    cd build
    export FFTW_HOME=/path/to/FFTW
    export FFTW_LIB=$FFTW_HOME/lib
    export FFTW_INCLUDE=$FFTW_HOME/include
    cmake  -DBUILD_SHARED_LIBS=OFF -DCUDA=ON  -DCudaTexture=ON -DCUDA_ARCH=80 -DCMAKE_BUILD_TYPE=release  -DCMAKE_INSTALL_PREFIX=/path/to/install/RELION  ..

    The -DCUDA_ARCH value must match the computing capability of the graphics card. The minimum value is 35. For example, the value is 80 for A100 and 70 for V100. For details, visit the NVIDIA website.

  6. Perform the compilation.
    make -j40
    make -j40 install
  7. View the RELION version.
    /path/to/install/RELION/bin/relion_refine_mpi --help

  8. Set the environment variables.
    export PATH=/path/to/install/RELION/bin:$PATH