Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Arne Morten Kvarving e5b32dd82d add norne and norne_parallel as ExtraTests
to execute these you have to use ctest -C ExtraTests
or 'make extra_test'
2020-04-14 16:02:21 +02:00
Arne Morten Kvarving ca697acc60 remove unused lambda parameter
quells a compiler warning
2020-04-14 14:17:41 +02:00
Arne Morten Kvarving d72db978d6 Merge pull request #2533 from akva2/fix_super_build
changed: check for pre-existing pybind11 target
2020-04-14 13:06:53 +02:00
Arne Morten Kvarving 3d48a1d344 changed: check for pre-existing pybind11 target
this is necessary to allow building all modules in a 'super-build'
2020-04-14 09:16:13 +02:00
Arne Morten Kvarving 57d5eefd26 changed: avoid calling parent_path on paths that has none
causes a throw on gcc-9
2020-04-03 11:27:47 +02:00
Arne Morten Kvarving e4be6b28ab Merge pull request #2504 from akva2/fix_broadcast
fixed: broadcasting an int and receiving as a size_t is a very bad idea
2020-03-30 12:23:29 +02:00
Arne Morten Kvarving a456b7dff5 fixed: broadcasting an int and receiving as a size_t is a very bad idea
pointy-hat: me
2020-03-30 11:48:00 +02:00
Arne Morten Kvarving b698fe2c90 prune some unnecessary includes 2020-03-25 09:42:02 +01:00
Arne Morten Kvarving 9906cc47f7 changed: use AquiferConfig when setting up aquifers 2020-03-24 13:36:39 +01:00
Arne Morten Kvarving 5fd85c1446 Merge pull request #2497 from akva2/deck_avoid
Avoid deck usage in simulator
2020-03-24 08:28:21 +01:00
Arne Morten Kvarving 30eb7256bc remove call to checkMissingFeatures
once is enough. as a bonus avoids deck usage in simulator
2020-03-23 15:54:48 +01:00
Arne Morten Kvarving 1424b8e859 changed: use Deck unit system from EclipseState
to avoid deck usage in simulator
2020-03-23 15:54:48 +01:00
Arne Morten Kvarving b3bf3c58b2 changed: use TracerConfig from opm-common 2020-03-23 15:52:53 +01:00
Arne Morten Kvarving 55ad96a067 use TracerVdTable from opm-common 2020-03-23 15:50:13 +01:00
Arne Morten Kvarving 187534780c Merge pull request #2492 from akva2/move_ser_object
changed: use serialization objects from opm-common in tests
2020-03-23 12:40:38 +01:00
Arne Morten Kvarving 3b64e9875c changed: use serialization objects from opm-common in tests
this allows us to macrofy the test instantations
2020-03-23 09:57:54 +01:00
Arne Morten Kvarving 7775a665d0 Merge pull request #2485 from akva2/i_want_no_deck_dammit
fixed: double-parsing of the deck
2020-03-20 11:17:06 +01:00
Arne Morten Kvarving 595f601b2c fixed: double-parsing of the deck
externalDeck = nullptr -> internalDeck was parsed.
i have no idea why we have this external/internal deck in the first place.
2020-03-19 14:50:34 +01:00
Arne Morten Kvarving 82c65f9f5d Merge pull request #2483 from akva2/serialize_internal_schedule
Internal serialization in Schedule
2020-03-19 12:53:10 +01:00
Arne Morten Kvarving 42a2d22d89 avoid potentially uninitialized warnings in serial
this was actually broken by an upstream change from return-by-reference
to return-by-value, but we were lucky, the return value was
kept in memory until end of block it seems.
2020-03-19 10:14:04 +01:00
Arne Morten Kvarving a2d840a5f7 changed: put eclipse state broadcast in separate compilation unit
to avoid compiling several times for each flow variant
2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 4c5f9f2241 add doxy to eclmpiserializer 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 59d1ff9b88 updates in EclMpiSerializer to avoid explicit instances in serializer
now the serializer is 'standard', as in we only require basic types
+ stl containers. this should make the actual implementation pretty
pluggable. will ease replacing our serialization routines
with those in Dune 2.7 later.
2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 9b545e58a4 remove old serialization support for pointers 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving aa7eba1f98 remove old serialization support for DynamicState 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving e71670e231 remove old serialization support for OrderedMap 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 777e2f7683 remove old serialization support for VFPProdTable 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 58b0ed66fc remove old serialization support for VFPInjTable 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving d905e0f037 remove old serialization support for UnitSystem 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 02af915917 remove old serialization support for Dimension 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 37ab44d805 remove old serialization support for UDAValue 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving eef690f910 remove old serialization support for Group 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 714caef9c6 remove old serialization support for GroupProductionProperties 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving d496b93cfa remove old serialization support for GroupInjectionProperties 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving c8b14dcbb1 remove old serialization support for IOrderSet 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 2c41427f3b remove old serialization support for Well 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving eda5fc2d33 remove old serialization support for WellType 2020-03-19 09:31:52 +01:00