Giter VIP home page Giter VIP logo

dakota's Introduction

Build Status Code Health Coverage Status

CSDMS Dakota interface

The CSDMS Dakota interface provides a Basic Model Interface and API for the Dakota iterative systems analysis toolkit. This is currently alpha-level software supported on Linux and Mac OSX.

Installation

Install the CSDMS Dakota interface with:

$ git clone https://github.com/csdms/dakota.git
$ cd dakota
$ python setup.py install

The CSDMS Dakota interface requires Dakota. Follow the instructions on the Dakota website for downloading and installing a precompiled Dakota binary for your system. Dakota version 6.1 is supported by the CSDMS Dakota interface.

HydroTrend is the only CSDMS model currently supported in the CSDMS Dakota interface. On Mac OS X, install HydroTrend through Homebrew:

$ brew tap csdms/models
$ brew install hydrotrend

On Linux, build HydroTrend from source:

$ git clone https://github.com/csdms-contrib/hydrotrend.git
$ mkdir -p hydrotrend/build && cd hydrotrend/build
$ cmake ..
$ make
$ make install

Execution

Import the CSDMS Dakota interface into a Python session with:

>>> from dakota.core import Dakota

Create a Dakota instance, specifying a Dakota analysis method:

>>> d = Dakota(method='vector_parameter_study')

Currently, three Dakota methods

are supported.

To run a sample case, create an input file from the default vector parameter study and call Dakota:

>>> d.write_input_file()
>>> d.run()

Dakota output is written to two files, dakota.out (run information) and dakota.dat (tabular output), in the current directory.

dakota's People

Contributors

mdpiper avatar

Watchers

 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.