Single-phase and steady-state upscaling methods
Go to file
Bård Skaflestad fa782c05f9
Merge pull request #394 from akva2/c++20_stuff
Mark comparison operator const and avoid arithmetics using enums
2024-11-06 10:10:39 +01:00
attic remove source files from the attic 2017-11-17 13:46:50 +01:00
benchmarks drop use of deprecated std::bind1first 2024-07-02 20:40:55 +02:00
doc Update version and year in manpages 2023-11-12 10:28:22 +01:00
examples remove duplicate checks 2024-08-16 14:53:46 +02:00
jenkins adjust jenkins script 2022-12-01 12:57:56 +01:00
opm changed: use constexpr instead of anonymous enums 2024-11-06 09:54:26 +01:00
tests fixed: test-suites needs a name 2024-11-05 12:46:30 +01:00
travis add travis setup 2016-05-09 10:25:00 +02:00
.gitignore Ignore generated class doc. when building in-tree 2013-03-07 10:56:27 +01:00
.hgsubstate Removed subrepos. 2011-12-16 09:12:41 +01:00
CMakeLists_files.cmake Do not install steadystate_test_implicit. 2022-10-31 13:02:26 +01:00
CMakeLists.txt quell CMake warning 2024-03-08 11:24:30 +01:00
compareUpscaling.cmake improve test driver 2021-10-13 13:52:33 +02:00
COPYING added: COPYING file with license 2013-09-23 16:02:46 +02:00
CTestConfig.cmake Import cmake/ from commit 5f82198c in opm-core 2013-02-22 23:25:21 +01:00
dune.module Bump Master Development Version 2024-10-11 10:12:09 +02:00
EmbedCases.cmake changed: make boost::iostreams optional 2020-02-19 12:57:57 +01:00
MAINTAINERS added: MAINTAINERS file with maintainer information 2013-09-23 12:56:34 +02:00
opm-upscaling-prereqs.cmake changed: make boost::iostreams optional 2020-02-19 12:57:57 +01:00
README Remove remnants of the Autotools build system 2013-02-22 23:25:45 +01:00

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 5842 2010-01-20 18:48:34Z joe $