- Dec 05, 2016
-
-
Ansgar Burchardt authored
Fix several bugs on 64-bit big endian architectures See merge request !40
-
- Dec 04, 2016
-
-
Ansgar Burchardt authored
It might be necessary to include some padding so the next data structure in the buffer will keep the correct alignment. This should fix the test failure for dune-grid on [sparc64] which does not allow unaligned memory access. [sparc64]: https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=sparc64&ver=2.5.0%7Erc1-1&stamp=1480644763
-
Ansgar Burchardt authored
This addresses the following compiler warning (from GCC 6.2): parallel/ddd/xfer/pack.cc:545:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
-
Ansgar Burchardt authored
The function `XferPackSingleMsg` writes the index using the expression ```c++ *(theSymTab[mi].adr.ref) = (DDD_OBJ)(mi+1); ``` that is as an integer cast to a pointer. If this value is read on an architecture where pointers are 64bit and INT is 32bit using the expression ```c++ stIdx = (*(INT *)(msgrefarray+l)) - 1; ``` only 32bits of the actual value are read. On little endian architectures we still read the relevant bits, however on big endian architectures this reads the upper 32bits which are 0 (the values are small) and the relevant 32bits are discarded. This should fix the test failures in dune-grid on [s390x] and some of the errors on [sparc64]. [s390x]: https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=s390x&ver=2.5.0%7Erc1-1&stamp=1480658113 [sparc64]: https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=sparc64&ver=2.5.0%7Erc1-1&stamp=1480644763
-
Ansgar Burchardt authored
Ensure `DDD_GID` is at least 64 bits wide a0cf9c01 increased `MAX_PROCBITS_IN_GID` from 9 to 24. As an `unsigned long` is only 32 bits wide on common 32 bit architectures, this left only 8 bits instead of the intended 40 bits (on 64 bit architectures) for objects. This patch makes sure the `DDD_GID` type is at least 64 bits by using the `std::uint_least64_t` type. It should fix the build failure on, for example, [i386] and [PowerPC]. [i386]: https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=i386&ver=2.5.0%7Erc1-1&stamp=1480684720 [PowerPC]: https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=s390x&ver=2.5.0%7Erc1-1&stamp=1480658113 See merge request !38
-
- Dec 02, 2016
-
-
Ansgar Burchardt authored
a0cf9c01 increased `MAX_PROCBITS_IN_GID` from 9 to 24. As an `unsigned long` is only 32 bits wide on common 32 bit architectures, this left only 8 bits instead of the intended 40 bits (on 64 bit architectures) for objects. This patch makes sure the `DDD_GID` type is at least 64 bits by using the `std::uint_least64_t` type. It should fix the build failure on, for example, [i386] and [PowerPC]. [i386]: https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=i386&ver=2.5.0%7Erc1-1&stamp=1480684720 [PowerPC]: https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=s390x&ver=2.5.0%7Erc1-1&stamp=1480658113
-
- Dec 01, 2016
-
-
Ansgar Burchardt authored
Remove grid smoothing See merge request !37
-
Ansgar Burchardt authored
It was only used for grid smoothing which was removed in the previous commit.
-
Ansgar Burchardt authored
-
Ansgar Burchardt authored
The declarations were added in 1ab1a104, but there seems to never have been an implementation.
-
- Nov 24, 2016
-
-
Ansgar Burchardt authored
-
Ansgar Burchardt authored
Correct typo [ci skip] See merge request !36
-
- Nov 20, 2016
-
-
Ansgar Burchardt authored
-
- Nov 17, 2016
-
-
Ansgar Burchardt authored
Address various compiler warnings At least the missing `return` statements can lead to undefined behavior, and in particular to crashes with clang. See merge request !31
-
Ansgar Burchardt authored
This silences a large number of compiler warnings from clang: warning: format specifies type 'unsigned int' but the argument has type 'DDD_GID' (aka 'unsigned long') [-Wformat] A few more format string corrections for pointers are also included.
-
Ansgar Burchardt authored
This is more consistent with other format strings.
-
Ansgar Burchardt authored
This addresses the following compiler warning from clang: parallel/dddif/lb.cc:390:22: warning: '&&' within '||' [-Wlogical-op-parentheses] parallel/dddif/lb.cc:391:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
-
Ansgar Burchardt authored
As noted in the description, this is not a good idea on systems with virtual memory. This also addresses the following compiler warning from clang: parallel/dddif/memmgr.cc:871:15: warning: unused function 'DetectAllocatableMemory'
-
Ansgar Burchardt authored
Use <dev/ugdevices.h> instead of "ugdevices.h" Including dev caused trouble. This addresses #13 for dev. See merge request !34
-
Christoph Grüninger authored
Including dev caused trouble. This addresses #13 for dev.
-
- Nov 03, 2016
-
-
Ansgar Burchardt authored
Remove another left-over occurrence of FOR_DUNE See merge request !33
-
Ansgar Burchardt authored
Remove dead code behind _SCHALE_X_ macro The documentation says 'DG local refinement hack', and it hasn't been enabled for as long as we have been using Dune. So away with it! See merge request !32
-
- Nov 02, 2016
-
-
Oliver Sander authored
-
Oliver Sander authored
The documentation says 'DG local refinement hack', and it hasn't been enabled for as long as we have been using Dune. So away with it!
-
- Oct 21, 2016
-
-
Ansgar Burchardt authored
This addresses the following compiler warnings from clang: gm/dlmgr.t:258:62: warning: format specifies type 'unsigned int' but the argument has type 'NODE *' (aka 'UG::D3::node *') [-Wformat] (for `Object`) gm/dlmgr.t:442:68: warning: format specifies type 'unsigned int' but the argument has type 'NODE *' (aka 'UG::D3::node *') [-Wformat] (for `Object`) gm/dlmgr.t:442:75: warning: format specifies type 'unsigned int' but the argument has type 'NODE *' (aka 'UG::D3::node *') [-Wformat] (for `After`) gm/dlmgr.t:465:61: warning: format specifies type 'unsigned int' but the argument has type 'NODE *' (aka 'UG::D3::node *') [-Wformat] (for `Object`)
-
Ansgar Burchardt authored
This addresses the following compiler warnings from clang: gm/dlmgr.t:431:6: warning: unused variable 'listpartnext' [-Wunused-variable] gm/dlmgr.t:430:6: warning: unused variable 'listpartprev' [-Wunused-variable]
-
Ansgar Burchardt authored
This addresses the following compiler warning from clang: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register]
-
Ansgar Burchardt authored
This addresses several compiler warnings of the form warning: control may reach end of non-void function [-Wreturn-type] and warning: control reaches end of non-void function [-Wreturn-type]
-
- Oct 20, 2016
-
-
Ansgar Burchardt authored
Add missing return statements This avoids undefined behaviour. However, I have no idea, if `0` is a proper value to return. Closes #14 See merge request !29
-
Carsten Gräser authored
This avoids undefined behaviour. However, I have no idea, if `0` is a proper value to return.
-
- Oct 19, 2016
-
-
Ansgar Burchardt authored
Fix/remove include directories See merge request !26
-
Christoph Grüninger authored
It caused -Wmissing-include-dirs warnings in dune-uggrid
-
- Oct 18, 2016
-
-
Oliver Sander authored
Update test environments - No longer test with clang 3.5. - Add clang 3.8 from Debian 8 + backports - Add gcc 5.4 + clang 3.8 from Ubuntu 16.04 LTS. - Use `duneci-standard-test` See merge request !28
-
Ansgar Burchardt authored
- No longer test with clang 3.5. - Add clang 3.8 from Debian 8 + backports - Add gcc 5.4 + clang 3.8 from Ubuntu 16.04 LTS. - Use `duneci-standard-test`
-
- Oct 04, 2016
-
-
Oliver Sander authored
[cmake] Remove checks for X11 (xlib) See merge request !27
-
- Oct 02, 2016
-
-
Christoph Grüninger authored
-
- Sep 05, 2016
-
-
Oliver Sander authored
Remove more unused parts This merge request removes a few more commands and some parts of `np/*`. See merge request !24
-
- Aug 18, 2016
-
-
Oliver Sander authored
-
- Aug 16, 2016
-
-
Ansgar Burchardt authored
DUNE uses the `newformat` command, but calls `CreateFormatCmd` (part of `formats.h`) directly.
-
Ansgar Burchardt authored
-