Commit Graph
65 Commits
Author SHA1 Message Date
Will Pazner 6ac671baa7 Use Mpi class instead of MPI_Init and MPI_Finalize 2022-03-11 17:58:01 -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 048b57dd9e Merge branch 'master' into hypre-mixedint
Conflicts:
	linalg/petsc.cpp
2021-04-21 11:25:44 -07:00
Jakub Červený 237dd93257 ex6p: remove -rm option for a -cs run 2021-04-14 11:54:19 +02:00
Jakub Červený ac66f24816 ex6p: added one more -cs run 2021-04-12 20:48:28 +02:00
Julian Andrej a9ea9cba15 Merge branch 'master' into hypre-mixedint 2021-04-09 12:00:35 -07:00
Jakub Červený fbc7082a41 ex6p: change sample runs to better represent NC AMR, with proper SFC ordering. 2021-03-24 16:41:58 +01:00
Jakub Červený 9ff5b9db29 ex6p: rearrange sample runs only 2021-03-24 16:37:05 +01:00
Jakub Červený 14152d5f0f Revert move of inline-segment run (should not be followed by --restart). 2021-03-24 16:29:15 +01:00
Jakub Červený cdacc9ae30 Rearrange sample runs in ex6p. 2021-03-17 11:00:16 +01:00
Tzanio e7de263a4c CHANGELOG and typos 2021-03-16 17:27:11 -07:00
Jakub Červený e3fd493007 ex6p: put amr-quad run before the --restart run. 2021-03-08 22:34:16 +01:00
Jakub Červený 0396ec62d7 Reverted to original runs so as no to disturb autotests. 2021-03-05 23:42:53 +01:00
Jakub Červený fe4cb1ac3d Revert saving of checkpoints with nc_simplices == false. 2021-03-05 13:48:16 +01:00
Jakub Červený 1ee85b5721 Added option to reorder the coarse mesh to improve partitoning.
Minor tweaks of the '-rt' option. Rearranged the sample runs.
2021-03-05 13:30:43 +01:00
Stowell, Mark L 026a54aeee Adding 1D mesh support to ex6 and ex6p 2021-03-04 13:27:04 -08:00
Veselin Dobrev 3213213f00 In ex6p.cpp, add an option to choose between conforming
and nonconforming refinement for simplicial meshes.

Add two new sample runs using nonconforming refinement for
one 2D and one 3D simplicial meshes.
2021-02-01 23:25:44 -08:00
Jakub Červený b9809db7d7 ex6, ex6p: reverted to zero-based numbering of iterations 2021-01-15 17:44:27 +01:00
Jakub Červený 8ee6026073 Reverted to star.mesh in ex6p (star-hilbert is better but it would probably throw off testing). 2020-11-14 11:01:40 +01:00
Jakub Červený 6f8fbb43f3 Improved detection of non-matching communicator size in ParNCMesh. 2020-11-11 11:53:58 +01:00
Jakub Červený 8c45889881 ex6p: added the option --max-dofs to the command line. 2020-11-11 11:23:51 +01:00
Jakub Červený 3737cf56bc Updated CHANGELOG and ex6p description. 2020-10-02 17:39:05 +02:00
Jakub Červený 3ca9c9a94d Merge branch 'master' into par-ncmesh-saving-dev 2020-09-24 11:37:08 +02:00
Jakub Červený d0c6aa5cef Reverted ex1p, improved comments in ex6p. 2020-09-24 10:17:49 +02:00
Tzanio 2d2151e4e5 minor 2020-09-01 14:51:22 -07:00
stefanhenneking 5e94c43b7c minor 2020-08-17 17:41:30 -05:00
Jakub Červený 73885a5e89 Merge branch 'master' into par-ncmesh-saving-dev 2020-08-05 20:20:48 +02:00
Veselin Dobrev 785486f12f Update examples, miniapps, tests to use HYPRE_BigInt instead
of HYPRE_Int where appropriate.
2020-07-25 20:47:06 -07:00
stefanhenneking 7595b945b8 Minor change. 2020-07-24 12:01:27 -05:00
stefanhenneking 8e54a05376 Adding diagonal preconditioner to PA case. 2020-07-17 14:31:08 -05:00
Tzanio 4a2449d87f Small adjustment in ceed-cuda skipped sample runs 2020-06-27 18:15:43 -07:00
Jakub Červený 1c10c9136b Example 6p now allows restarting from a checkpoint. 2020-04-02 17:32:58 +02:00
Yohann Dudouit 316c42c5e4 Use cuda-shared instead od cuda-ref. 2020-03-17 15:39:39 -07:00
Yohann Dudouit 6a1819a7c3 fix nurbs_ex11p to print messages only once. 2020-03-17 15:26:04 -07:00
Yohann Dudouit 6638172976 Modify ex6 and ex6p to avoid diff in sample runs. 2020-03-17 14:40:15 -07:00
Yohann Dudouit d504de8705 Add sample runs for libCEED in ex1, ex1p, ex6, ex6p. 2019-12-12 09:42:17 -08:00
Veselin Dobrev 75065b0ea1 Addressing some feedback from the PR. 2019-05-24 10:25:34 -07:00
Veselin Dobrev b69fd1e038 Some tweaks and additions to the MemoryManager class.
Modify the Device class to require the creation of an object in
order to use backends other then Backend::CPU. At destriction,
this object will call the Destroy() method of the MemoryManager to
deallocate any remaining registered device pointers.

In class Device, remove the method Disable() and make the method
Enable() private.

Use a global Array<double> as the buffer used by the cuda functions
for minimum and dot product.
2019-05-23 23:21:27 -07:00
Tzanio 3a860f124c Added a call to Device::Enable at the end of Device::Configure.
Updated examples to use only Device::Configure (no more calls to Enable/Disable)
2019-05-21 19:17:06 -07:00
Veselin Dobrev 40378a046b Introduce a new Memory class for handling host + device allocations
and transfers.

The Memory class is now used by some MFEM classes (like Array and
Vector) which can be used on the Device. Such classes now provide
methods to access the underlying Memory object, e.g. GetMemory.

Updated ex1/ex1p and ex6/ex6p to not need to enable/disable the
Device at specific points -- the Device is now enabled just at the
start. Also, the same examples can now run on Device (e.g. -d cuda)
without the partial assembly option (-pa) -- full assembly will
be still done on CPU but the sparse matrix action and vector
operations will be done using the Device.

Reverted changes in class DenseMatrix related to using the Device.
At this point, DenseMatrix operations are only used for small matrices
and using the Device in this case is not a good option.
2019-05-16 14:53:39 -07:00
camierjs e9de1fcf7b Remove '>' in front of devices tests 2019-04-15 16:05:18 -07:00
Veselin Dobrev 2d39e09c12 Further small tweaks of the examples. 2019-04-11 15:52:59 -07:00
Veselin Dobrev 14f063d608 In ParMesh::Rebalance, make sure the mesh nodes use a ParGridFunction. 2019-04-11 12:36:29 -07:00
Veselin Dobrev 678759a2d6 Updates in the BilinearForm and related classes.
Small updates in ex1, ex1p, ex6, ex6p.
2019-04-10 21:34:47 -07:00
Veselin Dobrev 55f0a7ec66 Updates to the mfem::Device class. 2019-04-08 16:48:56 -07:00
camierjs 15081ba1b8 Remove memory leaks 2019-04-08 14:04:52 -07:00
Jean-Sylvain Camier 840e5f97c6 Add the --pa (-p) option to the ex1p, ex6 and ex6p examples 2019-04-07 11:08:45 -07:00
Tzanio c2e3f8cd00 Adding Device::Print() method that print the configured device + programming
models in order of priority.
2019-03-25 14:50:52 -07:00
Tzanio 2aee6c0b2a Adding device sample runs in examples 2019-03-22 14:57:20 -07:00