Commit Graph

3212 Commits

Author SHA1 Message Date
Roland Kaufmann
1754474df1 Give better diagnostics in case probe fails
The standard argument handling report which item that failed
(_INCLUDE_DIR, _LIBRARY og HAVE_) but it doesn't provide information
about the root that was used to search for these. Given that we now
automatically search a lot of other places, the _ROOT variables should
be reported before the error is raised.
2013-04-03 10:16:54 +02:00
Roland Kaufmann
9d65dec0ac Provide suite info for those not in name convention 2013-04-03 10:16:54 +02:00
Roland Kaufmann
83fb758b74 Search for module in suite directory if specified
Instead of having to specify each and every project in a suite such as
DUNE or OPM, allow a root directory for the entire suite to be specified
and then assume that each module is located in a sub-directory to this.

Each individual project can still have its path explicitly specified, if
a special build of those are required.

The suite variable itself will be written to cache by being specified
on the command line. Each individual project directory will NOT be
written to cache, because then we cannot get rid of it by specifying a
new suite directory.
2013-04-03 10:16:53 +02:00
Arne Morten Kvarving
b254e6c4ed added: missing file 2013-04-02 13:25:18 +02:00
Atgeirr Flø Rasmussen
3b57a319f4 Merge pull request #222 from akva2/update_debian_packaging
Update debian packaging
2013-04-02 04:09:54 -07:00
Atgeirr Flø Rasmussen
bcf098e65f Merge pull request #221 from akva2/redhat_package_apps
updated: package applications on redhat
2013-04-02 04:09:32 -07:00
Arne Morten Kvarving
771cf19d6e added: package applications for debian 2013-04-02 13:05:40 +02:00
Arne Morten Kvarving
0418a3d2d8 changed: don't use the build-depends-indep field in debian packaging
the apt in precise has a bug preventing this from working
2013-04-02 13:05:40 +02:00
Arne Morten Kvarving
54e78b017c updated: package applications on redhat 2013-04-02 13:04:41 +02:00
Bård Skaflestad
ef09f3d6f8 Merge pull request #219 from atgeirr/cleanup-interpolation
Cleanup of linear interpolation utility
2013-03-24 13:57:28 -07:00
Atgeirr Flø Rasmussen
ee29f32ee8 Whitespace cleanup. 2013-03-23 23:46:05 +01:00
Atgeirr Flø Rasmussen
54f516e468 Merge pull request #220 from rolk/220_pkgconf
Make pkg-config functional again
2013-03-23 15:32:58 -07:00
Roland Kaufmann
1dd608358c Write cmdline in .pc file without abs paths
When passing libraries to gcc/ld, the search path and library name must
be specified separately. This is already done when writing a libtool .la
and should be done in the pkg-config .pc file too.
2013-03-22 22:27:14 +01:00
Roland Kaufmann
6d72c94d0c Factor out routine that converts lib list to cmdline
This routine is useful in its own rights and should be made available as
a function that others can call too.
2013-03-22 22:27:13 +01:00
Atgeirr Flø Rasmussen
83c93a1e3b Added test for class UniformTableLinear.
Moved from opm-porsol.
2013-03-22 21:39:32 +01:00
Atgeirr Flø Rasmussen
c26b40702f Added test for class NonuniformTableLinear.
Formerly lived in opm-porsol.
2013-03-22 16:24:52 +01:00
Atgeirr Flø Rasmussen
f7d7deeb03 Simplified class NonuniformTableLinear.
Removed the policy control for what to do beyond the domain.
Old behaviour was constant extrapolation, current behaviour
is linear extrapolation. The possibility to choose was never
needed and has beem removed.
2013-03-22 16:22:29 +01:00
Atgeirr Flø Rasmussen
7a6707f9b5 Remove linInt.hpp from header list. 2013-03-22 15:53:14 +01:00
Atgeirr Flø Rasmussen
c1657b427a Finished unification of linear interpolation.
The functions of linInt.hpp are now used everywhere, but:
 - linInt.hpp -> linearInterpolation.hpp (better name)
 - linearInterpolationExtrap() -> linearInterpolation() (extrapolate by default)
2013-03-22 15:33:07 +01:00
Atgeirr Flø Rasmussen
a8097317a5 Make all codes use the same linear interpolation routines. 2013-03-22 15:28:16 +01:00
Atgeirr Flø Rasmussen
dcf88207e3 Include config.h in cpp file. 2013-03-22 15:20:38 +01:00
Atgeirr Flø Rasmussen
91dc1cbef5 Merge pull request #218 from atgeirr/doc-fixes
Doc fixes for opm-core
2013-03-22 03:10:54 -07:00
Atgeirr Flø Rasmussen
7f9a47d64c Use markup for parameter lists. 2013-03-22 11:09:38 +01:00
Atgeirr Flø Rasmussen
74b5e3f3a1 Use markdown for parameter lists. 2013-03-22 10:02:04 +01:00
Atgeirr Flø Rasmussen
27647fc7f2 Change doxygen syntax to use markdown. 2013-03-22 09:55:12 +01:00
Atgeirr Flø Rasmussen
bc40c0174a More minor doc fixes. 2013-03-22 09:45:00 +01:00
Atgeirr Flø Rasmussen
3f8ba3c1e5 Fix minor doc errors. 2013-03-22 09:26:45 +01:00
Atgeirr Flø Rasmussen
db1220eb60 Fix docs for IncompPropertiesBasic. 2013-03-22 09:26:27 +01:00
Atgeirr Flø Rasmussen
3c7594d4c0 Fix exclusion of TinyXML from doc generation. 2013-03-22 08:35:00 +01:00
Atgeirr Flø Rasmussen
22c46acbf0 Fix tinyxml exclusion. 2013-03-22 08:00:00 +01:00
Atgeirr Flø Rasmussen
de32025bff Merge remote-tracking branch 'upstream/release/2013.03' into doc-fixes 2013-03-21 22:33:09 +01:00
Bård Skaflestad
f3c79402d6 Merge pull request #217 from atgeirr/install-programs
Add programs to be installed.
2013-03-21 09:54:52 -07:00
Atgeirr Flø Rasmussen
f84fa2c4bd Moved the VAG code to namespace Opm. 2013-03-21 15:01:17 +01:00
Atgeirr Flø Rasmussen
e770b1a6b4 Moved MonotCubicInterpolator to Opm namespace.
Also minor doc fix.
2013-03-21 14:57:36 +01:00
Atgeirr Flø Rasmussen
584fa8bc48 Fixes and improvements to transport solver docs. 2013-03-21 14:52:21 +01:00
Atgeirr Flø Rasmussen
d7a53261bd Fixes and improvements to time-of-flight solver docs. 2013-03-21 14:51:49 +01:00
Atgeirr Flø Rasmussen
7ccbf3597f Completed main doc page for opm-core. 2013-03-21 14:51:15 +01:00
Atgeirr Flø Rasmussen
bce34c1168 Add sim_* programs to be installed. 2013-03-21 13:11:14 +01:00
Atgeirr Flø Rasmussen
3433596dad Merge pull request #216 from rolk/216_build
Guess sibling build directories based on the name of this one
2013-03-21 04:58:40 -07:00
Atgeirr Flø Rasmussen
bf8e306172 Merge pull request #214 from rolk/214_utils
No programs installed by 'make install'
2013-03-21 04:58:25 -07:00
Roland Kaufmann
a23f09f7c9 Set up installation for target marked as such
Source files can be put on a special list of `utilities' that are
also marked for distribution after they are compiled.
2013-03-21 00:00:50 +01:00
Roland Kaufmann
2be16e8e61 Search in build directories named similarly to ours
Assume that a build that uses an out-of-source subdir, uses modules
with the same last component as ours.
2013-03-20 23:36:45 +01:00
Atgeirr Flø Rasmussen
ab59813dec Minor doc fix. 2013-03-20 14:21:19 +01:00
Atgeirr Flø Rasmussen
f84eb97f4f Clean up well docs.
Needed to rename structs in legacy_well.h to avoid clash in docs.
2013-03-20 14:14:53 +01:00
Atgeirr Flø Rasmussen
8c1dc782dd Update synopsis and file description. 2013-03-20 14:12:32 +01:00
Atgeirr Flø Rasmussen
8c8295cae6 Merge pull request #215 from rolk/215_no_sys
Follow the principle of least surprise when locating modules
2013-03-20 05:55:50 -07:00
Roland Kaufmann
631e377f6a Search siblings before system directories
If there is a sibling directory with the name of the module we are
searching for, it is probably part of the same suite, and is the
version we intend to use, before the system version.

This behaviour can be altered with the option SIBLING_SEARCH.

Note, however, that if the sibling is a source tree, it cannot guess
which subdir the build tree is in. You will then probably end up
with headers from the sibling and libraries from the system!
2013-03-20 12:24:04 +01:00
Roland Kaufmann
2b59d556f0 Use heuristics when finding rather than adjusting path
Commit b6cdc06b introduced heuristics to look in the parent directory
for header files alone, while leaving the path for binary files. This
is much better than adjusting the path because one does not potentially
confuse two build directories this way.
2013-03-20 11:30:44 +01:00
Roland Kaufmann
b709645181 Don't search in system dir if explicit dir given
If we give an explicit directory path it is because we want a special
version to be used instead of the system version; if there is any
problems with that, we should know up-front instead of silently start
using the system version again!
2013-03-20 09:58:33 +01:00
Roland Kaufmann
9406e198cb Use empty string instead of zero to indicate not found
When writing the variable HAVE_SUPERLU to the config.h file, an empty
string will be interpreted as "not defined". Thus, we can use both
if and ifdef preprocessor directives to check for it. If we use zero,
then we must be careful to always use if, never ifdef.
2013-03-20 09:34:33 +01:00