Commit Graph

1076 Commits

Author SHA1 Message Date
jakobtorben
ac5b6b53c5 Select AMGX mode based on template scalar type 2024-12-18 13:30:02 +01:00
jakobtorben
0290fd0e9f Add support for partial resetup with AMGX 2024-12-18 13:30:02 +01:00
jakobtorben
5dd70eb8bb Add AMGX preconditioner 2024-12-18 13:30:02 +01:00
Arne Morten Kvarving
61b7b0c113
Merge pull request #5762 from jakobtorben/hypre_integration
Add Hypre BoomerAMG Support
2024-12-11 10:52:55 +01:00
jakobtorben
1536de038b Document the HyprePreconditioner class 2024-12-10 17:08:18 +01:00
jakobtorben
d663f16bea Add tests for Hypre Preconditioner 2024-12-10 17:08:18 +01:00
jakobtorben
e60aa7da13 Propagate need for recreating solver properly for two level methods 2024-12-10 17:08:18 +01:00
Arne Morten Kvarving
3b67d6dc54 Small fixes for hypre integration (#1)
* use appropriate hypre init function

* properly handle hypre without device support

* don't add hypre preconditioner to factory if scalar type does not match
2024-12-10 17:08:18 +01:00
jakobtorben
6fa9c25ba5 Move Hypre initialization and finalization out to Main 2024-12-10 17:08:18 +01:00
jakobtorben
56897e6d11 Guard Hypre preconditioner creation with HAVE_HYPRE macro 2024-12-10 17:08:18 +01:00
jakobtorben
1af2556385 Add support for GPU with Hypre 2024-12-10 17:08:18 +01:00
jakobtorben
032a7f5ad8 Create coarse matrix with contiguous memory layout 2024-12-10 17:08:18 +01:00
Atgeirr Flø Rasmussen
848e4718b1
Merge pull request #5786 from jakobtorben/expose_finesmoother_parameters_in_CPR_setup
Expose finesmoother pre/post smooth parameters in CPR setup
2024-12-05 15:36:07 +01:00
jakobtorben
27caf3cca7 Expose finesmoother pre/post smooth parameters in CPR setup 2024-12-05 13:05:32 +01:00
Arne Morten Kvarving
73c45c7282 bump minimum dune version to 2.9 2024-12-03 13:59:53 +01:00
jakobtorben
30e3dc3582 Only apply Hypre AMG one V-cycle 2024-11-27 17:09:14 +01:00
jakobtorben
9d47aa605e Add property tree to constructor 2024-11-27 17:09:14 +01:00
jakobtorben
6d22b4f72a Optimise the transfer of memory between Dune and Hypre 2024-11-27 17:09:14 +01:00
jakobtorben
84193fa53d Set Hypre AMG parameters to Jutul default 2024-11-27 17:09:14 +01:00
jakobtorben
10f7a85532 Add Hypre preconditioner 2024-11-27 17:09:14 +01:00
jakobtorben
3ec01f7d7b Update second stage preconditioner for CPR instead of recreate 2024-11-27 10:31:48 +01:00
Kjetil Olsen Lye
4210adff57 Removed #if HAVE_SUITESPARSE_UMFPACK in WellContributions.hpp and MultisegmentWellContribution.hpp since Suitesparse is required without #if guards further down. 2024-11-12 10:10:33 +01:00
Arne Morten Kvarving
91aabf6a92
Merge pull request #5706 from BigDataAccelerate/rename-bda-to-gpu
Remove bda naming from project
2024-11-11 16:26:21 +01:00
Razvan Nane
23e24a8cca Rename ISTLSolverGpu to ISTLSolverGpuBridge 2024-11-11 15:02:01 +01:00
Arne Morten Kvarving
c11e9dd10b remove unused variable 2024-11-11 12:13:43 +01:00
Arne Morten Kvarving
be93ce7163 fixed: add virtual dtor to class with virtual members 2024-11-11 12:13:43 +01:00
Tobias Meyer Andersen
78e01ad06f Add tests for gpu pvt classes 2024-11-08 14:41:34 +01:00
Razvan Nane
baf94f76d2 Rename bda to gpu for classes 2024-11-04 12:31:34 +01:00
Razvan Nane
7c4bafe936 rename bda folder&files 2024-11-04 10:47:34 +01:00
Arne Morten Kvarving
8b21902f74 fixed: division by zero if no gpu device was found 2024-11-01 10:29:51 +01:00
Tobias Meyer Andersen
964844a636 document amd gpu/cpu issue 2024-10-30 11:03:29 +01:00
Tobias Meyer Andersen
798f7d5426 Print GPU used on every rank 2024-10-30 11:03:29 +01:00
Atgeirr Flø Rasmussen
a7efc0091d
Merge pull request #5341 from jakobtorben/NLDD_remove_need_for_addWellContrib
Remove the need for add well contributions to matrix for NLDD
2024-10-10 16:23:52 +02:00
jakobtorben
e790972201 PR review changes 2024-10-10 15:51:53 +02:00
Atgeirr Flø Rasmussen
fc43d3ba44
Merge pull request #5655 from BigDataAccelerate/fix_type
Bug fix in rocsparsesolver
2024-10-10 15:34:03 +02:00
jakobtorben
3ea5c5820e Add well operator for NLDD domains 2024-10-10 15:12:48 +02:00
Kjetil Olsen Lye
9bc7155cf3
Merge pull request #5552 from multitalentloes/add_mixed_precision_ilu0_and_dilu_on_gpu
Add mixed precision ilu0 on gpu
2024-10-10 13:03:14 +02:00
Razvan Nane
82f32be1d9 fix typo in rocsparsesolver 2024-10-09 20:27:01 +02:00
Vegard Kippe
099dabd8a9 Actually update the criterion to use fixed ordering.. 2024-10-04 00:09:04 +02:00
Tobias Meyer Andersen
89df54e379 clang-format ILUKernels.cu 2024-10-02 14:59:29 +02:00
Tobias Meyer Andersen
e82a9fa56c implement PR feedback 2024-10-02 14:57:34 +02:00
Tobias Meyer Andersen
54c2f2df30 update block operation doc 2024-09-30 16:28:56 +02:00
Tobias Meyer Andersen
55c20dbddd Implement mixed precision GPU ILU0 2024-09-30 16:24:49 +02:00
Kjetil Olsen Lye
3161a986a2 SolverAdapter is now more explicit on its communicator/MPI dependence. This fixes the MPI issues with CUDA/HIP/GPUISTL that were introduced with the GhostLastMatrixAdapter. 2024-09-24 10:03:23 +02:00
Kjetil Olsen Lye
567a3bc0fa
Merge pull request #5606 from multitalentloes/fix_opmcuilu0_name
update OpmCuILU0 to OpmGpuILU0
2024-09-13 10:25:10 +02:00
Tobias Meyer Andersen
0bab02f809 update name of opm cuilu0 to match gpuistl 2024-09-13 09:15:19 +02:00
Kai Bao
85513754bc splitting Blackoil related to FlowProblemBlackoil
so FlowProblem can be used for compositional or other setting
2024-09-11 14:58:14 +02:00
Arne Morten Kvarving
7fb5260e53
Merge pull request #5593 from multitalentloes/fix_macro_todo
reolve gpuistl macro todo
2024-09-10 20:10:30 +02:00
Tobias Meyer Andersen
9d8679ccc6 reolve temporary macro todo 2024-09-10 15:44:20 +02:00
Tobias Meyer Andersen
5947090a9e update the name of the solver to fit with gpuistl 2024-09-10 14:10:58 +02:00