Bård Skaflestad
1bf755f5e8
Move Dynamic Dispatch Function to Separate TU
...
This moves about 300 lines of code out of Main.hpp and, especially,
moves the <flow/flow_*.hpp> include statements as well. This, in
turn, makes Main::runStatic<>() usable for out-of-tree consumers.
2025-01-30 13:18:02 +01:00
Arne Morten Kvarving
6d964c1370
mark constructors explicit
2025-01-21 14:41:17 +01:00
Håkon Hægland
402bb85103
Enable building without MPI
2025-01-17 22:06:19 +01:00
Håkon Hægland
864b55f99b
Rebased, and fixed command line parsing
...
Create one log file for each slave subprocess. Redirect both
stdout and stderr to this file
2025-01-17 22:03:13 +01:00
Håkon Hægland
dffe282bf0
Redirect slave standard output to a logfile
2025-01-17 22:01:13 +01:00
Håkon Hægland
4fd225c004
Spawn slaves from master
2025-01-17 22:01:11 +01:00
Markus Blatt
2bbf48c39c
Merge pull request #5856 from michal-toth/bugfix/thread-spawn
...
Bugfix/thread spawn
2025-01-16 17:12:26 +01:00
Arne Morten Kvarving
dcd739fa09
BlackoilModel: add impl file
2025-01-15 11:51:39 +01:00
Michal Tóth
eb782d9ae2
Set maximum threads immediately after parsing paramteres. Remove hotfix.
2025-01-14 09:56:10 +01:00
Michal Tóth
f267df98b4
Avoid repeated rewriting.
2025-01-14 09:56:10 +01:00
Michal Tóth
b865e80c2f
Set limit to the number of threads if it is unset when we ask for the number.
2025-01-14 09:56:10 +01:00
Tobias Meyer Andersen
798f7d5426
Print GPU used on every rank
2024-10-30 11:03:29 +01:00
Arne Morten Kvarving
2353ba56a6
changed: don't store schedule keywords unless required in simulators
...
in the python simulator we cannot make this decision up front
since the schedule can be modified from python code so we have
to do the safe thing
2024-09-27 11:24:20 +02:00
Arne Morten Kvarving
2a9d81227b
changed: subclass Main for python
...
move the initFlowBlackoil method into it
in particular we then avoid the FlowMainType type alias
in Main.hpp
2024-09-09 14:28:20 +02:00
Arne Morten Kvarving
fc96e9da75
Main: mark some members protected
...
to enable subclassing
2024-09-09 14:28:11 +02:00
Arne Morten Kvarving
05f01bf819
parametersystem.hh: rename to .hpp
2024-09-05 10:07:40 +02:00
Lisa Julia Nebel
d02f84afb7
Add action-parsing-strictness
2024-08-20 10:50:56 +02:00
Arne Morten Kvarving
414f313d2a
move FlowProblem parameters to TypeTag-free parameter system
2024-08-16 13:20:06 +02:00
Arne Morten Kvarving
9141f2c2d5
move Damaris parameters to TypeTag-free parameter system
2024-08-16 13:20:06 +02:00
Arne Morten Kvarving
dd1bc8d75b
move FlowBaseVanguard parameters to TypeTag-free parameter system
2024-08-16 13:20:06 +02:00
Arne Morten Kvarving
bfe6f47d58
move FlowMain parameters to TypeTag-free parameter system
2024-08-16 13:20:06 +02:00
Arne Morten Kvarving
3716ee664d
move BlackoilModel parameters to TypeTag-free parameter system
2024-08-16 13:20:04 +02:00
Arne Morten Kvarving
aab40a32e2
move EnableTerminalOutput parameter to TypeTag-free parameter system
2024-08-16 13:17:56 +02:00
Arne Morten Kvarving
18a18a64c7
OutputDir moved to TypeTag-free parameter system
2024-08-12 15:51:19 +02:00
Arne Morten Kvarving
9e11888ccb
ThreadsPerProcess moved to TypeTag-free parameter system
2024-08-12 14:48:56 +02:00
Arne Morten Kvarving
554a261c7f
adapt to ParameterSystem printValues change
2024-08-09 10:56:08 +02:00
Arne Morten Kvarving
e1bcd00a36
adapt to ParameterSystem typetag removal
2024-08-09 10:56:07 +02:00
Bård Skaflestad
ad595fed5e
Merge pull request #5506 from akva2/move_params_to_parameters
...
Move parameters to Opm::Parameters namespace
2024-08-09 09:16:10 +02:00
Kai Bao
3d794d2d80
using std::from_chars instead of std::stoi
2024-08-08 16:12:17 +02:00
Arne Morten Kvarving
a65ddff8f6
changed: BlackoilModel parameters moved to Opm::Parameters namespace
2024-08-06 09:50:02 +02:00
Arne Morten Kvarving
917fdbedfd
changed: FlowProblem parameters moved to Opm::Parameters namespace
2024-08-06 09:50:02 +02:00
Arne Morten Kvarving
2a52cf8134
changed: Damaris parameters moved to Opm::Parameters namespace
2024-08-06 09:50:02 +02:00
Arne Morten Kvarving
d75b91aaba
changed: SimulatorFullyImplicitBlackoil parameters moved to Opm::Parameters namespace
2024-08-06 09:50:02 +02:00
Arne Morten Kvarving
466e26d330
changed: FlowMain parameters moved to Opm::Parameters namespace
2024-08-06 09:50:02 +02:00
Arne Morten Kvarving
4fc1487a9d
changed: FlowBaseVanguard parameters moved to Opm::Parameters namespace
2024-08-06 09:50:02 +02:00
Kai Bao
7803c55a88
avoiding exception from std::stoi("")
...
when not setting OMP_NUM_THREADS in the environment.
2024-08-05 11:48:54 +02:00
Vegard Kippe
a078eaacd3
Removing trailing 'p'
2024-07-11 18:15:16 +02:00
Vegard Kippe
dd08952967
Update after move of ThreadsPerProcess from Properties to Parameters
2024-07-11 15:55:34 +02:00
Vegard Kippe
14818028f0
Handle empty or invalied OMP_NUM_THREADS by Flow default and warn if a valid value overrides --threads-per-process
2024-07-11 15:52:20 +02:00
Arne Morten Kvarving
b3fae7f0f9
changed: OutputDir parameter moved to Opm::Parameters namespace
2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
afa62ee428
changed: ThreadsPerProcess parameter moved to Opm::Parameters namespace
2024-06-28 14:43:11 +02:00
Bård Skaflestad
26c59ce5cb
Merge pull request #5329 from vkip/input_skip_mode
...
Add parameter InputSkipMode to parameterise SKIP100 and SKIP300
2024-05-06 10:56:38 +02:00
Vegard Kippe
b68a55a9b9
Add parameter InputSkipMode to parameterise the behvaviour of the SKIP100 and SKIP300 keywords
2024-05-03 09:28:14 +02:00
Håkon Hægland
a1b7d4b5dd
Allow Python bindings to setup MPI
...
Allows the Python bindings to control whether MPI_Init() and
MPI_Finalize() will be called when creating an OPM::Main object.
2024-05-02 11:14:07 +02:00
Arne Morten Kvarving
0161d69660
adjust to removal of EWOMS_GET_PARAM
2024-04-05 14:02:28 +02:00
Arne Morten Kvarving
1362143e48
move ebos/eclgenericvanguard.[hh|cc] to opm/simulators/flow
2024-03-08 12:39:48 +01:00
Arne Morten Kvarving
388c6c72f7
Flow: drop ebos from simulator object filenames
2024-03-08 12:39:48 +01:00
Arne Morten Kvarving
d5748b6c55
Drop ebos in function names
2024-03-06 10:13:01 +01:00
Arne Morten Kvarving
4aa6dc355f
rename TTag::EclFlowProblemTPFA to TTag::FlowProblemTPFA
2024-02-23 09:27:48 +01:00
Arne Morten Kvarving
67c9bba4c9
rename TTag::EclFlowProblem to TTag::FlowProblem
2024-02-23 09:27:48 +01:00