Giter VIP home page Giter VIP logo

opm-grid's Introduction

Preparing the Sources

Additional to the software mentioned in README you'll need the following programs installed on your system:

cmake >= 2.8

Getting started

If these preliminaries are met, you should run

dunecontrol all

which will find all installed dune modules as well as all dune modules (not installed) which sources reside in a subdirectory of the current directory. Note that if dune is not installed properly you will either have to add the directory where the dunecontrol script resides (probably ./dune-common/bin) to your path or specify the relative path of the script.

On your project and all uninstalled DUNE source modules found the script will then calls the GNU autoconf/automake to create a ./configure-script and the Makefiles. Afterwards that configure script will be called and the modules will be build using make all

Most probably you'll have to provide additional information to dunecontrol (e. g. compilers, configure options) and/or make options.

The most convenient way is to use options files in this case. The files defining three variables:

AUTOGEN_FLAGS flags passed to autogen CONFIGURE_FLAGS flags passed to configure MAKE_FLAGS flags passed to make

An example options file might look like this:

#use this options to autogen, configure and make if no other options are given AUTOGEN_FLAGS="--ac=2.50 --ac=1.8" #Forces automake 2,50 and autoconf 1.8 CONFIGURE_FLAGS="CXX=g++-3.4 --prefix=/install/path" #force g++-3.4 as compiler MAKE_FLAGS=install #Per default run make install instead of simply make

If you save this information into example.opts you can path the opts file to dunecontrol via the --opts option, e. g.

dunecontrol --opts=example.opts all

To get a full list of available configure flags just run

dunecontrol configure --help

after running at least dunecontrol autogen

More info

See

 dunecontrol --help

for further options.

The full build-system is described in the dune-common/doc/buildsystem (SVN version) or under share/doc/dune-common/buildsystem if you installed DUNE!

$Id: duneproject 5489 2009-03-25 11:19:24Z sander $

opm-grid's People

Contributors

atgeirr avatar blattms avatar bska avatar rolk avatar akva2 avatar andlaus avatar joakim-hove avatar bspj avatar aritorto avatar berland avatar qilicun avatar totto82 avatar gitpaean avatar jokva avatar hnil avatar dr-robertk avatar jorgekva avatar andrthu avatar kjetilly avatar fgfuchs avatar verveerpj avatar kristinf avatar tskille avatar birgerh avatar berndflemisch avatar daavid00 avatar elyesahmed avatar juliohm avatar flikka avatar babrodtk avatar

Watchers

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