GithubHelp home page GithubHelp logo

petercalifano / dace_petercdev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dacelib/dace

0.0 0.0 0.0 4.52 MB

Differential Algebra Computational Toolbox

License: Apache License 2.0

Shell 0.35% C++ 43.13% Python 0.02% C 41.51% Fortran 12.44% Gnuplot 0.36% CMake 2.09% Rich Text Format 0.09%

dace_petercdev's Introduction

Build Status

DACE

The Differential Algebra Computational Toolbox.

Requirements

To use the DACE library, you need a C++11 compatible C++ compiler. Almost all modern C++ compilers (GNU, Clang, MS Visual Studio) meet that requirement nowadays. We also highly recommend using CMake as a build system, and obviously Git as your source code management system.

On Windows, you need to download Microsoft Visual Studio (the free Community Edition is fine). On MacOS X, you need to install the Xcode package from Apple from the App Store. On Linux, you can install the compiler toolchain through your package system if they don't already come pre-installed.

To build Windows DACE library installer packages, you additionally need the NSIS installer compiler.

Getting started

To get started, either download one of the pre-built release packages for your platform (see the Releases tab above), or just clone the entire repository and build the library from scratch (which really is very easy).

To use the DACE, we recommend using CMake. New DACE releases past version 2.0.1 come with a CMake package system plugin that allows very simple use of the DACE within the CMake framework. To get started, have a look at the Tutorials directories. Both of the Tutorials there are independent projects with their own stand-alone CMake file you can use as a starting point for your own programs.

Building the DACE

To build your own version of the DACE library, simply clone this repository:

git clone "https://github.com/dacelib/dace.git"

Then create a build directory and run cmake, and then make to compile everything:

cd dace
mkdir build
cd build
cmake ..
make

After some compiling, you should have a sparkling new dace library ready for use. To install it directly into your system, you can just use:

sudo make install

The sudo is there to give you the required permissions to install into your system directories (usually /usr/local).

Running the Tutorials

To test if your installation was successful, you can try to build one of the Tutorials:

cd ../Tutorials/Tutorial1
mkdir build
cd build
cmake ..
make

This should automatically compile all tutorials, ready to be run by you using e.g. the command ./Example1.

Also have a look at the DACE Wiki pages if you have further questions

dace_petercdev's People

Contributors

abgandar avatar mmassari1974 avatar petercalifano 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.