Commit Graph
147 Commits
Author SHA1 Message Date
Tzanio Kolev 8a474b7365 Renamed Laplace to Poisson where appropriate 2025-03-31 20:56:40 -07:00
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Stefano Zampini df87b22266 PETSc: Initialize device in examples
otherwise there will be mismatches in HYPRE and PETSc default devices for CUDA installs of MFEM
2024-09-08 14:19:48 +03:00
Tzanio Kolev 0952809e5e Merge pull request #4252 from farscape-project/makefile
Improve support for out-of-tree installations
2024-07-19 14:12:27 -07:00
Nuno Nobre c32d62f83c Try to be a bit cleverer when looking for config.mk 2024-07-15 00:10:18 +01:00
Jan Nikl 6c6b053c0f Merge branch 'master' into najlkin-pr14 2024-04-11 14:30:42 -07:00
Jan Nikl 4924033e8a One more useage of ParInnerProduct(). 2024-04-11 12:13:23 -07:00
Stefano Zampini 503a2e2529 ex3p: Skip unsupported PETSc version in three dimensions 2024-04-02 12:00:51 +02:00
Stefano Zampini ed39df11da Fix single precision examples and SLEPc 2024-03-27 00:05:52 +03:00
Stefano Zampini 38c9bc75b5 PETSc: last updates to real_t 2024-03-26 23:10:40 +03:00
Stefano Zampini 440be80704 Merge branch 'stefanozampini/petsc-3.21' of github.com:mfem/mfem into stefanozampini/petsc-3.21 2024-03-26 23:09:34 +03:00
Stefano Zampini a79c2b81cd PETSc: update to real_t 2024-03-26 23:07:55 +03:00
Stefano Zampini a2734e6888 Fix hybridization example 2024-03-26 23:03:59 +03:00
Stefano Zampini d26ea85877 Merge remote-tracking branch 'origin/master' into stefanozampini/petsc-3.21 2024-03-26 22:20:57 +03:00
Sebastian Grimberg 79d0284b3d Further examples/petsc style consistency 2024-03-20 09:09:46 -07:00
Sebastian Grimberg e51be179a4 Consistency with ex14p and ex17p 2024-03-20 09:06:50 -07:00
Sebastian Grimberg 2cbbbe09d4 Fix typo (EX2_ARGS_BDDC_3D -> EX3_ARGS_BDDC_3D) and text wrapping 2024-03-20 09:03:29 -07:00
Stefano Zampini 19154e65ba add 3D HCURL bddc test to CMakeList 2024-03-20 16:02:19 +03:00
Stefano Zampini e34c323edf Petsc: Support 3.21
add missing 3D Hcurl test (fixed in PETSc main) see https://github.com/mfem/mfem/issues/4050
PetscH2Solver::H2SolverConstructor fix ignored error codes
2024-03-19 17:33:03 +03:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Veselin Dobrev 68635cc1a8 Merge pull request #3081 from mfem/sjg/strumpack-solver-dev
Update STRUMPACK solver interface
2023-11-15 18:58:00 -08:00
stefanhenneking 66f8e1b45c Changing op height to be consistent with true DOF definition. 2023-11-01 20:41:19 -05:00
stefanhenneking 38618a58c9 ex5p uses BlockOperator (not BlockMatrix) 2023-10-05 12:56:17 -05:00
Sebastian Grimberg 26841dd3e3 Merge branch 'master' into sjg/strumpack-solver-dev 2023-09-26 08:42:32 -07:00
Veselin Dobrev 21eed0fdf3 In the PETSc CMake file, add all rc_* files 2023-09-19 09:28:41 -07:00
Veselin Dobrev f2f96b1737 In the PETSc examples CMake file, add tests that were missing compared
to the GNU makefile.
2023-09-18 14:56:13 -07:00
Veselin Dobrev a0d8349dda In INSTALL, specify a minimum PETSc version for PETSc+HIP support.
Added CUDA/HIP to the labels (shown when running 'make test') of the
PETSc examples that use one of these devices.
2023-09-07 13:26:19 -07:00
Stefano Zampini 6a9058665e Fix cleaning of PETSc rc_files 2023-07-19 17:00:45 +02:00
Stefano Zampini a003249bc6 PETSc examples makefile: clean rc_files 2023-07-19 16:59:48 +02:00
stefanozampini f280f02493 Disable SLEPC + HIP test 2023-07-19 16:59:48 +02:00
stefanozampini 1cb8697ad1 PETSc: add support for HIP 2023-07-19 16:59:48 +02:00
Sebastian Grimberg 77810e3741 Alternative approach to 15934beb to inititalize MPI with MPI_Init_thread and a level of threading which by default is configured based on MFEM's build configuration, but can be overridden at runtime by modifying Mpi::default_thread_required 2023-06-29 15:31:47 -07:00
Veselin Dobrev 15934bebb9 In the singleton class Mpi: added method Mpi::Init_thread that
performs MPI initialization using MPI_Init_thread; added method
Mpi::Init_auto that selects what MPI init mode to use based on
the configured external packages used by MFEM -- currently it
calls Mpi::Init_thread(MPI_THREAD_MULTIPLE) when using STRUMPACK
built with SLATE or PT-Scotch, otherwise it calls Mpi::Init.

In the examples that can use STRUMPACK, use Mpi::Init_auto instead
of Mpi::Init.

Fix a small unrelated issue noticed during testing: in
miniapps/multidomain/multidomain.cpp, do not open GLVis socket
connections when visualization is disabled.
2023-06-27 17:47:22 -07:00
Sebastian Grimberg 417837e238 Remove code for unsupported STRUMPACK < v3.0
Fix ReturnCode bug for v6.3.1 as well.
2023-04-11 10:23:49 -07:00
hughcars 3a1b7ebc51 Merge branch 'master' into sjg/strumpack-solver-dev 2023-03-30 12:44:22 -04:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Veselin Dobrev fa142c9b59 Small tweaks to .gitignore and 'make clean' 2023-03-06 01:14:53 -08:00
Sebastian Grimberg 5295015a31 Add tests and update examples 2023-01-10 10:55:57 -08:00
Stefano Zampini c5c9a002c0 PetscLinearSolver: respect command line option for nonzero initial guess 2022-11-07 10:40:39 +03:00
Tzanio Kolev 0504397b96 Merge pull request #3179 from mfem/stefanozampini/block-split
Exploit PETSc matrix block structure
2022-10-19 15:46:22 -07:00
Stefano Zampini 04afec9eda remove unused variable 2022-08-31 10:49:11 +03:00
Stefano Zampini 589eefedfb Add block size support 2022-08-31 10:48:57 +03:00
luz paz 476c855bd7 Fix various typos
Found via `codespell -q 3 -L allright,ba,equil,esy,fo,hda,lod,nd,ned,numer,ot,pres,ro,seh,shat,solfes,strat,tbe,te,warmup`
2022-08-05 20:50:51 -04:00
Will Pazner 6ac671baa7 Use Mpi class instead of MPI_Init and MPI_Finalize 2022-03-11 17:58:01 -08:00
Tzanio 1cb2839a20 Merge branch 'master' into hypre_init-dev
Conflicts:
	CHANGELOG
2022-03-11 13:43:43 -08:00
Veselin Dobrev 3755315939 Fix some additional shadow-variable-warnings 2022-03-09 01:09:34 -08:00
Tzanio 8f7cb0b3db Switch to a singleton for the hypre session object: 'HYPRE_Session hypre;' -> 'Hypre::Init();' 2022-03-08 18:06:43 -08:00
Tzanio 447f00d80b Added a HYPRE_Session class to hypre.?pp and examples/miniapps 2022-03-07 14:22:22 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Stefano Zampini 4ae682b2d3 PETSc ex2p: add BDDC example 2022-02-14 13:14:24 +03:00