Git Product home page Git Product logo

vomiskam / openmodelica Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openmodelica/openmodelica

0.0 0.0 0.0 223 MB

OpenModelica is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage.

Home Page: https://openmodelica.org

License: Other

Dockerfile 0.01% Makefile 0.63% M4 0.12% Shell 0.10% C++ 26.36% Groovy 0.02% CMake 0.36% Modelica 59.63% Lex 0.07% Smarty 4.53% Python 0.43% C 7.01% Batchfile 0.02% XSLT 0.07% Ruby 0.01% GAP 0.48% JavaScript 0.01% Julia 0.09% Emacs Lisp 0.01% Perl 0.06%

openmodelica's Introduction

OpenModelica License: OSMC-PL

OpenModelica is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage.

Dependencies (Linux/OSX)

Many software packages are included inside the repositories. To get everything running, you will need a few extras:

  • C++11 compiler (if you want a GUI)
  • autoconf, automake, libtool, g++, gfortran (pretty standard compilers)
  • boost (used by omsimulator and cppruntime, configure --with-cppruntime)
  • clang, clang++ (optional, but highly recommended)
  • cmake
  • hwloc (optional; queries the number of hardware CPU cores instead of logical CPU cores)
  • Java JRE (JDK is option; compiles the Java CORBA interface)
  • Lapack/BLAS
  • lpsolve55
  • libhdf5 (optional part of the MSL tables library supported by few other Modelica tools, so it does not do much)
  • libexpat (it's actually included in the FMIL sources which are included... but we do not compile those and it's better to use the OS-provided dynamically linked version)
  • ncurses, readline (optional, used by OMShell-terminal)
  • omniORB (optional; CORBA is used by OMOptim)
  • OpenSceneGraph
  • Qt5 or Qt4, Webkit, QtOpenGL
  • Sundials (optional; adds more numerical solvers to the simulation runtime)

Compilation

The OpenModelica Compiler is the core of the OpenModelica project, which is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage.

Building the OpenModelica Compiler

Working with the repository

OpenModelica.git is a superproject. Clone the project using one of:

# Faster pulling by using openmodelica.org read-only mirror (low latency in Europe; very important when updating all submodules)
# Replace the openmodelica.org pull URL with https://github.com/OpenModelica/OpenModelica.git if you want to pull directly from github
# The default choice is to push to your fork on github.com (SSH). Replace MY_FORK with OpenModelica to push directly to the OpenModelica repositories (if you have access)
> MY_FORK=MyGitHubUserName ; git clone https://openmodelica.org/git-readonly/OpenModelica.git --recursive && (cd OpenModelica && git remote set-url --push origin [email protected]:$MY_FORK/OpenModelica.git && git submodule foreach --recursive 'git remote set-url --push origin `git config --get remote.origin.url | sed s,^.*/,[email protected]:'$MY_FORK'/,`')

If you are a developer and want to track the latest heads, use:

# After cloning
> git submodule foreach --recursive "git checkout master"
# To update; you will need to merge each submodule, but your changes will remain
> git submodule foreach --recursive "git pull"

In order to push to the repository, you will push to your own fork of OpenModelica.git, etc. You will need to create a fork of each repository that you want to push to (by clicking the Fork button in the GitHub web interface).

If you do not checkout the repositories for GUI clients (such as OMOptim.git), these directories will be ignored by autoconf and skipped during compilation.

How to contribute to the OpenModelica Compiler

See CONTRIBUTING.md.

To checkout a minimal version of OpenModelica

> git clone https://openmodelica.org/git-readonly/OpenModelica.git OpenModelica-minimal
> cd OpenModelica-minimal
> git submodule update --init --recursive libraries

OpenModelica User's Guide

The User's Guide is automatically generated from the documentation repository.

openmodelica's People

Contributors

adeas31 avatar adrpo avatar alash325 avatar anheuermann avatar arun3688 avatar atrosinenko avatar bernhard-thiele avatar dietmarw avatar fbergero avatar hkiel avatar jkrt avatar kabdelhak avatar levsa avatar lochel avatar mahge avatar mflehmig avatar niklwors avatar openmodelica-hudson avatar pavolpr avatar perost avatar petfr avatar ptaeuber avatar rfranke avatar robbr48 avatar ruedkamp avatar sjoelund avatar smiz avatar vomiskam avatar vruge avatar vwaurich 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.