Atgeirr Flø Rasmussen
07d9ec135b
Make Main a non-template class again, simplify.
2020-04-16 11:35:01 +02:00
Håkon Hægland
3624725885
Merge flow_tag.hpp into Main.hpp.
...
Addresses the comments in PR #2521 regarding code duplication in
Main.hpp and flow_tag.hpp. This PR merges the code in flow_tag.hpp
into Main.hpp such that flow_tag.hpp can be eliminated (will be done
in the next PR).
2020-04-14 14:53:48 +02:00
Håkon Hægland
8c1a951e09
First PR in a splitting up of PR #2516 .
...
According to private discussion with @joakim-hove PR #2516 is splitted into
smaller parts to facilitate review and a quicker merge into master.
As mentioned in PR #2516 , main() in flow.cpp is refactored to address
the comments on PR #2127 and as preparation for implementing the Python
bindings described in PR #2403 .
2020-04-03 14:53:45 +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
Joakim Hove
d6a1d3029e
Use std::shared_ptr for Python handle to Schedule
2020-03-31 12:28:07 +02:00
Joakim Hove
f425758c25
Merge pull request #2501 from joakim-hove/add-python-arg
...
Add Python argument to Schedule constructor
2020-03-27 13:44:09 +01:00
Joakim Hove
30216212c4
Add Python argument to Schedule constructor
2020-03-26 10:15:07 +01:00
Arne Morten Kvarving
b698fe2c90
prune some unnecessary includes
2020-03-25 09:42:02 +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
d9ab0e7522
remove old serialization support for ASTNode
2020-03-19 09:31:07 +01:00
Arne Morten Kvarving
7389959b88
remove old serialization support for WListManager
2020-03-19 09:31:07 +01:00
Arne Morten Kvarving
13f3b31bd6
add missing includes
2020-03-16 20:52:17 +01:00
Arne Morten Kvarving
05286d8900
changed: simplify mpi setup
...
no need for a separate reference to the parallel state any longer
2020-03-16 08:20:44 +01:00
Arne Morten Kvarving
3389db4f4c
fixed: consistently use #if MPI instead of #ifdef MPI
2020-03-16 08:20:44 +01:00
Arne Morten Kvarving
38023fac21
changed: use EclMpiSerializer for Schedule
2020-03-16 08:20:44 +01:00
Arne Morten Kvarving
c40c733a57
fixed: build without MPI
2020-03-13 17:52:37 +01:00
Joakim Hove
4dfa22e6a2
Allow flow to continue with --sched-restart=false
2020-03-12 15:20:39 +01:00
Arne Morten Kvarving
e1bf6ed4a6
use eclmpiserializer for SummaryConfig broadcast
2020-03-10 10:01:26 +01:00
Joakim Hove
42f96ca039
Add commandline switch --sched-restart to control restart init
2020-03-04 15:44:32 +01:00
Arne Morten Kvarving
293612265e
fix build without MPI
2020-02-28 13:03:16 +01:00
Arne Morten Kvarving
05c0c4b6e8
Use the ParallelEclipseState and ParallelFieldPropsManager
...
with these in place, we now only parse the deck on the root process.
2020-02-28 10:26:55 +01:00
Arne Morten Kvarving
68a9d17de1
changed: pass/store deck as a pointer
...
and remove asserts for null-ptr. preparatory step for only
having deck on root mpi process
2020-02-28 10:26:55 +01:00
Joakim Hove
2e18107097
Add disabled functionality to init wells and group from restart file
2020-02-25 09:49:26 +01:00
Joakim Hove
d3bfa83c7c
Merge pull request #2343 from joakim-hove/move-rstconfig
...
RestartConfig has moved from EclipseState to Schedule
2020-02-20 07:07:37 +01:00
Arne Morten Kvarving
abc439d336
remove last usage of boost::filesystem
2020-02-18 08:54:37 +01:00
Joakim Hove
5ad4936025
RestartConfig has moved from EclipseState to Schedule
2020-02-17 21:48:12 +01:00
Arne Morten Kvarving
11e0e5b549
Merge pull request #2326 from akva2/fix_dune_fem
...
fixed: build with dune-fem enabled
2020-02-17 09:03:04 +01:00
Robert Kloefkorn
e04bb6e91a
[feature][flow_blackoil] Added a variant to compile the blackoil option
...
only for faster development.
2020-02-10 12:11:30 +01:00
Arne Morten Kvarving
f4bc377996
fixed: build with dune-fem enabled
...
in that case we do not have an 'instance' of the static mpi helper
class.
2020-02-07 15:19:09 +01:00
Bård Skaflestad
73a58c4599
Merge pull request #2287 from akva2/avoid_deck_for_phases
...
avoid instancing a new Runspec from deck to obtain active phases
2020-01-17 16:22:26 +01:00
Arne Morten Kvarving
8a14d70f97
avoid instancing a new Runspec from deck to obtain active phases
...
this is already available in the eclipseState.
in particular, this is preparing for the case where only the
root-process has a deck instance.
2020-01-17 15:36:30 +01:00
Arne Morten Kvarving
3fca2ae631
changed: avoid using deck setting up schedule on non-root processes
2020-01-17 10:29:46 +01:00
Trine S. Mykkeltvedt
99e7785fb5
renamed saltwater-->brine and removed keywords from missingFeatures
2020-01-09 14:14:38 +01:00
Trine S. Mykkeltvedt
5749615bd8
addd simple salt/brine implementation
2020-01-09 14:14:38 +01:00
Arne Morten Kvarving
227ff00730
avoid usage of deck on all processes setting up SummaryConfig
2020-01-08 10:30:57 +01:00
Joakim Hove
252829850e
Pass ParseContext settings in constructor
2019-10-25 14:30:13 +02:00
Joakim Hove
4490f31540
stdout logging only for rank 0
2019-10-16 15:19:00 +02:00
Tor Harald Sandve
aeb29a5412
move PRT header to the top
2019-10-03 12:13:13 +02:00
Joakim Hove
dccb9bfa10
Merge pull request #2017 from atgeirr/fix-abort-unknown-param
...
Abort the run before reading the deck if there are unknown params.
2019-09-23 22:10:17 +02:00
Atgeirr Flø Rasmussen
c7200460ab
Abort the run before reading the deck if there are unknown params.
2019-09-19 14:20:05 +02:00
Arne Morten Kvarving
d3d9831fc3
changed: ewoms/common -> opm/models/utils
2019-09-19 11:14:36 +02:00
Atgeirr Flø Rasmussen
7c34877630
Ensure output dir exists before creating log streams.
2019-09-06 12:35:40 +02:00
Joakim Hove
c804e85bc7
Setup logging before the simulator is initialized ( #1980 )
...
Setup logging before the simulator is initialized
2019-08-27 22:41:48 +02:00
Franz G. Fuchs
7fb90bff47
Use foam module.
2019-08-07 10:39:16 +02:00
Bård Skaflestad
6cf0710271
Flow: Verify Consistent Array Dimensions
...
The output code has an unfriendly error mode in which we
unceremoniously crash--without writing any data--if some declared
array dimensions from RUNSPEC aren't big enough to hold all the
dynamic objects (wells, groups, connections &c).
Verify that the declared dimensions are indeed big enough for the
current simulation run before starting the simulator to ensure that we
don't waste a lot of computational effort if, for instance, the first
output is very close to the end of the simulation.
2019-06-30 23:50:38 +02:00
Atgeirr Flø Rasmussen
a33cfbf0bc
Moved Flow-related classes and files to opm/simulators/flow.
2019-06-20 11:00:51 +02:00
Kai Bao
8ac85b892c
Merge pull request #1859 from joakim-hove/use-exit
...
Return EXIT_FAILURE in main() instead of rethrow
2019-05-24 10:29:59 +02:00
Joakim Hove
7489269172
Return EXIT_FAILURE in main() instead of rethrow
2019-05-24 08:34:12 +02:00
Atgeirr Flø Rasmussen
41ef80dd7d
Merge pull request #1842 from blattms/always-print-version-if-requested
...
If requested always print version and exit.
2019-05-15 15:13:24 +02:00
Markus Blatt
b885c1a013
Let only master process print information about exception.
...
Previously, each process did this in a parallel run which
clutters the terminal output quite a bit in a parallel run.
2019-05-15 11:14:06 +02:00