Skip to content
/ mupifDB Public

MuPIF database layer to provide storage for simulation results based on MongoDB

Notifications You must be signed in to change notification settings

mupif/mupifDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Stanislav
Feb 16, 2025
a63eae0 · Feb 16, 2025
Dec 11, 2024
Jan 4, 2025
Feb 14, 2025
Nov 21, 2024
Feb 16, 2025
Oct 11, 2024
Dec 11, 2024
Nov 7, 2023
Dec 12, 2024
Dec 12, 2020
Nov 23, 2021
Nov 7, 2023
Dec 12, 2024

Repository files navigation

MuPIFDB

MuPIF is modular, object-oriented integration platform allowing to create complex, distributed, multiphysics simulation workflows across the scales and processing chains by combining existing simulation tools. MuPIFDB is database layer (based on MongoDB) and workflow manager/scheduler for MuPIF with REST API.

Project website

http://www.mupif.org

Prerequisites

  • mongoDB server
  • Python modules: pymongo, flask, bson, flask_pymongo, isodate, dateutil, python-pidfile, pygal
  • for REST API debugging and development install chrome extension (ARC - Advanced REST client or Postman)

Installation

git clone https://github.com/mupif/mupifDB.git mupifDB.git

Running

export FLASK_APP=mupifdbRestApi.py

nohup python3 -m flask run --host 127.0.0.1 &

To support statistics graphs (using schedulerstat.py), the schedulerstat.py should be run periodically (using cron) to regenerate the charts. Dynamic generation is costly. Suggested crontab entry to update charts every 5 minutes:

*/5 * * * * python3 /home/bp/mupifDB/schedulerstat.py -w -h

License

MuPIF has been developed at Czech Technical University by Borek Patzak and coworkers and is available under GNU Library or Lesser General Public License version 3.0 (LGPLv3).

Further information

Please consult MuPIF home page (http://www.mupif.org) for additional information.