Commit Graph

18099 Commits

Author SHA1 Message Date
Lisa Julia Nebel
653cb28bc2 Add the metis partitioner as a command line option as well 2024-07-16 17:39:28 +02:00
Bård Skaflestad
6ce61a9018
Merge pull request #5478 from lisajulia/feature/add-failureFlag-to-tasklets
Use the failure flag of the tasklet runner to detect a failure while …
2024-07-16 10:05:22 +02:00
Lisa Julia Nebel
e2126ae817 Use the failure flag of the tasklet runner to detect a failure while writing output and throw an error if that happens 2024-07-15 08:51:25 +02:00
Razvan Nane
a79d4aff5a fix rocalutionSolver 2024-07-12 13:31:17 +02:00
Markus Blatt
c243620057
Merge pull request #5474 from lisajulia/feature/add-failureFlag-to-tasklets
Remove UNIFOUT keyword from python test data file SPE1CASE1.DATA
2024-07-12 13:13:47 +02:00
Markus Blatt
e95fa33f8e
Merge pull request #5475 from lisajulia/move-documentation
Move documentation
2024-07-12 12:33:22 +02:00
Razvan Nane
8963bf16f9 fix tests 2024-07-12 11:47:25 +02:00
Bård Skaflestad
7789551b74
Merge pull request #5454 from vkip/omp_num_threads
Handle empty or invalid OMP_NUM_THREADS by Flow default
2024-07-12 09:07:53 +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
Lisa Julia Nebel
70e5749a97 Change workflow: do not build documentation here but at opm-python-documentation
And notify opm-python-documentation when docstrings_simulators.json changes
2024-07-10 18:03:00 +02:00
Lisa Julia Nebel
42d79ebb97 Delete almost everything of the documentation here, this will be done in a separate repository opm-python-documentation
Keep only the file docstrings.json (renamed to docstrings_simulators.json)
2024-07-10 18:02:41 +02:00
Markus Blatt
93e06d2187
Merge pull request #5473 from vkip/avoid_mpi_int_overflow
Avoid buffers exceeding intmax in MPI calls
2024-07-10 17:24:05 +02:00
Vegard Kippe
fae49636cc Addressing review comments (changed assert to throw, put chunked broadcast in private method) 2024-07-09 19:15:50 +02:00
Lisa Julia Nebel
b4ee039f07 Remove UNIFOUT keyword from python test data file SPE1CASE1b/SPE1CASE1.DATA file as well
... just in case
2024-07-09 17:27:50 +02:00
Lisa Julia Nebel
e9d3d81ae2 Remove UNIFOUT keyword from python test data file SPE1CASE1a/SPE1CASE1.DATA
With this keyword, the SPE1CASE1.UNRST file could not be read in correctly at some point, until I've added a check in opm-models that checks this, this went unnoticed probably.
2024-07-09 17:27:43 +02:00
Vegard Kippe
99d5a147b1 Fix broadcast and initialize int_pos properly.. 2024-07-09 15:02:15 +02:00
Lisa Julia Nebel
fa3392fb7d Use generate_docstring_hpp.py of opm-common and delete the one here 2024-07-09 13:52:01 +02:00
Vegard Kippe
c10695c5d5 Switch to using size_t instead of int for buffer position, and properly account for MPI using int 2024-07-09 13:48:04 +02:00
Bård Skaflestad
eea42f7363
Merge pull request #5472 from atgeirr/test-fixes
Test fixes
2024-07-09 09:21:21 +02:00
Atgeirr Flø Rasmussen
db1be5e92b Fix Damaris test.
The h5diff program returns 1 (failure) if there are any differences at all,
even if using a relative or absolute difference tolerance and seeing no
differences above the tolerance. In that situation, the output will be empty,
but the return value 1.

To make this test behave similar to the other regression tests, we now check
if its output is empty instead.

Also: set relative tolerance to 0.01 and remove the absolute test. This test
is not meant to trigger for numerics changes, but should capture errors in
the writing of the HDF5 file.
2024-07-08 15:57:10 +02:00
Atgeirr Flø Rasmussen
874b136ce9 Enable running test on BSD/MacOS.
BSD getopts() require options first.
2024-07-08 15:55:41 +02:00
Kjetil Olsen Lye
f3b5e0d14d
Merge pull request #5433 from multitalentloes/useRecomendedBlockSize
Autotune thread block size
2024-07-08 14:17:39 +02:00
Tobias Meyer Andersen
085c3a9b16 add new constructor arguments in test instantiations 2024-07-08 11:35:26 +02:00
Tobias Meyer Andersen
844c7d9f67 use std::numerics for long max values 2024-07-05 11:07:58 +02:00
Bård Skaflestad
758a5f0dfd
Merge pull request #5450 from blattms/feature/remove-axisCentroid-copy
[refactor] Remove unnecessary copy in axisCentroid and simply code.
2024-07-04 23:04:21 +02:00
Markus Blatt
0caf92c6a6
Merge pull request #5448 from atgeirr/ensure-initialized-members-bdystate
Ensure all members are initialized in FlowProblem::boundaryFluidState().
2024-07-04 16:43:05 +02:00
Markus Blatt
3ee2830d28 Change distanceVector_ to take the element index instead of centroid 2024-07-04 14:40:28 +02:00
Bård Skaflestad
34502976a1
Merge pull request #5466 from akva2/fix_test_name_typo
fix typo in test name
2024-07-04 12:05:14 +02:00
Arne Morten Kvarving
220ce99a41 fix typo in test name 2024-07-04 09:32:17 +02:00
Bård Skaflestad
0406d199ab
Merge pull request #5465 from akva2/fix_damaris
add missing include and damaris reference file update support
2024-07-04 09:04:14 +02:00
Kai Bao
706fa281a1
Merge pull request #4935 from plgbrts/auto-choke
WIP: Enabling automatic choke to model a sub-sea manifold in an extended network
2024-07-03 21:29:50 +02:00
Arne Morten Kvarving
5c46d9cde5 add damaris test support to update_reference_data.sh 2024-07-03 21:01:54 +02:00
Paul
f9d82c6042 adressing several reviewers comments 2024-07-03 16:55:00 +02:00
Paul
6e76602e8f changed assessing safe THP range 2024-07-03 16:54:24 +02:00
Paul
393c70a83e clean up and improvements according reviewer comments 2024-07-03 16:54:05 +02:00
Paul
1ddf675cfd moved common thp calculation to updateWellControls 2024-07-03 16:53:51 +02:00
Paul
6ddf5dd01b allow individual well constraints 2024-07-03 16:53:29 +02:00
Paul
36dcf233c5 simplyfying code as some logic is moved to the parser 2024-07-03 16:52:11 +02:00
Bård Skaflestad
efa0895fcd
Merge pull request #5462 from GitPaean/handle_group_well_action_local
make sure a well exists in the process before closing it due to group action
2024-07-03 11:33:29 +02:00
Arne Morten Kvarving
d26ec065f3 add missing include 2024-07-03 11:02:16 +02:00
Arne Morten Kvarving
84c1f0f5c8
Merge pull request #5464 from akva2/quell_gcc12_warnings
Quell some gcc12 warnings
2024-07-03 11:00:39 +02:00
Arne Morten Kvarving
74cd10b1f2 avoid using deprecated type 2024-07-03 07:58:07 +02:00
Arne Morten Kvarving
48344facd4 add virtual destructor to class with virtual members 2024-07-02 22:41:48 +02:00
Paul
b2258dcf90 autochoke producers control mode set to THP 2024-07-02 12:13:56 +02:00
Paul
30e1f5178c Automatic choke 2024-07-02 12:13:52 +02:00
Kai Bao
ce05406483 make sure a well exists in the process
before closing it due to group action
2024-07-01 22:00:39 +02:00
Bård Skaflestad
0137bd566c
Merge pull request #5461 from akva2/basicproperties_split_param
basicproperties:  split out params
2024-07-01 20:12:12 +02:00
Arne Morten Kvarving
fb6286d795 changed: PredeterminedTimeStepsFile parameter moved to Opm::Parameters namespace 2024-07-01 17:52:10 +02:00