Coder Social home page Coder Social logo

ga-mla's Introduction

Geoscience Australia SeisComP3 Modules/Plugins

Various plugins developed for SeisComP3 by Geoscience Australia.

Building

Assumptions

  • you are going to work in your home directory (hence all the cd commands). If you are going to work somewhere else, please cd to that directory instead.

  • you are using Ubuntu. The main change if you are not using Ubuntu, would be to change the apt-get calls. The Redhat/CentOS package equivalents for many of the packages are stated here.

Process

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

    sudo apt-get install -y \
        cmake \
        build-essential \
        gfortran \
        flex \
        libxml2-dev \
        libboost-all-dev \
        libssl-dev \
        libncurses-dev \
        libmysqlclient-dev \
        libpython-dev \
        python-m2crypto \
        libqt4-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.

  • Get the SeisComP3 source code

    cd
    git clone https://github.com/SeisComP3/seiscomp3.git
    

    Note that you will need a version which contains commit d2b631715a4b, which introduces a change which the MLa magnitude plugin depends on.

  • Go to the src directory and clone this repository into the directoy 'ga'

    cd
    cd seiscomp3/src
    git clone https://github.com/GeoscienceAustralia/seiscomp3.git ga
    # or if you are are going to commit back use:
    # git clone [email protected]:GeoscienceAustralia/seiscomp3.git ga
    
  • Return to the top level directory and follow the build instructions in the README of the the SeisComP3 repository. In brief, I do this with

    cd
    cd seiscomp3
    mkdir build
    cd build
    cmake -G "Unix Makefiles" ..
    make
    

    If you only want to build the GA plugins and their dependencies

    cd
    cd seiscomp3/src/ga
    make
    

    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 top level directory to give you a working SeisComP3 system.

ga-mla's People

Contributors

gempa-jabe avatar

Watchers

James Cloos 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.