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 source package directory.
    cd /path/to/sundials
  3. Decompress the installation package and go to the directory generated after the decompression.
    tar xvf sundials-6.3.0.tar.gz
    cd sundials-6.3.0
  4. Create a build directory and go to it.
    mkdir build
    cd build
  5. Create a build file.
    export CC=clang CXX=clang++ FC=flang
    cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/sundials -DEXAMPLES_INSTALL_PATH=/path/to/sundials/examples
  6. Perform the compilation and installation.
    make -j
    make install