Commit Graph
28 Commits
Author SHA1 Message Date
Tzanio 33740acb3e Some edits in general/ 2020-03-09 20:12:51 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
camierjs ffafd43bf4 Remove warnings from CudaConformingProlongationOperator and CudaGroupCommunicator 2019-08-20 17:52:13 -07:00
camierjs eae9341fe8 Cleanup WIP 2019-08-20 13:17:09 -07:00
camierjs 0d1bb17f99 Direct MPI from Engines 2019-08-01 15:11:06 -07:00
Tzanio b0987500a4 make style 2018-05-21 13:18:44 -07:00
KazemKamran 37686b0321 Add the PUMI-MFEM MeshAdapt interface implementation and an example 2018-05-03 17:44:16 -04:00
Tzanio c0a6bdad45 Merge branch 'master' into lor-interp-dev 2018-03-05 12:31:12 -08:00
Veselin Dobrev 7638ad1144 Improved const qualifiers in class GroupCommunicator. 2018-03-03 18:30:51 -08:00
Vladimir Tomov 3df7714f02 Added a check before MPI_Waitany in communication.cpp - some MPI versions
segfault without it.
2018-03-01 14:31:57 -08:00
Veselin Dobrev c52c6243bc In class GroupTopology, use a new implementation for the final
stage of the method Create(). The previous implementation was
using MPI_Recv() with MPI_ANY_SOURCE which was causing issues
where one rank was receiving data sent from different calls to
Create().

In class GroupCommunicator, add const to the arguments of the
methods Create() and SetLTDofTable().
2018-01-08 23:30:09 -08:00
Veselin Dobrev 5e59073ee0 Address warnings from some compilers.
In makefile, explicitly pass command line overrides to the recursive
make calls in the same directory.
2017-12-10 03:10:52 -08:00
Veselin Dobrev 5d8570501c Remove the MPI communicator parameters from the constructors of class
MPI_Session - the only communicator that makes sense with this class is
MPI_COMM_WORLD.

Replace `mfem::err.GetStream()` with `mfem::err`.

Remove #include "communication.hpp" from error.hpp.
2017-09-30 18:50:08 -07:00
Veselin Dobrev 27ffe35369 Merged general/globalcomm.[ch]pp and general/globalostream.[ch]pp into
general/globals.[ch].

Renamed class WrappedOStream to OutStream and use a different
implementation in order to support the case when the OutStream is passed
as a parameter of type std::ostream.

In class MPI_Session, added an MPI_Comm parameter to both constructors,
with a default value of MPI_COMM_WORLD.

Hide the global variable MFEM_COMM_WORLD and allow access (read and
write) with global functions: GetGlobalMPI_Comm() and
SetGlobalMPI_Comm() - in the future, we may want to perform some tasks
when changing the "global" MPI communicator.

In mfem_error(), use GetGlobalMPI_Comm() instead of MPI_COMM_WORLD.

Minor formatting changes and #include reordering.
2017-09-29 15:52:51 -07:00
Tzanio abe85f4cb6 make style 2017-09-28 10:15:26 -07:00
Aaron Fisher aa040f3e64 Made everything work with the new mfem::out and mfem::err output. 2017-09-27 15:42:37 -07:00
Tzanio 8f9a2e9980 small changes 2017-09-22 17:53:16 -07:00
Aaron Fisher 9a4f78ec65 Changed the global ostream to something that looks more like cout/cerr. Updated the code in the general folder to use the new global ostream as an example. Added a global MPIComm to replace MPI_COMM_WORLD. 2017-09-22 14:34:50 -07:00
Veselin Dobrev 055e9917c3 Update some code comments and one MFEM_ABORT message. 2017-08-08 18:28:19 -07:00
Veselin Dobrev 23a32a85ad In class GroupCommunicator, add a new communication mode: byNeighbor
while calling the original mode byGroup. The new mode, which is also the
new default, aggregates communications between the same two ranks that
may consist of data corresponding to multiple groups, thereby reducing
the total number of MPI send and receive calls. This optimization
addresses the slowdown observed in the last commit for small problem
sizes (per rank) while also providing small improvements for medium and
large problem sizes.

The communication mode of a GroupCommunicator can be specified with the
new second parameter of its constructor which has a default value
byNeighbor.

Add two new methods, mostly useful for debugging/diagnostics:
GroupCommunicator::PrintInfo() and HypreParMatrix::PrintCommPkg().
2017-08-05 22:46:49 -07:00
Veselin Dobrev 0447139e5f Implemention of an optimized, matrix-free, parallel prolongation
operator for the case of conforming parallel meshes.

N.B.: For small problem sizes, the HypreParMatrix version seems
to be faster.
2017-08-01 18:18:36 -07:00
Tzanio 1569425857 Version 3.3 2017-01-28 22:05:47 -08:00
Jakub Cerveny 125ff226e4 Version 3.2 2016-06-30 10:37:30 -07:00
Tzanio dbae60fe32 Version 3.1 2016-02-16 15:45:48 -08:00
Tzanio Kolev 9d7774a03e Version 3.0 2015-01-26 15:07:34 -08:00
Tzanio Kolev fa169e4b92 Version 2.0 2011-11-18 11:39:53 -08:00