Skip to content
forked from OPM/opm-grid

DUNE module supporting grids in a corner-point format

License

Notifications You must be signed in to change notification settings

aritorto/opm-grid

This branch is 718 commits behind OPM/opm-grid:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7074832 · Sep 16, 2022
Jan 19, 2017
Apr 20, 2022
Jul 26, 2022
Oct 15, 2019
Sep 16, 2022
Apr 5, 2022
Jul 27, 2022
Apr 6, 2016
Sep 10, 2019
Feb 22, 2013
Dec 15, 2011
Dec 6, 2021
Jun 15, 2021
May 29, 2009
Nov 11, 2015
May 29, 2009
Sep 18, 2019
Jan 4, 2018
Oct 29, 2019
May 19, 2022
Aug 18, 2009
Feb 15, 2022
Jan 19, 2017
Mar 17, 2010

Repository files navigation

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!

I d : d u n e p r o j e c t 5489 2009 03 25 11 : 19 : 24 Z s a n d e r

About

DUNE module supporting grids in a corner-point format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.3%
  • C 10.5%
  • CMake 1.1%
  • Shell 0.1%