Commit Graph

538 Commits

Author SHA1 Message Date
Matthias Hochsteger
2072f70f7f Fix building without MPI 2024-05-16 11:03:44 +02:00
Matthias Hochsteger
184a6ba4c5 Fix MPI code in paje trace 2024-05-16 09:35:58 +02:00
Matthias Hochsteger
f2ea9cde4c Fix MPI code in paje trace 2024-05-16 09:18:07 +02:00
Matthias Hochsteger
a018931437 Utility function to check if MPI was loaded 2024-05-14 22:17:42 +02:00
Matthias Hochsteger
a80ae826c6 Remove MyMPI helper class 2024-05-14 22:02:08 +02:00
Matthias Hochsteger
19731869d3 Utility header to convert to native mpi handles 2024-05-13 18:10:56 +02:00
Hochsteger, Matthias
335b926f8b Runtime MPI wrapper 2024-05-13 13:43:53 +02:00
Joachim Schoeberl
19fcfc7f44 SetLevel returns old level 2024-05-05 21:41:05 +02:00
Joachim Schoeberl
bb2989e1c5 add 'items' to Flags, for same behavior as dict 2024-05-05 21:40:47 +02:00
Joachim Schoeberl
a393a315d0 makePyTuple from BaseArrayObject 2024-04-04 15:20:17 +02:00
Matthias Hochsteger
db500f3cae Make /bigobj a public build flag again 2024-03-28 09:51:36 +01:00
xiaodaxia
7c72410c84 no exporting compile options of ngcore 2024-03-27 11:32:17 +08:00
Hochsteger, Matthias
b090bd1937 Propagate -fabi-version=xx when compiling with GCC 2024-03-20 18:30:17 +01:00
Joachim Schoeberl
6813c519b6 feature check macro for transition from INT to IVec 2024-02-20 08:47:20 +01:00
Joachim Schoeberl
c87aea14eb rename INT to IVec (avoiding windows name conflict) 2024-02-12 07:36:26 +01:00
Joachim Schoeberl
d7ffc68a30 add GetBackTrace to checksame 2024-01-19 08:07:57 +01:00
Joachim Schoeberl
eb90c6ed3b use list instead of map to keep order 2024-01-18 19:43:08 +01:00
Joachim Schoeberl
cb7759cd0b line number in NETGEN_CHECK_SAME macro 2024-01-16 12:43:23 +01:00
Joachim Schoeberl
29f0a5d647 simple signal without smart pointers 2024-01-16 10:17:19 +01:00
Joachim Schoeberl
c0d394ebf5 introduce 'shallow_archive' member 2024-01-15 08:16:14 +01:00
Joachim Schoeberl
6b346926ec if constexpr 2024-01-14 04:52:19 +01:00
Joachim Schoeberl
1ff8c97b1d fix has_shared_from_this any_cast 2024-01-14 04:33:55 +01:00
Joachim Schoeberl
2d2503bbbb auto-shallow shared_ptr with enable_shared_from_this 2024-01-13 21:15:55 +01:00
Joachim Schoeberl
54287bbfbb wrap static variable into function 2024-01-09 10:21:06 +01:00
Joachim Schoeberl
fda7cfa2bc function-pointer instead of std::function, no unique-ptr around type_register 2024-01-09 10:01:11 +01:00
Joachim Schoeberl
8362349bb8 fix metis warnings 2024-01-06 18:19:11 +01:00
Christopher Lackner
e8bf5e6b4f move timer and TimeFunction to netgen 2023-12-20 12:04:44 +01:00
Joachim Schoeberl
e742dc59b3 move AutoDiff to netgen 2023-09-29 10:56:16 +02:00
Lackner, Christopher
3b04270006 Add array uint64 t 2023-09-08 17:20:27 +02:00
Joachim Schoeberl
7d46b22f8e get mpi_wrapper out of hashtable.hpp 2023-09-08 16:14:10 +02:00
Matthias Hochsteger
d9d14ab4bf fixes to build pyodite module 2023-09-08 10:18:19 +02:00
Joachim Schoeberl
a09bd78459 std::array<T, size_t S> 2023-09-07 20:22:03 +02:00
Joachim Schoeberl
6272121f25 fix brackets 2023-09-06 08:42:18 +02:00
Joachim Schoeberl
8066fb0e9c mpi_typetrait in replacement 2023-09-06 08:32:32 +02:00
Joachim Schoeberl
f756aadf32 replacement GetMPIType with same signature 2023-09-06 08:13:44 +02:00
Joachim Schoeberl
f4284a7e60 GetMPIType also for mpi replacement 2023-09-06 07:49:27 +02:00
Joachim Schoeberl
2285785af5 include 2023-09-06 07:29:16 +02:00
Joachim Schoeberl
63660682c2 MPI-type for std::array 2023-09-05 21:53:55 +02:00
Lackner, Christopher
24d79dbfdd Merge branch 'cleanup_netgen' into 'master'
move namespaces in meshing.hpp into headers

See merge request ngsolve/netgen!602
2023-09-05 17:56:55 +02:00
Matthias Hochsteger
fe37f7d0b2 Emscripten fixes 2023-09-05 17:13:29 +02:00
Christopher Lackner
e345b3f97f remove warning abound unused captured this pointer in lambda 2023-09-05 12:37:03 +02:00
Hochsteger, Matthias
0043eee0e0 Merge branch 'find_python' into 'master'
find_package(PythonInterp... deprecated, change to python with comp

See merge request ngsolve/netgen!595
2023-08-30 21:57:52 +02:00
Matthias Hochsteger
68b5490621 Change library type for pyngcore to MODULE 2023-08-30 17:31:58 +02:00
Hochsteger, Matthias
7fa30dbfac Archive classes with non default ctor 2023-08-29 18:27:39 +02:00
Matthias Hochsteger
18535405d7 Fix AnyToPython for types with shared_ptr holder type 2023-08-28 15:21:02 +02:00
Hochsteger, Matthias
90729810d4 Archive with nondefault constructor 2023-08-28 10:02:22 +02:00
Matthias Hochsteger
22b45dde67 BinaryArchive platform compatibility 2023-08-23 15:15:59 +02:00
Matthias Hochsteger
aeadc7f79a Fix TextArchive, portable BinaryArchive 2023-08-23 11:11:31 +02:00
Matthias Hochsteger
9e4659f194 emscripten - disable multithreading 2023-08-22 09:27:03 +02:00
Matthias Hochsteger
b30b33e8a8 emscripten - print errors (no exception handling) 2023-08-22 09:25:06 +02:00
Joachim Schoeberl
8ada55ff3e fix warnings 2023-08-21 21:19:47 +02:00
Christopher Lackner
a97ff0ea3d remove spdlog and archive logging 2023-08-21 19:14:39 +02:00
Joachim Schoeberl
955540b90e NETGEN_CHECK_SAME macro 2023-08-21 06:13:13 +02:00
Joachim Schoeberl
06ae01b5a7 constexpr test for integral constant 2023-08-18 09:40:39 +02:00
Joachim Schoeberl
0cb91aedb4 all args for Exception are integer 2023-08-14 12:25:56 +02:00
Joachim Schoeberl
bf71375952 explicit conversion to int() in RangeException macro 2023-08-14 11:37:17 +02:00
Joachim Schoeberl
b4dffe266e c++-Array -> Py-tuple 2023-08-06 07:14:18 +02:00
Joachim Schoeberl
e1f7935f0b fixing warnings 2023-08-05 12:01:01 +02:00
Joachim Schoeberl
f0a73a3a4c NETGEN_NOEXCEPT 2023-08-04 09:22:34 +02:00
Joachim Schoeberl
5c7d39b3fb complex FMA for SIMD<double> 2023-08-01 17:44:43 +02:00
Joachim Schoeberl
a8e41734cf no warnings 2023-07-31 00:13:56 +02:00
Joachim Schoeberl
35660c2ef7 replace std::function by old-syle function pointer in Archive: reduces binary file size, e.g. coefficient.o by 20% 2023-07-30 21:33:07 +02:00
Hochsteger, Matthias
11da083507 Emscripten support 2023-07-28 13:01:41 +02:00
Matthias Hochsteger
a3ac409add Consider SIMD width 2 as "native" on all platforms 2023-07-28 11:55:26 +02:00
Matthias Hochsteger
8e6ee3cbb8 Add Flags.keys() in Python, for working dict(flags) 2023-07-19 19:07:39 +02:00
Schöberl, Joachim
c899273397 Merge branch 'sleep_when_no_job_for_some_time' into 'master'
TaskManager - sleep when no jobs for some time

See merge request ngsolve/netgen!571
2023-05-21 14:41:41 +02:00
Hochsteger, Matthias
a1b43088a4 TaskManager - sleep when no jobs for some time 2023-05-21 14:41:41 +02:00
Joachim Schoeberl
472073c22b counting num vertices in parallel 2023-05-21 14:35:09 +02:00
Joachim Schoeberl
8a79f91cb1 check for null-ptr from cxa_demangle 2023-04-28 17:33:07 +02:00
Joachim Schoeberl
ad6ffaac05 shared loop with relaxed memory ordering 2023-03-30 12:26:58 +02:00
Joachim Schoeberl
0c5e8c8d70 had removed too much 2023-03-12 22:24:21 +01:00
Joachim Schoeberl
32f1b6177e less special HSum 2023-03-12 19:18:29 +01:00
Joachim Schoeberl
16a0f52921 fix type, more in utils 2023-03-05 20:18:27 +01:00
Joachim Schoeberl
2121ec33f7 IfPoo to utils, mpi-type commit replacement 2023-03-05 17:16:35 +01:00
Joachim Schoeberl
0ad5973101 move Iterate<D>and Switch<D> to netgen utils 2023-03-05 14:53:22 +01:00
Matthias Hochsteger
3085fac973 PajeTrace - User defined containers 2023-02-24 12:26:24 +01:00
Matthias Hochsteger
618b81286a add UserEvents to PajeTrace 2023-02-23 16:58:13 +01:00
Matthias Hochsteger
c0f57369e5 gpu events in PajeTrace 2023-02-22 14:07:08 +01:00
Joachim Schoeberl
714b064666 check for exceptions for Cuda 2023-02-22 08:29:06 +01:00
Joachim Schoeberl
c6af357901 check for exception support 2023-02-21 20:52:25 +01:00
Matthias Hochsteger
a0b9dca246 NETGEN_INLINE for Range::Split 2023-02-21 18:47:33 +01:00
Matthias Hochsteger
7f172344e8 remove NETGEN_INLINE from StartTask 2023-02-21 15:19:51 +01:00
Joachim Schoeberl
566c858771 static_assert instead of Exception 2023-02-21 09:34:10 +01:00
Joachim Schoeberl
371aad4a65 INLINE for FlatArray - iterator 2023-02-21 00:19:02 +01:00
Hochsteger, Matthias
52763603d3 Some cuda fixes 2023-02-16 12:55:12 +01:00
Joachim Schoeberl
203dd2b89a Archive should be a template, here 2023-02-13 22:03:36 +01:00
Hochsteger, Matthias
71c9b9b9f1 Template archive 2023-02-13 15:42:45 +01:00
Joachim Schoeberl
da278ac7d0 more verbose warning msg 2023-02-11 20:25:41 +01:00
Joachim Schoeberl
ff65434e46 simdtranspose for defaultsize=1 2023-02-11 20:25:41 +01:00
Matthias Hochsteger
fc9846b035 set PYBIND11_SIMPLE_GIL_MANAGEMENT to work around segfaults 2023-02-07 11:59:23 +01:00
Christopher Lackner
8745a12246 fix loading windows line ending files in textarchive 2023-01-19 16:39:24 +01:00
Joachim Schoeberl
fef7cca030 empty table copy 2022-12-13 15:04:15 +01:00
Joachim Schoeberl
948a7bfc4d table from flattable 2022-12-12 23:45:49 +01:00
Joachim Schoeberl
52a71a5f76 Table from FlatTable 2022-12-12 20:03:17 +01:00
Joachim Schoeberl
c622f39897 replace sprintf by snprintf (remove warnings), remove old mpi-interface header 2022-12-08 15:19:16 +01:00
Joachim Schoeberl
d976e27b33 more constexpr 2022-11-28 09:50:12 +01:00
Matthias Hochsteger
e09a38d804 fix fmaddsub intrinsic calls 2022-11-21 12:13:19 +01:00
Joachim Schoeberl
f457009083 fix typo 2022-11-20 19:21:25 +01:00
Joachim Schoeberl
2d022013ad fmaddsub intrinsics (avx2+avx512) 2022-11-20 19:10:30 +01:00
Matthias Hochsteger
c18229535a Lo/Hi for SIMD<8> 2022-11-17 13:34:24 +01:00