How to compile MONICA (Linux)

Sanny Schulz edited this page Sep 10, 2018 · 2 revisions

Linux / Debian 9 ('stretch')

Prequisites

  • python 2.7

  • cmake

  • boost (currently in version 1.62 for debian)

  • git

  • curl

  • unzip

  • tar

    sudo apt-get update
    sudo apt-get install build-essential
    sudo apt-get install python-dev
    sudo apt-get install libboost-all-dev
    sudo apt-get install curl unzip tar
    sudo apt-get install git
    sudo apt-get install cmake
  • create a working folder (e.g ~/zalf-rpm)

    mkdir zalf-rpm
    cd zalf-rpm
  • checkout monica and dependencies

    git clone https://github.com/zalf-rpm/monica.git
    git clone https://github.com/zalf-rpm/monica-parameters.git
    git clone https://github.com/zalf-rpm/sys-libs.git
    git clone https://github.com/zalf-rpm/util.git
    git clone https://github.com/Microsoft/vcpkg.git
  • build vcpkg

    cd vcpkg
    ./bootstrap-vcpkg.sh
  • build zmq lib

    ./vcpkg install zeromq:x64-linux
  • create monica cmake folder and build monica

    cd ~/zalf-rpm/monica
    sh update_linux.sh
    cd _cmake_linux
    make
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.