Commit Graph
100 Commits
Author SHA1 Message Date
Markus Blatt 02666a6677 Use CMake's find_file to find install.py for Python installation.
This seems to be a more stable approach as it does not produce
```
/usr/bin/python3.9: can't open file
'/home/mblatt/src/dune/opm-2.9/opm-common//install.py': [Errno 2] No such file or directory
```
for rebuilds after failed attempts.
2022-09-30 18:05:40 +02:00
Markus Blatt d6232f03ec Merge pull request #4130 from OPMUSER/LinearSolverVerbosity
LinearSolverVerbosity
2022-09-29 12:37:55 +02:00
Markus Blatt a1f27654c7 Merge pull request #4120 from akva2/zoltanparam_cleanup
ZoltanParams: some cleanup
2022-09-19 10:45:11 +02:00
Markus Blatt 42ef6ed9de Merge pull request #4107 from akva2/mpipacker_refactor
Refactor MPIPacker
2022-09-15 20:25:34 +02:00
Markus Blatt e7d186b416 Merge pull request #4104 from akva2/serializer_handle_pairs
changed: handle all pairs in eclmpiserializer
2022-09-13 15:52:09 +02:00
Markus Blatt 6ef3a28472 Merge pull request #4020 from akva2/istlsolverebos_separate
put parts of ISTLSolverEbos in separate compile unit
2022-09-12 20:24:21 +02:00
Markus Blatt a4360b4961 Merge pull request #4028 from akva2/reduce_dup
changed: get rid of duplicate MatrixBlock headers/classes
2022-09-09 15:30:30 +02:00
Markus Blatt 15ca494164 Merge pull request #4084 from akva2/tran_distribute_eclmpiserializer
changed: use EclMpiSerializer to distribute transmissibilities
2022-09-07 10:05:05 +02:00
Markus Blatt c58a30068e Merge pull request #4027 from aritorto/lambda
Code modernization
2022-08-26 12:19:47 +02:00
Markus Blatt 32ea42006c Merge pull request #4019 from akva2/paroverlap_separate_unit
put ParallelOverlappingILU0 in separate compile unit
2022-08-22 12:06:26 +02:00
Markus Blatt c631a4ee63 Merge pull request #4018 from akva2/preconditionerfactory_separate
changed: split PreconditionerFactory in _impl file
2022-08-22 10:16:45 +02:00
Markus Blatt e7cc14de4c Revert: Split PreconditionerFactory in _impl file
This reverts commit 7f8c88769e.
Apparently the macros unconditionally use Classes that are only
there for parallel builds.
2022-08-19 14:42:55 +02:00
Markus Blatt 2c26249bb6 Merge pull request #4011 from akva2/preconditionerfactory_separate
changed: split PreconditionerFactory in _impl file
2022-08-19 13:46:19 +02:00
Markus Blatt f3c82fb123 Merge pull request #4010 from akva2/separate_parallelistlinfo
changed: put ParallelIstlInformation in separate compile unit
2022-08-18 11:45:46 +02:00
Markus Blatt 3068424382 Merge pull request #3968 from totto82/drift_fix
Adapt drift compensation code to the way Flow checks convergence.
2022-08-18 11:39:25 +02:00
Markus Blatt acff71c3d1 Merge pull request #4006 from akva2/milu_refactor
changed: put MILU in separate compile unit
2022-08-16 15:31:23 +02:00
Markus Blatt 7a0a4c647c Merge pull request #4005 from akva2/use_std_array
changed: consistently use std::array
2022-08-16 15:08:39 +02:00
Markus Blatt 39ab188791 Merge pull request #3986 from akva2/remove_unused
remove use of Unused.hpp
2022-08-02 14:20:12 +02:00
Markus Blatt af28030123 Merge pull request #3983 from blattms/fix-perf-all-zero
[bugfix] Fixes deadlocks with agressively distributed wells
2022-07-29 09:37:10 +02:00
Markus Blatt 941957c13e Fix shadowed variable warning. 2022-07-28 19:50:24 +02:00
Markus Blatt c22114af41 Handle injection/producer targets correctly for distributed wells.
We should never return in a function if there are no local
perforations for a distributed well, but that is what we did before
this fix.
2022-07-28 17:52:26 +02:00
Markus Blatt 560c6fed4e Merge pull request #3980 from akva2/cleanup_schedule
add missing include
2022-07-27 17:21:45 +02:00
Markus Blatt 1ac012ea71 Merge pull request #3978 from akva2/fix_eclipsestate_includes
add some missing EclipseState includes
2022-07-27 17:03:37 +02:00
Markus Blatt f7dec58ee2 Fix deadlock for distributed wells when calculating densities/pressures
There was a check that is supposed that all rates are zero but for
distributed wells it only checked local perforations. Of course that
can lead to different outcome on processes for distributed wells.
2022-07-15 17:58:04 +02:00
Markus Blatt 412cf1d6cd Merge pull request #3976 from blattms/well-fix-distributed-tw
[bugfix] Fix well transmissibility weights for distributed wells.
2022-07-15 10:39:48 +02:00
Markus Blatt bfd1d3187a [bugfix] Fix well transmissibility weights for distributed wells.
If we compute a sum over all perforations than we need to cater for the
case of distributed wells. That is we need to also sum up over all processes
involved after performing the local sum.

One of these global sums was missing in computeWellConnectionDensitesPressures
for producers when we compute the weights based on well transmissibilities.
2022-07-13 13:40:16 +02:00
Markus Blatt f22d58a1d0 Merge pull request #3953 from Tongdongq/tweak-opencl-launch-params
Tweak opencl launch params
2022-07-07 10:43:15 +02:00
Markus Blatt 6aea0fab37 Added instantiations of OrderedMap with truncated keys for parallel. 2022-06-27 13:09:09 +02:00
Markus Blatt ebb8fc7aae Warn about about long fault -name 2022-06-27 13:09:08 +02:00
Markus Blatt e14823c6d8 Merge pull request #3941 from akva2/remove_int_sim_config
Remove support for internal simulator configuration
2022-06-27 11:05:18 +02:00
Markus Blatt 25a92c2c2c Merge pull request #3958 from Tongdongq/fix-gpu-well-apply
Fix stdwell apply on GPU
2022-06-24 16:02:34 +02:00
Markus Blatt f3bf15ab2f Merge pull request #3946 from Tongdongq/fix-gpu-verbose-timing
Fix: verbose timing for openclSolver
2022-06-22 16:13:57 +02:00
Markus Blatt 9f7de03a80 Merge pull request #3938 from hakonhagland/copy_python
Only copy the necessary files from the source python folder to the build folder
2022-06-10 15:37:27 +02:00
Markus Blatt 5a7029f53c Merge pull request #3933 from hakonhagland/python_nsp
Make the Python `opm` package a namespace package
2022-06-10 15:01:14 +02:00
Markus Blatt 4121be612b Merge pull request #3918 from hakonhagland/python_rates3
Dynamically update Opm::Schedule from Python (part II)
2022-06-10 14:56:24 +02:00
Markus Blatt 5e00a0ae59 Merge pull request #3928 from bska/make-jacobi-prec-opencl-only
Temporarily Limit Block-Jacobi Partitioner to OpenCL Only
2022-06-08 17:24:13 +02:00
Markus Blatt ac59429e01 Merge pull request #3935 from Tongdongq/fix-replace-zero-diagonal
Fix: zeros were not replaced correctly in the diagonal for GPU
2022-06-08 12:28:30 +02:00
Markus Blatt f225521680 Merge pull request #3929 from bska/remove-gridv-param
Use Consistent Grid Views for Transmissibility Calculation
2022-06-01 16:02:16 +02:00
Markus Blatt ad74355aed Merge pull request #3886 from bska/bxip-smry-values
Extract Block-Level Component-in-Place Summary Values
2022-05-23 16:30:17 +02:00
Markus Blatt 10b7f4fbc0 Merge pull request #3912 from bska/attribute-missing-kw-terminator
Emit Actual Message on Input Failure
2022-05-20 23:05:22 +02:00
Markus Blatt 02aaec82f7 Merge pull request #3815 from Tongdongq/subdomain-matrix-for-opencl
Subdomain matrix for opencl ILU preconditioner
2022-05-20 16:05:14 +02:00
Markus Blatt 97ccaca239 Merge pull request #3917 from blattms/bump-version-2022.10
Bump version to 2022.10-pre
2022-05-19 16:53:09 +02:00
Markus Blatt b4d1fd5913 Bump version to 2022.10-pre 2022-05-19 16:46:35 +02:00
Markus Blatt cd663351f6 Merge pull request #3897 from akva2/missing_config_h_include
fixed: add missing config.h include
2022-04-28 12:48:58 +02:00
Markus Blatt 51d8c9536e Spelling fix geomtry -> geometry.
Actually one should rename the function used from opm-common, too.
But that is for later...
2022-04-27 20:52:30 +02:00
Markus Blatt 42c2f649d3 Merge pull request #3893 from akva2/onephase_use_flow_binary
changed: also run the parallel onephase tests through flow binary
2022-04-27 16:33:42 +02:00
Markus Blatt 355f71bda9 Merge pull request #3891 from blattms/flow-add-wateronly-enery
Added support for water-only and water-only + thermal to flow.
2022-04-26 18:08:00 +02:00
Markus Blatt 9b98a8fdc1 Use flow to update reference data for onephase test cases 2022-04-26 17:07:09 +02:00
Markus Blatt c66fb8a93d Added support for water-only and water-only + thermal to flow.
Also run the onephase tests with flow now.
2022-04-26 17:07:09 +02:00
Markus Blatt d58e11d591 Merge pull request #3875 from OPMUSER/Radial-Spider-Grid-Update-Backport-Candidate
Radial and Spider Grid Keywords Not Supported
2022-04-22 14:24:54 +02:00
Markus Blatt aba4c5f487 Merge pull request #3880 from Tongdongq/fix-gpu-tests
Fix GPU tests, use Dune as reference instead of hardcoded
2022-04-21 15:21:07 +02:00
Markus Blatt 1486690738 Merge pull request #3878 from totto82/fixDrsdtcon
fix saturated density in DRSDTCON
2022-04-21 12:14:51 +02:00
Markus Blatt ec9be88736 Merge pull request #3871 from totto82/fix_init
fix density in initialization for case without DISGAS
2022-04-19 07:44:22 +02:00
Markus Blatt c3679fb2ae Merge pull request #3867 from totto82/avoid_error
avoid throw for nan residuals instead return well as unconverged
2022-04-11 10:36:31 +02:00
Markus Blatt ff410d268a Merge pull request #3863 from totto82/unsolvable_fix
fix to --shut-unsolvable-wells=true option
2022-04-11 07:33:46 +02:00
Markus Blatt f7118e42a9 Merge pull request #3862 from akva2/update_redhat_python_versioned_packages
update redhat packaging
2022-04-10 11:24:02 +02:00
Markus Blatt 11ff26bb10 Merge pull request #3861 from bska/block-level-solvent-sat-smry
Retrieve Block Level Solvent Saturation When Requested
2022-04-06 12:13:25 +02:00
Markus Blatt 282951dc44 Merge pull request #3848 from blattms/binary-package-version-no-buildtime
Use empty string for buildtime if BUILD_TIMESTAMP is not set.
2022-04-05 14:54:58 +02:00
Markus Blatt ce0ec4ec38 Merge pull request #3854 from akva2/remove_debian_package
remove in-tree debian (ubuntu) packaging
2022-03-31 19:50:35 +02:00
Markus Blatt 08fd5da6a7 Use empty string for buildtime if BUILD_TIMESTAMP is not set.
In combination with the relevant changes in opm-common this
prevent flow in binary Linux packages from having a timestamp in the
executable that changes with every rebuild.

With the changes in opm-common  one can now set the variable
OPM_BINARY_PACKAGE_VERSION to a meaningful version string (Debian
11.2: 2021.10-4). If that is done and flow is built from tarballs it
will now not have a time stamp and print the package version to the
PRT file. E.g.

Flow Version     =  2021.10 (Debian 11.2: 2021.10-1)
2022-03-23 22:46:40 +01:00
Markus Blatt f550d08122 Merge pull request #3843 from blattms/debian-use-dist-packages-only-for-usr-prefix
[python] Make sure Python files are installed similar to opm-common.
2022-03-23 15:14:36 +01:00
Markus Blatt 5c29a3c3e7 Make determining whether to use dist-packages more bullet proof.
Seems like getsitepackages is not always implemented.
2022-03-22 12:06:23 +01:00
Markus Blatt 17ca01b607 [python] Make sure Python files are installed similar to opm-common.
Instead of always using site-packages we query the sitepackages path
from Python. If it matches dist-packages then we use dist-packages if
we install below /usr, otherwise site-packages is used.

This will also make sure that the Python files end up in the same
location as for the ones of opm-common. This should make using them
easier.
2022-03-22 12:06:12 +01:00
Markus Blatt a7e2b25627 Merge pull request #3836 from blattms/spelling-fix
Fixes spelling shoule -> should
2022-03-09 17:59:45 +01:00
Markus Blatt 6e7e0098ce Fixes spelling shoule -> should 2022-03-09 17:23:59 +01:00
Markus Blatt 0203939bc6 Merge pull request #3828 from bska/report-unique-failed-dewpoint-cells
Report Unique IJK Tuples for Failed Bubble/Dew Point Calculations
2022-03-03 10:44:47 +01:00
Markus Blatt d5b74006c5 Merge pull request #3826 from bska/dont-capture-flux-unless-needed
Don't Capture Local Flux Data Unless Needed
2022-02-26 16:38:24 +01:00
Markus Blatt e2c3cbd84a Merge pull request #3821 from bska/add-iregflow-parallel-test
Add Parallel Comparison Test for RxFy Summary Vectors
2022-02-23 20:26:07 +01:00
Markus Blatt eb7ffdb47c Merge pull request #3811 from bska/communicate-iregflows
Communicate Inter-Region Flows to I/O Rank
2022-02-18 20:47:23 +01:00
Markus Blatt d7b5d0f686 Merge pull request #3796 from bska/accumulate-iregflow-values
Accumulate Inter-Region Phase Flow Rate Contributions
2022-02-18 14:28:20 +01:00
Markus Blatt 1d44a4beac Merge pull request #3817 from bska/fix-pedantic-warning
Remove Extraneous Semicolon
2022-02-18 10:10:44 +01:00
Markus Blatt a520733d5b Merge pull request #3774 from plgbrts/expli-salt
allow for explicit initialization of SALT and SALTP
2022-02-11 14:35:57 +01:00
Markus Blatt 3b8501469c Merge pull request #3800 from Tongdongq/move-gpu-files
Move gpu files
2022-02-03 12:55:41 +01:00
Markus Blatt 4407fdd3db std::regex_replace use $n for referencing and not \n. 2022-01-27 17:22:09 +01:00
Markus Blatt 710d648eda Prevent multiple *.?.dbg/prt files in production crashed parallel runs.
There was a fallout when skipping concating these files to the
default ones (PR #1708). We should also have deactivated creating
these files at all. As a result these files appeared in all parallel
runs that were aborted.

This change now prevents creating and logging to these files in
parallel in a default
run (--enable-parallel-logging-fallout-warning=false).

Developers can still activate logging and concating to see whether
everything is only logged on the io process by passing
--enable-parallel-logging-fallout-warning=true.

Closes 3725
2022-01-27 17:21:29 +01:00
Markus Blatt fe0387be4d Merge pull request #3779 from akva2/fix_dune2.6_build
fixed: build with dune 2.6
2022-01-21 08:57:02 +01:00
Markus Blatt 8bf6c9f2b5 Merge pull request #3775 from akva2/fix_csr_csc_fallout
fixed: conditionally build test_csrToCscOffsetMap
2022-01-18 13:57:46 +01:00
Markus Blatt 3db9a4e3e5 Merge pull request #3750 from ducbueno/isai-ilu
Adds IncompleteSAI preconditioner to openclSolver
2022-01-18 12:38:39 +01:00
Markus Blatt c231e3b56b Merge pull request #3767 from blattms/fix-opencl-warn-from-refactor
Include config.h in clSources.cpp to include correct openCL header.
2022-01-11 21:42:21 +01:00
Markus Blatt ba0bce0fa7 Include config.h in clSources.cpp to include correct openCL header.
Otherwise the definitions determined by CMake are not available to
opm/simulators/linalg/bda/opencl.hpp and choosing the correct header
might fail.

On my system this at least fixes a warning.

Fallout from #3749
2022-01-11 20:13:45 +01:00
Markus Blatt 790fa8044e Merge pull request #3755 from blattms/fix-opencl-apply-stdwells-rebased
Fix opencl apply stdwells rebased (replaces #3746)
2022-01-11 19:18:03 +01:00
Markus Blatt 9bf55a0c6c Let ctest test 3_A_MPI_MULTFLT_SCHED_MODEL2 in parallel.
This would have detected OPM/opm-common#2922 as the test fails
with master.
Needs OPM/opm-common#2923 to succeed.
2022-01-10 20:58:22 +01:00
Markus Blatt bf53d5b0ad Merge pull request #3765 from bska/communicate-dissolved-rates
Accumulate Dissolved Gas and Vaporized Oil Flow Rates Across Ranks
2022-01-10 16:15:06 +01:00
Markus Blatt 994260aaea Merge pull request #3754 from blattms/clean-opencl-kernels-rebased
Clean opencl kernels rebased (rebased #3749)
2021-12-22 15:52:40 +01:00
Markus Blatt 89bc7d9ef0 Variable DEBUG_KERNEL renamed to DEBUG_OPENCL_KERNELS_INTEL
... to indicate that this only works on Intel and to make the
name less generic.
2021-12-22 12:44:07 +01:00
Markus Blatt 723fd50d4c Merge pull request #3748 from hakonhagland/glift_swg_fx2
Refactor some methods in `GasLiftSingleWellGeneric.cpp`
2021-12-21 20:55:48 +01:00
Markus Blatt 0485c65d16 Merge pull request #3740 from atgeirr/make-split-comm-test-runtime-optional
Replace DEMONSTRATE_RUN_WITH_NONWORLD_COMM macro with runtime bool.
2021-12-20 12:46:49 +01:00
Markus Blatt 04308922c8 Merge pull request #3733 from akva2/fix_dune2.6_in_test
fix build with dune 2.6
2021-12-09 14:02:14 +01:00
Markus Blatt 77e03660d9 Merge pull request #3731 from blattms/fix-opencl-cpr-serial
Fixes compilation of opencl CPR without MPI
2021-12-08 20:55:35 +01:00
Markus Blatt ac41c318da Fixes compilation of opencl CPR without MPI 2021-12-08 20:24:14 +01:00
Markus Blatt a61f69bb79 Merge pull request #3672 from Tongdongq/add-cpr-opencl
Add CPR preconditioner to openclSolver
2021-12-08 19:44:59 +01:00
Markus Blatt 44faf036c9 Merge pull request #3716 from totto82/moveGetPerfCellPressureToInterface
Move getPerfCellPressure to wellInterface
2021-11-30 16:35:28 +01:00
Markus Blatt 6d8223f233 Merge pull request #3602 from blattms/parallel-tracers
[feature] Adds support for computing tracers in parallel runs.
2021-11-23 12:39:48 +01:00
Markus Blatt 50867bf23c Guard include of WellContributions.cpp 2021-11-17 19:23:46 +01:00
Markus Blatt d2caf41037 Fix incomplete type ‘Opm::WellContributions’ compiler error (g++-8)
Fixes
```
In file included from opm-simulators/opm/simulators/flow/BlackoilModelEbos.hpp:53,
                 from opm-simulators/opm/simulators/flow/SimulatorFullyImplicitBlackoilEbos.hpp:26,
                 from opm-simulators/flow/flow_ebos_gaswater.cpp:28:
opm-simulators/opm/simulators/linalg/ISTLSolverEbos.hpp: In member function ‘bool Opm::ISTLSolverEbos<TypeTag>::solve(Opm::ISTLSolverEbos<TypeTag>::Vector&)’:
opm-simulators/opm/simulators/linalg/ISTLSolverEbos.hpp:265:56: error: incomplete type ‘Opm::WellContributions’ used in nested name specifier
                 auto wellContribs = WellContributions::create(accelerator_mode, useWellConn_);
                                                        ^~~~~~
```
2021-11-17 17:30:01 +01:00
Markus Blatt 6f40d63f1f [cmake] Add common source files for CUDA/OpenCL/amgcl only once. 2021-11-17 17:30:01 +01:00
Markus Blatt 95651bc35c Fixes unused variable warning. 2021-11-17 16:02:16 +01:00
Markus Blatt 9a80d806c0 Setup parallel solvers for tracers. 2021-11-17 16:02:16 +01:00
Markus Blatt 342352d100 Use cellCentroids lookup function exported from vanguard.
That will take care of doing the right thing in parallel.
2021-11-17 15:55:07 +01:00
Markus Blatt 89f819ce66 Honor tracers in parallel. 2021-11-17 15:55:07 +01:00