Commit Graph
140 Commits
Author SHA1 Message Date
Tzanio Kolev a1bcd7443d Merge branch 'master' into jdongg/pa-simplices 2026-06-05 16:39:29 -07:00
camierjs a0022e0330 Fix number of threads in simplices kernels to allow D1D > Q1D, revert Stroud int rules in ex1[p], fix thread race in SmemPADiffusionApplyTetrahedron 2026-05-22 06:45:02 -07:00
camierjs 3a2f286e2d Select Stroud integration rule ine ex1[p] when needed, add verification in simplicial kernels that D1D <= Q1D 2026-05-21 08:09:33 -07:00
camierjs 60641259b2 Revert ex1[p] refinements 2026-05-19 08:27:20 -07:00
camierjs 99e2b5023d Simplify ex1[p] with IsSimplexMesh 2026-05-19 08:26:01 -07:00
camierjs a5b9a7948f Add ex1p device simplices sample runs 2026-05-06 17:22:44 -07:00
yuyangdai de8aacddce Replace enum class with enum 2026-04-28 14:59:09 +08:00
yuyangdai a2b34ab650 Add conditional compilation for cudss_solver in ex1p 2026-04-08 15:05:50 +08:00
yuyangdai f478f687ff Update cuDSS solver integration:
- Use the full name of default communication library and threading library.
- Check the `CUDSS_COMM_LIB` and `CUDSS_THREADING_LIB` in environment first.
- Add the `cudss-solver` option in ex1p
2026-04-08 13:48:56 +08:00
yuyangdai f8fcdf6a97 Update cuDSS configuration and library paths in CMake and makefiles; refactor cuDSS solver integration.
- Add `MFEM_CUDSS_COMM_LIB` for OpenMPI communication library
- Add 'MFEM_CUDSS_THREADING_LIB' for threading library
- Add SetMatrixCuDSS() to set matrix values for cudss
- Remove SetMatrixSortRow()
- Remove unused options and simplify conditions in ex1.cpp and ex1p.cpp.
2026-04-01 13:49:02 +08:00
daiyuyangandAndrew Ho d6de2c1a1d Update examples/ex1p.cpp
Co-authored-by: Andrew Ho <ho37@llnl.gov>
2026-01-22 09:35:32 +08:00
daiyuyangandAndrew Ho c4b4cfdc2f Update examples/ex1p.cpp
Co-authored-by: Andrew Ho <ho37@llnl.gov>
2026-01-22 09:35:18 +08:00
daiyuyang a8eba594d2 Update linalg/cudss.hpp and linalg/cudss.cpp; Revert general/device.cpp
- Move ` CUDA_REAL_T` to the cpp file.
- Remove `CuDSSHandle` singleton and replace it with a static cudssHandle_t variable.
- Delete `CuDSSHandle::Init()` from ex1p
2025-12-17 09:52:36 +08:00
yuyangdai d8734b4b18 Update the examples/ex1p.cpp
- Add the global cudss handle before using the cudss solver.
2025-12-15 10:27:47 +08:00
yuyangdai 3f236b406f Update examples/ex1p.cpp
- Add cudss solver into the ex1p.cpp
2025-12-11 13:55:16 +08:00
Tzanio Kolev 8a474b7365 Renamed Laplace to Poisson where appropriate 2025-03-31 20:56:40 -07:00
Stowell, Mark L. 4de1e1bad3 Altering examples code comments as per Tzanio's suggestion 2025-01-22 09:49:29 -08:00
Stowell, Mark L. e2ed642f5b Correcting the comments in the examples 2025-01-21 20:26:17 -08:00
Stowell, Mark L. 5b002f9452 Using the new MarkExternalBoundary methods in ex1, ex1p, and ex11p 2025-01-21 15:47:31 -08:00
Stowell, Mark L. bd3d1b6dcc ex1p showing four proposed solutions 2025-01-16 15:54:11 -08:00
Stowell, Mark L. 3ac922ac32 Using new functions in ex1 and ex1p 2025-01-15 17:18:45 -08:00
Mark L. Stowell 0c88591848 make style 2024-12-12 15:46:07 -08:00
Mark L. Stowell c8aa01fbe6 Using new methods to find essential BC DoFs in ex1 and ex1p 2024-12-12 14:52:48 -08:00
Will Pazner b3a57feaae Use Device::IsEnabled and add explanation in ex1 and ex1p 2022-11-13 16:02:32 -08:00
Yohann Dudouit 6e70e2883b Set diagonal policy to DIAG_ONE when using Full assembly. 2022-11-07 12:32:53 -08:00
Yohann Dudouit affa9185bd Set the diagonal policy to DIAG_ONE in ex1 and ex1p. 2022-11-07 11:17:26 -08:00
Yohann Dudouit 612a94aef7 Add EnableSparseMatrixSorting in ex1 and ex1p. 2022-10-20 09:47:05 -07:00
Yohann Dudouit dabae076c5 Reactivate full assembly sample runs in ex1 and ex1p. 2022-08-25 13:36:46 -07:00
Veselin Dobrev da2b481c5b Temporarily disable the FA sample runs in ex1/ex1p due to
non-deterministic behavior.
2022-08-16 15:03:08 -07:00
Yohann Dudouit 5e235154a5 Revert "Temporarily disable 2D parallel mixed mesg runs until #2953 is fixed"
This reverts commit e3775d570f.
2022-07-26 16:33:16 -07:00
Tzanio Kolev e3775d570f Temporarily disable 2D parallel mixed mesg runs until #2953 is fixed 2022-07-26 12:52:14 -07:00
Tzanio Kolev baa438344f Merge branch 'master' into yohann/mixed-mesh 2022-07-15 07:38:14 -07:00
Yohann Dudouit a3429fa4ab Add mixed meshes sample runs with libCEED in ex1 and ex1p. 2022-06-21 12:14:29 -07:00
Yohann Dudouit 3e40a30e5d Add sample runs with "fa" in ex1 and ex1p. 2022-06-10 11:33:54 -07:00
Yohann Dudouit ecf3c10c08 Add support for FA in ex1 and ex1p. 2022-04-27 15:20:36 -07:00
Will Pazner 73ad5ba25d Small fix 2022-03-11 18:07:13 -08:00
Will Pazner 6ac671baa7 Use Mpi class instead of MPI_Init and MPI_Finalize 2022-03-11 17:58:01 -08:00
Will Pazner 4ace41773d Remove Mpi::Session, access directly using static member functions 2022-03-11 15:41:07 -08:00
Will Pazner 8d812ec8c3 Rename MPI class to Mpi to avoid conflict with (deprecated) C++ MPI namespace 2022-03-11 13:43:14 -08:00
Tzanio f2cad1e55b MPI_Session -> MPI singleton in examples, miniapps and tests 2022-03-08 19:29:45 -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 d79f5c6c92 Added sample runs with pyramids/wedges in examples 1, 3, 4 and 22 2021-08-22 15:06:00 -07:00
Veselin Dobrev 602c2c84e7 Work in progress.
With a non-CUDA hypre build, 'make test' should work fine.

With a CUDA hypre build:
  * Only some tests in 'make test' work.
  * 'ex1p' and 'ex2p' should work with "cpu" and "cuda" devices with
    any number of processors.
  * Most of the other examples and miniapps still need work.
2021-06-17 11:53:44 -07:00
Julian Andrej a9ea9cba15 Merge branch 'master' into hypre-mixedint 2021-04-09 12:00:35 -07:00
Will Pazner 2b3dea3637 Don't need to call MPI_Finalize in ex1p since using MPI_Session 2021-03-25 14:14:21 -07:00
Tzanio d96cc98312 Small adjustements 2021-03-21 15:34:05 -07:00
Andrew T. Barker 258206cd12 ex1, ex1p: add #ifdef MFEM_USE_CEED guards around command line arguments 2021-03-17 10:04:46 -07:00
Andrew T. Barker b166eea003 Fuse WrapOperator into ceed::Operator object, reduce code duplication 2021-03-02 10:52:44 -08:00
Andrew T. Barker 342caebed0 Address code review comments. 2021-02-25 15:36:27 -08:00