Commit Graph

51 Commits

Author SHA1 Message Date
Markus Blatt
79dfb6b2a6 Try to detect more exception during parallel simulator setup.
We have experienced some deadlocks lately because of programming
errors. This change will not result in a clean exit for those
but rather an abort by MPI because of non-matching communications.

Also we cannot forsee whether people will add more exceptions in
those parts that were not protected. We better play it safe here.
2023-08-11 14:08:52 +02:00
Arne Morten Kvarving
dcc67bd11d minimum dune version required is now 2.7 2023-02-27 09:47:39 +01:00
Arne Morten Kvarving
0a430fc16a Simulator: add serialization support 2023-02-14 14:53:54 +01:00
hnil
cf5cc122d4 corrected error in rewrite of comment 2023-02-14 11:15:35 +01:00
hnil
8a12f02db3 - removed not nice comments
- made output text nicer
2023-02-14 11:11:19 +01:00
Arne Morten Kvarving
3e46a11164 propertysystem: avoid pulling in istream 2023-01-03 15:28:15 +01:00
Bård Skaflestad
6f54bd9310 Merge pull request #736 from akva2/use_range_generators
Use elements range generator
2022-10-17 18:10:48 +02:00
Arne Morten Kvarving
a8bbe5549c PffGridvector: use elements range generator 2022-10-17 13:37:44 +02:00
Markus Blatt
b9b6f7defd Use Communication instead of CollectiveCommunication for DUNE>=2.7.
The later is removed in 2.9.
2022-10-11 09:50:27 +02:00
Arne Morten Kvarving
d6c378e6a9 remove use of Unused.hpp 2022-08-02 11:24:40 +02:00
Elyes Ahmed
ab34e99636 adding the communicator as input in Simulator 2021-09-20 17:31:21 +02:00
Arne Morten Kvarving
ae537f536d fixed: do not use Opm:: prefix when inside namespace Opm 2021-05-25 11:46:55 +02:00
Arne Morten Kvarving
c559e348d4 anonymized unused parameters 2021-05-14 13:55:12 +02:00
Arne Morten Kvarving
d049cdd59d fixed: do not use Opm:: prefix when inside namespace Opm 2021-05-05 09:50:05 +02:00
Atgeirr Flø Rasmussen
e04f5844ca Disable property macros.
Still available by manually overriding OPM_ENABLE_OLD_PROPERTY_MACROS,
but not by default. This change has been communicated for a long time.
2020-10-19 09:54:31 +02:00
Atgeirr Flø Rasmussen
3c83f5df0f Add --help-all option that also prints hidden options. 2020-10-16 13:55:45 +02:00
Joakim Hove
b2cac8fa44 Remove unused #include of Exceptions 2020-09-21 10:57:42 +02:00
Atgeirr Flø Rasmussen
378b293918 Merge pull request #618 from akva2/janitoring
reorganize to avoid unused warnings without MPI
2020-06-19 16:55:35 +02:00
Atgeirr Flø Rasmussen
4e189a28df Merge pull request #617 from OPM/replace-property-macro-calls
Replace property macro calls
2020-06-19 11:51:10 +02:00
Arne Morten Kvarving
c8617141d4 reorganize to avoid unused warnings without MPI 2020-06-19 09:45:29 +02:00
Bernd Flemisch
d72de0f308 [cleanup] replace typedef by using 2020-06-10 13:49:42 +02:00
Bernd Flemisch
bdb7bac3e8 [properties] replace remaining macro calls 2020-06-10 13:07:19 +02:00
Bernd Flemisch
b809e9a4f7 [properties] replace SET_STRING_PROP calls
It's not possible to have `constexpr std::string`s in C++17. Taking
`std::string_view` gives conversion errors. Since this is all temporary
and will be replaced by pure runtime parameters anyway, use string
literals for the moment.
2020-06-09 11:15:16 +02:00
Bernd Flemisch
cbffa2a7ba [properties] replace SET_SCALAR_PROP calls 2020-06-09 10:43:28 +02:00
Bernd Flemisch
725c022e69 [properties] replace BEGIN/END_PROPERTIES macro calls 2020-06-08 17:11:48 +02:00
Bernd Flemisch
880c5223ac [properties] replace macro calls by native C++ 2020-06-08 16:41:02 +02:00
Arne Morten Kvarving
016e5a75d8 anonoymize unused parameter
quells compiler warnings
2020-06-08 10:14:29 +02:00
Markus Blatt
9b650a9258 Use negative status to indicate --help, --print-properties, --print-parameters.
That is the documented convention and needed to be able to mark these
runs as successful.
2020-06-03 16:42:25 +02:00
Bernd Flemisch
196e0b9b9b [parameters] restore full functionality of getting parameters 2020-05-19 13:52:34 +02:00
Bernd Flemisch
4c3bd69687 [properties] recover a more general SET_SPLICES macro 2020-05-18 15:53:58 +02:00
Bernd Flemisch
cb81d87fd3 [properties] add forward declaration 2020-05-18 15:53:58 +02:00
Bernd Flemisch
2fe69dfd9b [properties] fix macros that are used in opm-simulators, change include order 2020-05-18 15:53:58 +02:00
Bernd Flemisch
58182fe379 [properties] clean up 2020-05-18 15:53:58 +02:00
Bernd Flemisch
de2ca522ff [properties] redistribute property tag definitions
Minimize changes compared to master. Avoid having the one and only
file for property tag definitions.
2020-05-18 15:53:58 +02:00
Bernd Flemisch
5e411a8665 fix test suite 2020-05-18 15:52:45 +02:00
Bernd Flemisch
54d665a532 [properties] recover splice mechanism 2020-05-18 15:52:45 +02:00
Bernd Flemisch
4f890ed379 [properties] continue with splice mechanism 2020-05-18 15:52:45 +02:00
Bernd Flemisch
2ffc13e9c3 [properties] splice mechanism almost working again 2020-05-18 15:52:45 +02:00
Bernd Flemisch
5fe2bc0aa9 intermediate state of reimplementing the splice functionality 2020-05-18 15:52:45 +02:00
Bernd Flemisch
6d6ba6909c [properties] replace propertysystem 2020-05-18 15:52:45 +02:00
Arne Morten Kvarving
6784db5e71 bump required dune version to 2.6
and remove compatibility code
2020-02-06 16:10:06 +01:00
Atgeirr Flø Rasmussen
4a0effe8cc Add and use gatherStrings() for exception messages.
Ensures user sees any useful exception messages during
initialization.
2020-01-21 15:33:31 +01:00
dr-robertk
20b2c57829 Merge pull request #553 from totto82/sync_logging
Adapt to make logging possible from ebos
2019-10-15 14:14:25 +02:00
Arne Morten Kvarving
29ced177c4 fixed: do not assert for positive timestep when simulation is finished 2019-10-14 09:20:47 +02:00
Atgeirr Flø Rasmussen
8977d64bc6 Whitespace fixes and style consistency. 2019-10-09 14:45:17 +02:00
Atgeirr Flø Rasmussen
544aeea40b Minor modifications requested in review. 2019-10-09 14:45:17 +02:00
hnil
ee482e87a6 change according to comments in pullrequest 2019-10-09 14:45:17 +02:00
hnil
3a56213ed8 Added several checks to ensure timestep>0 2019-10-09 14:45:17 +02:00
Tor Harald Sandve
a245f70283 Adapt to make logging possible from ebos 2019-10-08 14:51:28 +02:00
Arne Morten Kvarving
d302771e6c changed: ewoms/io -> opm/models/io 2019-09-19 10:59:55 +02:00