Commit Graph
100 Commits
Author SHA1 Message Date
Arne Morten Kvarving 9b74b5dfac changed: this is known on compile time
use info to disable code
2021-01-28 14:33:56 +01:00
Arne Morten Kvarving 2a5d908c2e Merge pull request #3035 from akva2/janitoring
quell unused parameter warning
2021-01-28 14:15:05 +01:00
Arne Morten Kvarving 77692c1f99 quell unused parameter warning 2021-01-28 12:52:19 +01:00
Arne Morten Kvarving 560a064ea7 Merge pull request #2987 from akva2/parallel_aquifers
Add supports for aquifers in parallel
2020-12-21 13:53:24 +01:00
Arne Morten Kvarving b812088519 further avoidance of overlap cells 2020-12-21 12:54:34 +01:00
Arne Morten Kvarving faa04b5c4d changed: put initializeConnections in base aquifer class 2020-12-21 12:54:34 +01:00
Arne Morten Kvarving 4cdb3e85c0 make initializeConnection similar in aquifer classes 2020-12-21 12:54:34 +01:00
Arne Morten Kvarving 5f844bc3a4 fixed: no reason to calculate this inside the loop 2020-12-21 12:54:34 +01:00
Arne Morten Kvarving 86d7666e5c enable aquifers in parallel 2020-12-21 12:54:34 +01:00
Arne Morten Kvarving 1907fe4937 collect global aquifer data for output in eclwriter 2020-12-21 12:54:34 +01:00
Arne Morten Kvarving fa90bc0709 add some parallel reductions in aquifer code 2020-12-21 12:54:34 +01:00
Arne Morten Kvarving 91336f30e7 fixed: do not process aquifers attached to overlap cells 2020-12-21 12:02:54 +01:00
Arne Morten Kvarving a74e363c3c add parallel regression tests with aquifers 2020-12-21 12:02:54 +01:00
Arne Morten Kvarving b7c8baf08f add serialization test for AutoICD 2020-12-16 08:36:30 +01:00
Arne Morten Kvarving bd06dff7e2 Merge pull request #2967 from akva2/use_constexpr
Use constexpr members in BlackoilModelEbos to eliminate unnecessary code
2020-12-07 13:17:46 +01:00
Arne Morten Kvarving 7d19091cb3 changed: make member variables constexpr
may as well use the compile time information to eliminate
unnecessary code
2020-12-07 12:16:04 +01:00
Arne Morten Kvarving bbf0f7d6af remove unused members 2020-12-07 12:09:33 +01:00
Arne Morten Kvarving f3c5a496c2 changed: use BOOST_CHECK instead of BOOST_TEST
BOOST_TEST is not available in older versions of boost.
in particular this broke building on rh6/7.
2020-12-07 08:34:56 +01:00
Arne Morten Kvarving 24e6e8b875 Merge pull request #2769 from plgbrts/gaswater
add gas-water simulator
2020-12-03 14:51:21 +01:00
Arne Morten Kvarving 76eec37e5a fixed: use correct type tag in ebos_gaswater 2020-12-03 09:13:23 +01:00
Arne Morten Kvarving 945ecd4f60 Merge pull request #2961 from akva2/reg_test_onephase
add regression tests for flow_onephase
2020-12-02 14:49:19 +01:00
Arne Morten Kvarving 9c5d1aa034 add regression tests for flow_onephase 2020-12-02 11:46:38 +01:00
Arne Morten Kvarving b7e3ca1326 Merge pull request #2928 from akva2/simplify_buildsystem_models
Use lists in buildsystem and rename some ebos models to be consistent with flow
2020-11-27 19:39:39 +01:00
Arne Morten Kvarving ebf0d2d0d7 Merge pull request #2929 from akva2/janitoring
fixed: signed/unsigned comparison warnings
2020-11-19 12:13:12 +01:00
Arne Morten Kvarving be48b3505d remove unused variable 2020-11-19 11:10:33 +01:00
Arne Morten Kvarving a95cc3dcbc fixed: signed/unsigned comparison warnings 2020-11-19 11:03:06 +01:00
Arne Morten Kvarving e176487cae changed: rename ebos_thermal to ebos_energy
make it the same as the flow model, allowing simplification
in the buildsystem
2020-11-18 14:04:27 +01:00
Arne Morten Kvarving 9ad927799b changed: rename ebos_oilwaterpolymer to ebos_oilwater_polymer
make it the same as the flow model, allowing simplification
in the buildsystem
2020-11-18 14:04:04 +01:00
Arne Morten Kvarving 10c3f3b438 changed: simplify build system a little
use lists for models to avoid repeating
2020-11-18 14:03:37 +01:00
Arne Morten Kvarving e4fc08813e disable python tests in debian packaging 2020-11-18 10:55:46 +01:00
Arne Morten Kvarving 16d644032c add cmake option to disable the python tests
due to bugs in the openmpi on bionic, this test fails to
execute properly in pbuilder environments. instead
of rebuilding openmpi without dynamic loading
(which is the suggested fix) and potentially break users
systems, this is a non-intrusive workaround to be used
for packaging.

also add explicit option for python support to make it
visible in cmake frontends.
2020-11-18 10:55:46 +01:00
Arne Morten Kvarving 7b58071b8e Merge pull request #2924 from akva2/janitoring
remove unused variable
2020-11-18 10:53:50 +01:00
Arne Morten Kvarving 608b27096b remove unused cmake option 2020-11-18 09:40:43 +01:00
Arne Morten Kvarving e02a19f499 Merge pull request #2925 from akva2/packaging_numpy
add python3-numpy to debian packaging
2020-11-17 15:22:33 +01:00
Arne Morten Kvarving cff02ee105 remove unused variable 2020-11-17 13:22:35 +01:00
Arne Morten Kvarving 9819183949 add python3-numpy to debian packaging
required after newly introduced test
2020-11-17 12:38:30 +01:00
Arne Morten Kvarving fc29da428b bump version to 2021.04-pre 2020-11-06 08:59:27 +01:00
Arne Morten Kvarving 4121e0a3c4 fix typo 2020-11-03 13:48:09 +01:00
Arne Morten Kvarving 237869772b add scotch(par)metis to debian packaging 2020-10-30 15:56:52 +01:00
Arne Morten Kvarving 4edb27bd37 fixed: drop some shadowing typedefs 2020-10-28 12:11:52 +01:00
Arne Morten Kvarving 1064c62e10 test_equil: change to boost::test 2020-10-28 12:11:52 +01:00
Arne Morten Kvarving 939a132af7 test_ecl_output: change to boost::test 2020-10-27 12:59:58 +01:00
Arne Morten Kvarving cf15d07a94 changed: measure reltol as percentage in macro
this to make it similar to how BOOST_CHECK_CLOSE works.
2020-10-27 12:55:08 +01:00
Arne Morten Kvarving 3c1c3ba1f6 changed: measure relative error in a more standard way (knuth)
|(value-expected)/expected| < tol or |(value-expected)/value| < tol
instead of
|(value-expected)/(value+expected)|

this is how boost::test defines its check
2020-10-27 12:55:08 +01:00
Arne Morten Kvarving 1006991795 changed: measure reltol as percentage in macro
this to make it similar to how BOOST_CHECK_CLOSE works.
2020-10-27 12:09:44 +01:00
Arne Morten Kvarving 6d1f8c75d6 changed: measure relative error in a more standard way (knuth)
|(value-expected)/expected| < tol or |(value-expected)/value| < tol
instead of
|(value-expected)/(value+expected)|

this is how boost::test defines its check
2020-10-27 12:09:44 +01:00
Arne Morten Kvarving 246344fb8f fix typo 2020-10-23 12:34:20 +02:00
Arne Morten Kvarving 9cab259b38 changed: compile each flow simulator as a object library
increases parallelism
2020-10-23 11:53:50 +02:00
Arne Morten Kvarving eb1bd7932f Merge pull request #2868 from akva2/janitoring
changed: remove unused parameters
2020-10-21 14:15:02 +02:00
Arne Morten Kvarving 7d13d347db changed: remove unused parameters 2020-10-21 13:32:12 +02:00
Arne Morten Kvarving 10b2e540fb changed: run tests on 4 processors
more than 4 is problematic on some build machines
2020-10-20 08:13:31 +02:00
Arne Morten Kvarving 1351dc69bc Merge pull request #2864 from atgeirr/silence-warning
Silence unused argument warning.
2020-10-19 11:18:25 +02:00
Arne Morten Kvarving d3f77869b5 Merge pull request #2853 from akva2/package_python
add python package to debian packaging
2020-10-12 14:15:02 +02:00
Arne Morten Kvarving f3182140a6 add python package to debian packaging 2020-10-12 11:24:04 +02:00
Arne Morten Kvarving 440cfdd38b remove LIFTOPT and WLIFTOPT from missing features 2020-10-06 13:55:10 +02:00
Arne Morten Kvarving 3db98e3bef fix typo 2020-10-06 12:36:27 +02:00
Arne Morten Kvarving c888410a07 avoid usage of property system macros 2020-10-05 09:01:58 +02:00
Arne Morten Kvarving 7ffceeba57 fixed: make some indices constexpr
also use the bool conditions for conditional deref'ing with the indices.
this helps avoid maybe uninitialized warnings with gcc
2020-10-01 11:46:31 +02:00
Arne Morten Kvarving 36a42c0685 remove unused variables 2020-09-30 10:12:33 +02:00
Arne Morten Kvarving d286079393 changed: reuse objects if building python inline 2020-09-25 13:47:39 +02:00
Arne Morten Kvarving dd19d08a95 Merge pull request #2808 from akva2/fix_serialize_deadlock
fixed: avoid deadlocks in parallel if serialization throws
2020-09-24 11:51:39 +02:00
Arne Morten Kvarving 49cc70f49c fixed: avoid deadlocks in parallel if serialization throws 2020-09-24 11:00:37 +02:00
Arne Morten Kvarving f846bbe959 remove Mpi::pack handling for GPMaint
this is not implemented, and should go through the
serializer support
2020-09-23 12:23:30 +02:00
Arne Morten Kvarving dfd2109665 added: support for std::optional in eclmpiserializer 2020-09-23 12:23:18 +02:00
Arne Morten Kvarving 1b626ead49 add serialization test for Opm::Network::Node 2020-09-16 08:47:06 +02:00
Arne Morten Kvarving 4160c6ce98 fixed: deserialization for std::optional<T>
just writing the data does not update the has_value as expected
2020-09-16 08:47:06 +02:00
Arne Morten Kvarving 76c63c4405 changed: hide internal method 2020-09-15 10:51:57 +02:00
Arne Morten Kvarving 273d465c32 fixed: use the proper linear operator without wells in matrix in serial 2020-09-03 15:53:57 +02:00
Arne Morten Kvarving 7305f84351 use std::make_unique where applicable 2020-09-02 15:35:39 +02:00
Arne Morten Kvarving 182ec130b1 fixed: use const refs in foreach constructs
avoids unnecessary copies
2020-09-01 13:25:26 +02:00
Arne Morten Kvarving f4f5fa3a5d changed: remove one missed TTAG usage
also include header for the Scalar property definition
2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 9a000c6d07 changed: remove SET_TAG_PROP macro usage 2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 3b21a8a481 changed: remove SET_TYPE_PROP macro usage 2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 93a3ebf8f7 changed: remove NEW_PROP_TAG macro usage 2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 941e4916f8 changed: remove SET_PROP macro usage 2020-08-27 14:02:05 +02:00
Arne Morten Kvarving 7d853d2e05 changed: remove SET_SCALAR_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving fca83318aa changed: remove SET_INT_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving a79c37a041 changed: remove SET_STRING_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving 0e71c0e29b changed: remove SET_BOOL_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving e8248b44ff changed: remove NEW_TYPE_TAG macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving 914053ac3c changed: remove GET_PROP_VALUE macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving 74fac38d85 changed: remove GET_PROP_TYPE / GET_PROP macro usage 2020-08-27 08:19:39 +02:00
Arne Morten Kvarving 82a35e53b7 changed: remove TTAG macro calls 2020-08-27 08:19:39 +02:00
Arne Morten Kvarving 8148a81ed0 changed: replace EWOMS_RESET_PARAMETERS macro calls 2020-08-26 10:50:34 +02:00
Arne Morten Kvarving 70908d9017 changed: remove BEGIN_PROPERTIES/END_PROPERTIES macro usage 2020-08-21 15:50:35 +02:00
Arne Morten Kvarving efd078f564 fixed: have to broadcast summarystate on restart 2020-08-21 10:43:31 +02:00
Arne Morten Kvarving bb03896ad2 add spe1_thermal_watvisc as regression test 2020-06-26 09:49:07 +02:00
Arne Morten Kvarving e31062aa4e add missing license header 2020-06-26 09:49:01 +02:00
Arne Morten Kvarving 41e7201c73 make parseSuccess dependent on MPI
avoids unused warnings when building without
2020-06-19 09:46:21 +02:00
Arne Morten Kvarving 44bec2d7db changed: delay deck dereference
this was harmless unless enableExperiments was given, since
the deck ref is not used otherwise, but it caused an UBSAN issue
when run in parallel.
2020-06-15 09:50:06 +02:00
Arne Morten Kvarving e9c56f869e Merge pull request #2670 from bska/remove-duplicate-decl
Remove Redundant 'packSize' Declaration
2020-06-12 08:27:20 +02:00
Arne Morten Kvarving 6ab90bb0e3 fixed: fix parallel builds
we need the update-version target to run to generate the
necessary headers.
2020-06-09 15:08:30 +02:00
Arne Morten Kvarving 5d423e2300 changed: move moduleVersion to a separate object library
this to minimize re-linking due to compile timestamp support
2020-06-08 10:07:22 +02:00
Arne Morten Kvarving c4be14c0da mark the pybind11 headers SYSTEM to avoid (shadowing) warnings 2020-05-14 11:12:15 +02:00
Arne Morten Kvarving 5fcebcf4a7 remove unused variables
and thus the associated compiler warnings
2020-05-14 11:03:03 +02:00
Arne Morten Kvarving d880aee17d fixed: we still want to build the bindings even if pybind11 is already available. 2020-05-14 10:51:00 +02:00
Arne Morten Kvarving fa5c4a8573 Merge pull request #2586 from atgeirr/fix-tag-for-init
Ensure that the typetag used for initialization is correct.
2020-05-04 11:12:44 +02:00
Arne Morten Kvarving e3a0137dd1 quell deprecation warnings with boost 1.71 2020-04-30 09:47:58 +02:00
Arne Morten Kvarving 0125b71451 changed: remove multiarch-support predepends
no longer required in ubuntu bionic, and breaks ubuntu focal,
and in any case it is support by both platforms.
2020-04-30 09:16:12 +02:00
Arne Morten Kvarving 16a1ddfe5e fixed: use PROJECT_BINARY_DIR, not CMAKE_BINARY_DIR
tests fail to execute in super-build otherwise
2020-04-21 08:50:51 +02:00