Coder Social home page Coder Social logo

ga-mla's Introduction

Geoscience Australia SeisComP Modules/Plugins

Various plugins developed for SeisComP by Geoscience Australia.

Building

Assumptions

  • You are using Ubuntu. The main change if you are not using Ubuntu, would be to change the apt-get calls to the appropriate package manager (and dependency package names) for your operating system.

  • You want to build for SeisComP >= 4.0.0 and Python 3.

Process

  • Get the prerequisites (this includes the dependencies mentioned in the SeisComP README)

    sudo apt-get install -y \
        cmake \
        build-essential \
        gfortran \
        flex \
        libxml2-dev \
        libboost-all-dev \
        libssl-dev \
        libncurses-dev \
        libmysqlclient-dev \
        python3-dev \
        python3-numpy \
        qtbase5-dev
    

    If you want to use ccmake (as per the compilation instructions), then you also want

    sudo apt-get install -y cmake-curses-gui
    

    I don't do this and use cmake directly as per my example below.

  • Ensure python3 is set as your default system python, e.g. on Ubuntu 18.04:

    sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6m 3
    sudo update-alternatives --config python
    
  • Get the SeisComP source code by following the instructions in the seiscomp readme.

    If you only want to build the GA plugins, you should just need the seiscomp and common repositories.

  • Go to the src/extras directory and clone this repository. (If you're building for SeisComP3 and python2 instead, this should just be src/ instead of src/extras/.)

  • Return to the top level directory and follow the build instructions in the README of the the SeisComP repository.

    If you only want to build the GA plugins and their dependencies, just use cmake to generate the makefiles, and then run make in the src/extras/ga-mla directory.

    This still builds quite a bit of stuff, but does save some time.

    I'm not sure if there is an easy way to grap only the files required for the GA plugins, everything seems to end up in the directories under the top level build directory.

  • For development, you probably want to run make install from the build directory to give you a working SeisComP system.

ga-mla's People

Contributors

acarapetis avatar comoglu avatar gempa-jabe avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.