Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing COPASI

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install the dependencies:
    yum install qt.aarch64 qt-devel.aarch64 -y
  3. Run the following commands to set environment variables:
    export PATH=/path/to/cmake/bin:$PATH
    export CC=`which gcc`
    export CXX=`which g++`
    export FC=`which gfortran`
    export PATH=/path/to/GNU/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/GNU/lib64:$LD_LIBRARY_PATH
    export PATH=/path/to/OPENMPI/bin:$PATH
    export LD_LIBRARY_PATH=/path/to/OPENMPI/lib:$LD_LIBRARY_PATH
  4. Run the following commands to decompress the official dependency package:
    cd /path/to/COPASI
    tar -xvf copasi-dependencies-4.26.213.tar.gz
  5. Run the following commands to compile and install the dependencies:
    cd copasi-dependencies-4.26.213
    ./createLinux.sh
  6. Run the following command to copy the files in the lib64 directory to the lib directory:
    cp -r ./bin/lib64/* ./bin/lib
  7. Run the following command to decompress the COPASI installation package:
    cd /path/to/COPASI
    tar -xvf COPASI-Build-217.tar.gz
  8. Run the following commands to compile and install COPASI:
    cd COPASI-Build-217/
    mkdir build
    cd build
    cmake -DBUILD_GUI=OFF -DCMAKE_INSTALL_PREFIX=/path/to/COPASI/COPASI-Build-217/build -DCOPASI_DEPENDENCY_DIR=/path/to/COPASI/copasi-dependencies-4.26.213/bin ../
    make install
  9. Run the following command to add the environment variable:
    export PATH=/path/to/COPASI/COPASI-Build-217/build/bin:$PATH