Commit Graph
2357 Commits
Author SHA1 Message Date
David Landa Marban 1fd280c68d Removing trailing spaces and adding eol at eof 2025-10-02 10:22:55 +02:00
Tobias Meyer Andersen 6efb3a20f7 use wrapper in new test 2025-09-30 10:24:09 +02:00
Tobias Meyer Andersen 24f56176a8 make cuda includes safer 2025-09-30 10:24:09 +02:00
Tobias Meyer Andersen 44a1037acb Use Generic API when available
Introduce a wrapper that handles whether
we should use the generic or old CUDA/HIP API
based on what versions are present
during compilation
2025-09-30 10:24:09 +02:00
jakobtorben 8ff335c2f2 Refactor test_GpuPressureTransferPolicy to separate tests 2025-09-18 16:54:05 +02:00
jakobtorben fc3e9209ef Implement CPR weight calculation for gpu-ISTL 2025-09-18 16:25:49 +02:00
jakobtorben cea8d4c87f Introduce GpuPressureTransferPolicy and gpu operations for CPR-AMG 2025-09-18 11:00:54 +02:00
jakobtorben 5f862ee513 Fix version compatibility issue in Hypre test 2025-09-17 13:30:01 +02:00
Kjetil Olsen Lye 38a2e20e2c Removed unused variables 2025-09-15 14:08:52 +02:00
Kjetil Olsen Lye d9fa3f100d Formatting 2025-09-15 13:20:54 +02:00
Kjetil Olsen Lye 4398ee56c3 Adding tests for BlackOilFluidState and ConditionalStorage on GPU 2025-09-15 13:20:54 +02:00
Tobias Meyer Andersen 165020c1ea Merge pull request #6444 from jakobtorben/add_support_for_hypre_with_gpu_input_types
Add support for Hypre with GPU input types
2025-09-08 10:30:46 +02:00
Bård Skaflestad 02ca477a31 Merge pull request #6449 from bska/rft-allocate-split-wells
Fix RFT State Collection for Distributed Wells
2025-09-08 08:39:21 +02:00
Markus Blatt 12c1fdcb22 Merge pull request #6440 from hakonhagland/rc_slave_sync
Reservoir coupling: Allow slaves and master to activate at different times
2025-09-08 08:34:17 +02:00
jakobtorben fe05ef6f62 Refactor HypreInterface 2025-09-05 16:16:00 +02:00
Bård Skaflestad bfe03b0a72 Fix RFT State Collection for Distributed Wells
Commit 6295bd08c (PR #6238) restricted RFT data reporting to only
those wells that are owned by the current rank.  In so doing,
however, we failed to properly account for distributed wells.  Such
wells will typically have RFT contributions from multiple MPI ranks
in a parallel run and we did not allow for this situation.
Moreover, as the simulator by default will distribute "inactive"
wells--wells that are never opened, but which exist primarily to
collect RFT-style data--the problem becomes more pronounced for
these wells.

We solve the problem by splitting the RFTContainer's "wellQuery_"
into two responsibilities.  One for determining if a particular
named well is owned by the current rank and another for determining
if the well is intersected on the current rank.  The latter will be
true for all ranks that have local well connections for the named
well.  This, in turn, means that the constructor now takes two
predicate functions instead of the one we originally used.
Furthermore, member function RFTContainer::allocate() will create
internal data structures for all potential connections on all ranks
that share a well, but RFTContainer::addToWells() will still collect
the RFT data only on the rank that owns the well.

Finally, we implement the owning vs. intersecting distinction for
the black-oil output module through a new member function

    bool BlackoilWellModelGeneric<>::hasLocalCells(name) const

while the compositional output module retains the original
owning-is-intersecting behaviour.  We do not support distributed
wells in compositional runs at the time of writing.
2025-09-05 14:45:26 +02:00
Tor Harald Sandve 1b54832d2f Merge pull request #6378 from daavid00/newtmxn
Support for NEWTMX and NEWTMN in TUNING
2025-09-05 14:26:39 +02:00
Håkon Hægland 4d107ba1eb Fix test case failures 2025-09-04 09:57:16 +02:00
David Landa Marban e0ab676007 Support for NEWTMX and NEWTMN in TUNING 2025-09-03 13:18:14 +02:00
jakobtorben c9d4d77d48 Add support for non-owned gaps in data without tmp copies 2025-09-02 16:32:19 +02:00
Kai Bao f057203842 removing the latter call this->initFluidSystem_() in FlowProblemBlackoil
adapting to the interface change of the PhaseUsageInfo
2025-09-02 10:19:36 +02:00
Kai Bao b3e4c4d0d0 removing BlackoilPhases and PhaseUsage
replacing it with a new PhaseUsageInfo and FluidSystem, both of which
are using the same implementation of PhaseUsageInfo, and only one set of
indices is used. Currently, it is the BlackOilDefaultFluidSystemIndices.
2025-09-02 10:19:36 +02:00
jakobtorben 8284abaef0 Add Hypre preconditioner support with GPU types and introduce backend agnostic HypreInterface 2025-09-01 20:45:26 +02:00
Bård Skaflestad c729c11fef Serialise Satellite Injection Rates in Parallel 2025-08-28 12:51:16 +02:00
jakobtorben 2077903929 Add AMGX preconditioner support with GPU types and introduce backend agnostic AmgxInterface 2025-08-28 09:03:23 +02:00
Atgeirr Flø Rasmussen 88baa80ad7 Merge pull request #6401 from jakobtorben/make_gpusparsematrix_support_blocksize_1
Make GpuSparseMatrix support blocksize 1
2025-08-27 19:35:55 +02:00
jakobtorben 0db0fc3703 Extend GpuSparseMatrix to support block size 1 using GpuSparseMatrixGeneric 2025-08-27 15:36:35 +02:00
Jakob Torben aab18a82b3 Merge pull request #6384 from hnil/parallel_hypre
Parallel hypre
2025-08-27 15:08:31 +02:00
Atgeirr Flø Rasmussen dbeaa9f5ed Merge pull request #6417 from vkip/fix_test_norne_pvt
Add missing include to test_norne_pvt
2025-08-22 15:39:42 +02:00
Vegard Kippe 0cb70fc540 Add missing include, so test_norne_pvt compiles on GCC 13.3.1 2025-08-22 14:23:52 +02:00
David Landa Marban 7a0a959195 TUNING: XXX and TRG for CNV and MBE 2025-08-22 12:28:52 +02:00
Tor Harald Sandve 137f790250 Merge pull request #6407 from atgeirr/refactor-and-update-pvt-tests
Refactor and update pvt tests
2025-08-22 09:38:55 +02:00
Bård Skaflestad a8f5b893cf Fix Signed-Vs-Unsigned Comparison Warning 2025-08-21 18:29:00 +02:00
David Landa Marban c237ab491f Support for CONV_NEW when CONV in RPTRST 2025-08-21 15:13:16 +02:00
Atgeirr Flø Rasmussen d6c2c6e232 Update Norne PVT test for live oil.
Following from the interpolation fix.
2025-08-21 13:09:24 +02:00
Atgeirr Flø Rasmussen a5ae242b2b Adjust a tolerance in test_glift1.cpp
Makes the test less sensitive to small PVT changes.
2025-08-21 11:59:45 +02:00
Atgeirr Flø Rasmussen e8d74cfced Adjust tolerances in test_equil.cpp
This test has many subtests, each with their own relative tolerance used to compare
to an opm-generated reference, and many also have a different tolerance used to
compare to an E100-generated reference.

The E100-relative tolerances are reduced from 1.0 to 0.01 (1.0 percent).
The OPM-relative tolerances are homogenized a bit, to 1e-4 (1e-2 percent),
before this some were stricter (1e-6) and some were looser (1e-3).
2025-08-21 11:47:56 +02:00
Atgeirr Flø Rasmussen acb2f3186a Refactor norne_pvt test. 2025-08-21 10:51:58 +02:00
Atgeirr Flø Rasmussen 26753bf84f Merge pull request #6385 from kjetilly/testblackoilfluidsystemnonstaticbykjetil
Unit tests for the BlackOilFluidSystem on GPU
2025-08-14 16:21:43 +02:00
Kjetil Olsen Lye 04617992aa Removed unused typedef 2025-08-14 15:02:56 +02:00
Kjetil Olsen Lye b9b2515280 Updated documentation. 2025-08-14 15:02:32 +02:00
Kjetil Olsen Lye 374c8cf449 Removed unused typedef 2025-08-14 15:00:33 +02:00
Kjetil Olsen Lye 929b0726f6 Fixes for removing pointers to multiplexers in BOFS 2025-08-12 14:45:13 +02:00
jakobtorben 31ad614423 Normalize preconditioner type strings to lowercase 2025-08-08 13:06:16 +02:00
Tobias Meyer Andersen c88ac762f5 Merge pull request #6379 from kjetilly/gpu_mpi
MPI support for the new GPU aware ISTL Solver
2025-08-07 16:02:51 +02:00
Halvor M Nilsen ea868282d5 This introduce parallel hypre preconditioner 2025-08-07 08:20:46 +02:00
Kjetil Olsen Lye 73aef42c1a Merge pull request #6310 from multitalentloes/precompute_diag_idx_experiment
Optimize GPU DILU update calls
2025-08-06 13:12:49 +02:00
Tobias Meyer Andersen 739707fa7a add new constructor argument to tests 2025-08-06 11:20:42 +02:00
Kjetil Olsen Lye ae54428249 Fixes for new make_view and copy_to_gpu 2025-08-04 17:41:27 +02:00
Kjetil Olsen Lye 3fc021b127 Fixes for new make_view and copy_to_gpu 2025-08-04 15:08:05 +02:00