Joachim Schoeberl
6f8e4e9f5f
more constexpr
2024-12-04 16:05:50 +01:00
Matthias Hochsteger
3bfa6c19fa
Fix build warnings (found with gcc -Wall)
2024-12-03 18:58:12 +01:00
Matthias Hochsteger
32e0026128
Some memory tracer fixes/features
...
If range checks are enabled:
- Trace all objects
- Check if memory usage never gets negative
- Check if memory usage is 0 in destructor
- Track total memory usage (use pyngcore.GetTotalMemory())
2024-12-03 18:58:07 +01:00
Joachim Schoeberl
9935d877cc
mpi cleanup
2024-12-01 18:55:01 +01:00
Joachim Schoeberl
75504c3a6d
mpi-dummies
2024-12-01 16:06:09 +01:00
Joachim Schoeberl
eead94dfc1
mpirequests::Reset
2024-12-01 13:31:07 +01:00
Joachim Schoeberl
ad5c50eef5
fix size_t-1 problem (got warning in ngsxfem)
2024-12-01 09:34:52 +01:00
Matthias Hochsteger
516c089c42
Fix build error
2024-11-27 21:55:11 +01:00
Joachim Schoeberl
ebf4d4d1b8
fix non-mpi
2024-11-27 21:29:43 +01:00
Joachim Schoeberl
14c39f8283
introduce NgMPI_Request(s)
2024-11-27 21:16:48 +01:00
Joachim Schoeberl
7570468686
bcast material etc names using ibcast
2024-11-26 13:29:14 +01:00
Matthias Hochsteger
9e80e5f195
Fix MPICH compatibility
...
When building without MPI wrapper: Use preprocessor macros instead of global variables for MPI symbols
See https://github.com/NGSolve/netgen/issues/196
2024-11-25 11:20:32 +01:00
Matthias Hochsteger
e2a20a44bc
Put IsSafe to ngcore namespace, separate functions for range check macros for readability
2024-11-20 20:53:35 +01:00
Matthias Hochsteger
a8309fae1c
Update d3, fix styles in timing html chart
2024-10-08 13:59:30 +02:00
Matthias Hochsteger
267830387f
PajeTrace - option to write only (small) html charts and no trace file
2024-10-08 13:58:23 +02:00
Hochsteger, Matthias
d73cffd0c7
Fix TextOutArchive (Win) -> TextInArchive (Unix) incompatibility
2024-09-18 17:48:36 +02:00
Matthias Hochsteger
67a67a453d
Fix copying BitArray in immediate operators in python bindings
2024-09-12 11:11:15 +02:00
Matthias Hochsteger
508136b533
Fix memory leak in TaskManager (thx @roystgnr)
2024-09-02 10:15:28 +02:00
Matthias Hochsteger
00664898c3
Fix building with USE_NUMA
2024-09-02 10:14:04 +02:00
Christopher Lackner
334c3fe702
fix size of me in mt swap in array move constructor
2024-08-27 18:33:36 +02:00
Joachim Schoeberl
53b08efc6a
remove commented code
2024-07-20 10:38:01 +02:00
Joachim Schoeberl
cb8c7850ba
fix (false) warnings
2024-07-20 10:25:45 +02:00
Joachim Schoeberl
487942bc22
ThrowRangeException with [[noreturn]]
2024-07-19 22:30:34 +02:00
Joachim Schoeberl
3c9f98b38d
save index bypasses range-check
2024-07-19 12:33:56 +02:00
Joachim Schoeberl
8f762bc33d
std::move in register_archive
2024-07-18 18:57:06 +02:00
Matthias Hochsteger
62d2e4fba5
Copy ctor for IVec
2024-07-18 15:07:41 +02:00
Joachim Schoeberl
4fd89120b8
sqr is constexpr
2024-07-18 09:44:45 +02:00
Joachim Schoeberl
ad99e5fdea
Exception::Throw
2024-07-17 18:01:59 +02:00
Joachim Schoeberl
ba472f7a11
Exception::Throw
2024-07-17 17:58:38 +02:00
Joachim Schoeberl
357ff7badf
exception with stringview
2024-07-17 12:01:59 +02:00
Joachim Schoeberl
b6b20be30b
IVec with HTArray
2024-07-16 19:20:07 +02:00
Joachim Schoeberl
bac10cf1fb
go back to C-array (since tests fail)
2024-07-16 16:11:20 +02:00
Joachim Schoeberl
7968ae4588
use std::array in IVec (for 0-size handling)
2024-07-16 13:48:17 +02:00
Joachim Schoeberl
20e0b3efa5
replace const string& by string_view in Flags and SymbolTable
2024-07-16 12:44:04 +02:00
Joachim Schoeberl
63986a4e5f
throw range exception via function call -> reduces code size
2024-07-16 10:18:16 +02:00
Matthias Hochsteger
78832cb7c5
Fix building with mpi wrapper but without python support
2024-07-08 11:48:27 +02:00
Matthias Hochsteger
d987051f2b
Fix building without Python
2024-07-04 17:26:47 +02:00
Matthias Hochsteger
a2d9455627
Fix compiling with cuda and active mem-tracer
2024-06-27 11:29:26 +02:00
Matthias Hochsteger
f5c9b87ee7
Fix build issue with gcc on AVX512
2024-06-10 10:48:33 +02:00
Matthias Hochsteger
eb98f59bc0
Add ng_mpi_native.hpp
2024-06-06 15:46:19 +02:00
Joachim Schoeberl
82472c7905
undo std::ignore
2024-05-31 18:42:17 +02:00
Joachim Schoeberl
9a2dd3b63e
avoid warnings
2024-05-31 18:19:57 +02:00
Christopher Lackner
3bb804eeaf
add dict constructor of flags for implicit convertion back
2024-05-31 13:23:53 +02:00
Christopher Lackner
3029b5422a
allow nested flags from nested python dictionaries
2024-05-31 12:55:59 +02:00
Matthias Hochsteger
0e0ea2d5f8
Wrap more MPI functions
2024-05-31 10:17:01 +02:00
Matthias Hochsteger
f70200e5aa
Don't include MPI cxx symbols properly
2024-05-28 13:55:27 +02:00
Matthias Hochsteger
1e7624c7f5
Get rid of mpi4py compile-time dependency, disable MPI wrapper by default
2024-05-28 11:43:15 +02:00
Lisandro Dalcin
246dfd734d
mpi4py: Support limited API and ABI compatibility
2024-05-27 14:26:21 +03:00
Matthias Hochsteger
eaa797d7f6
Wrap MPI_Comm_c2f
2024-05-23 10:37:42 +02:00
Matthias Hochsteger
2072f70f7f
Fix building without MPI
2024-05-16 11:03:44 +02:00