Skip to content

benhayes21/Mexico_EQ_Demo

Repository files navigation

Oasis LMF logo Oasis LMF logo

ComplexModelMDK

Run complex model example via MDK

  • Install MDK dependent packages, for ubuntu
sudo apt-get update && sudo apt-get install libspatialindex-dev unixodbc-dev build-essential libtool zlib1g-dev autoconf
  • Install OasisLMF (ERN version) and other required packages:

    pip3 install ./oasislmf-1.9.0-py3-none-manylinux1_x86_64.whl
    pip3 install -r requirements.txt
    
  • Install the custom item commands and the example custom GulCalc:

    pip3 install -e .
    
  • Run the MDK commands, for example:

    oasislmf model run -C oasislmf.json --verbose
    

Run the complex model example using the API & UI

  1. install git, docker and docker-compose

For example on an Ubuntu/Debian based Linux system use:

sudo apt update && sudo apt install git docker docker-compose
  1. Clone this repository
git clone https://github.com/HectorERN/Mexico_EQ_Demo
cd Mexico_EQ_Demo
  1. Run the deployment script
sudo ./install.sh
  1. Access via localhost, using the default user: admin pass: password

Original Notes:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages