Giter Club home page Giter Club logo

liszt-ebb's Introduction

Liszt-Ebb

Ebb is a (domain-specific) language for writing physical simulations. It is part of the Liszt project at Stanford.

Quick Setup

Once you've got your local copy of this repository, you can simply type

make

and Terra (dependency) will be downloaded for you. When this process is done, you can type

./runtests

to make sure everything is working. You should be good to go.

Troubleshooting Quick Setup

If you don't have wget or unzip installed, you may run into trouble with the automatic download of Terra. Please install those tools or try installing Terra yourself.

(You may also run into trouble if you don't have libcurses and libz installed. If this is the case, please report back to the developers---we currently don't believe this will ever happen.)

Windows Setup

At this time, we haven't focused on having a Windows version of Ebb. If you're interested in helping port Ebb (there's a relatively small amount of platform-specific code) please contact the developers.

Longer Setup Instructions

If you are working on multiple DSLs using Terra and want to avoid a redundant Terra install, you can configure the variable TERRA_DIR at the top of the Makefile to locate your Terra install directory instead. If you have a binary download, simply point TERRA_DIR variable at the root directory. If you are building Terra from source, then point TERRA_DIR at the release subdirectory. By default, TERRA_DIR=../terra/release.

You will still need to run make even if you already have your own Terra install. Doing so will build the Ebb interpreter, which is needed to run Ebb programs.

Legion Setup

If you need to run Ebb on Legion, then please contact the developers directly. The feature is currently under development.

VDB Setup

We use a simple tool called VDB to do lightweight visualization during development of Ebb programs. You can download this tool separately, but to simplify things, we've included a Makefile rule to download and build VDB for you. Just run:

make vdb

More Details

See the full manual for more information.

Examples

See the examples directory for example Ebb programs. This is a good way to get a few ideas about how to proceed once you've got some code running.

Tests

As mentioned before, you can run the testing suite by executing

./run_tests

Running Ebb on the GPU

To run an Ebb program on the GPU instead of CPU, simply add the command line flag.

ebb -g my_program.t

Support for simultaneous CPU/GPU use is currently being worked on. Please contact the developers if the feature is particularly important for you.

liszt-ebb's People

Contributors

gilbo avatar economon avatar clemire avatar zdevito avatar mjlgg avatar futurulus avatar techmatt avatar sunild93 avatar

Watchers

 avatar James Cloos 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.