Commit Graph

3399 Commits

Author SHA1 Message Date
Lars Vingli Odsæter
d2921faec8 Quote possibly empty variable to avoid error message
On RedHat 6.4 workstation the module doesn't find the necessary system
information, and gives an error message when the last parameter to the
string function is not present.
2013-04-16 12:01:57 +02:00
Bård Skaflestad
d645965706 Merge pull request #231 from andlaus/fix_doxygen
Fix a few doxygen issues with the tutorials
2013-04-15 10:11:13 -07:00
Andreas Lauser
7ed3fe69c0 Fix a few doxygen issues with the tutorials 2013-04-15 18:59:55 +02:00
Arne Morten Kvarving
92ee97274e final packaging for 2013.03 2013-04-11 15:52:04 +02:00
Atgeirr Flø Rasmussen
f42cfa79c3 Merge pull request #230 from andlaus/fix_build
opm.h -> config.h
2013-04-10 06:24:13 -07:00
Andreas Lauser
884c5ab027 make config.h the first header to be included in any compile unit
this is required for consistency amongst the compile units which are
linked into the same library and seems to be forgotten quite
frequently.
2013-04-10 12:56:14 +02:00
Andreas Lauser
b20cb0f909 remove the include statement for omp.h in geometry.c
this fixes the build on clang
2013-04-10 12:41:28 +02:00
Atgeirr Flø Rasmussen
8bc4b6efed Merge pull request #229 from rolk/229_log
Give example of how and where to report build failures
2013-04-09 02:13:32 -07:00
Atgeirr Flø Rasmussen
5e30cbccef Merge pull request #228 from rolk/228_arch
Report target architecture when configuring
2013-04-09 02:13:23 -07:00
Atgeirr Flø Rasmussen
d95607ddba Merge pull request #227 from rolk/227_apel
Version entry URL for repository
2013-04-09 02:13:15 -07:00
Atgeirr Flø Rasmussen
eeba969080 Merge pull request #226 from rolk/226_release
Build release library by default
2013-04-09 02:12:56 -07:00
Roland Kaufmann
28f5eabcbc Build release library by default
If you just download the source, compile and install, you get the
release library. Users who want to develop the code, must do setup
in their environment.
2013-04-09 11:03:07 +02:00
Atgeirr Flø Rasmussen
f5b5cee768 Merge pull request #225 from rolk/225_cxxflags
Let the user set compilation flags
2013-04-09 00:43:44 -07:00
Atgeirr Flø Rasmussen
5722d85ed1 Merge pull request #224 from rolk/224_findupsc
Fix erroneous trailing empty dependency
2013-04-09 00:43:10 -07:00
Roland Kaufmann
f11158f521 Give example of how and where to report build failures 2013-04-07 15:14:43 +02:00
Roland Kaufmann
5a17857d7b Report target architecture compiling for 2013-04-07 13:03:08 +02:00
Roland Kaufmann
878fe026f9 Minor refactoring to make code more readable 2013-04-07 00:46:58 +02:00
Roland Kaufmann
43cf58231a Version entry URL for repository
Different set of packages may be necessary for various versions of the
RPM-based distros. Thus we need a way to know which one is indended to
be used (through the selection of the right url).

Also add a version number to the stem of the URL, so that later aliases
can be introduced to let one stay at previous versions.
2013-04-06 01:21:43 +02:00
Roland Kaufmann
0b26514f0f Allow whole program optimization to be switched off 2013-04-05 00:14:26 +02:00
Roland Kaufmann
2386325e57 Allow user to override our non-standard defaults
CMake loads option defaults from the platform file and then usually
proceeds to write these to the cache, so it is not possible to see
if an option was specified by the user, or was the default.

By setting CMAKE_NOT_USING_CONFIG_FLAGS, we regain control over the
options and can then set this to what we think is suitable, provided
that the user hasn't specified something for us.
2013-04-05 00:14:26 +02:00
Roland Kaufmann
e8e3960f47 Detect empty elements in dependency list
These errors are usually an extra trailing semi-colon, which is easy
to put in there for symmetry with the other lines. Give a warning on
this but proceed with the build as usual afterwards.
2013-04-04 10:43:51 +02:00
Roland Kaufmann
adb2dcef32 Remove trailing empty element on dependency list
An extra semi-colon had snuck in here which caused the project to be
dependent on a module called "", which of course failed further down
the line.

This error was previously undetected because we didn't have anything
that depended on opm-upscaling.
2013-04-04 10:33:25 +02:00
Arne Morten Kvarving
0838152259 update: debian packaging version 2013-04-03 12:28:47 +02:00
Atgeirr Flø Rasmussen
fa43244633 Merge pull request #223 from rolk/223_cmake
CMake rollup
2013-04-03 03:19:03 -07:00
Roland Kaufmann
fcaa85e18b Add more support for configuring MPI
Handles options --enable-mpi and --with-mpi-prefix for compatibility
with other autotools projects which uses these settings to tell the
build system where the local MPI library is.
2013-04-03 10:52:57 +02:00
Roland Kaufmann
81cf91fae9 Teach configure wrapper to know about modules 2013-04-03 10:19:09 +02:00
Roland Kaufmann
760739bf2d Also look in corresponding build-dir as ourself
If we are building in a sub-dir to the source tree, guess that a
dependent module is also that, and that the directory that is given
is for the suite, not for the project alone.
2013-04-03 10:16:56 +02:00
Roland Kaufmann
0054c55019 Allow packages to be installed directly in suite dir
Let us specify e.g. --with-dune=/usr, so that the _ROOT variable is
set to e.g. /usr/dune-common, but then backtrack to the parent directory
again if we don't find anything there and search directly in suite dir.
2013-04-03 10:16:55 +02:00
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