Max Orok

Results 20 issues of Max Orok

Add support for `#[repr(align(x))]` on bridge structs, closing #835. For the example code: ```rust #[cxx::bridge] mod ffi { #[repr(align(4))] struct S { b: [u8; 4], } } ``` the following...

I want to try improving Futhark's command-line errors. I've been going through the nice work done in #634 and would like to try adding colour output and caret diagnostics to...

enhancement
good first issue
compiler

**This PR supersedes #556, #637, and #647.** This is a PR to integrate `egs_mesh` into the develop branch of Release 2022. The library should be considered a beta version, with...

improvement

Add support for the ICRP 145 reference phantom tetrahedral mesh files using `EGS_Mesh` (see discussion on https://github.com/nrc-cnrc/EGSnrc/pull/556#issuecomment-748200444)

improvement

Reproducer with `tutor7pp`: ```shell $ tutor7pp -i test1.egsinp -p tutor_data 2> stderr.txt # redirect stderr to file In EGS_Application::initSimulation() $ echo $? 1 $ cat stderr.txt EGS_RandomGenerator::createRNG: no 'RNG definition'...

bug

I think I've found an potential issue with the `tutor7pp` fluence scorring array bin math with Address Sanitizer. I am using a modified version of `tutor7pp` called `mevegs` that shares...

I have been experiencing some `SIGSEGV` and `SIGBUS` crashes while running large simulations (see also #828). Building EGSnrc with Address Sanitizer led me to the following case. There appears to...

I had some sporadic crashes (up to 10% of total jobs crashing with `SIGBUS` errors) during some calculations on the supercomputer. Building egs++ with address sanitizer found a potential out...

bug

Add a `sendto` event by wrapping `iou::prep_sendmsg`. I wasn't entirely sure whether I should box the `SockAddr` and `msghdr` members. When I tried boxing the `SockAddr` I ran into an...

Add `SQE::prep_sendmsg` usage example that implements `sendto` on top of `sendmsg` (as practice for implementing a ringbahn `SendTo` event). The `msghdr` initialization code (including the pointer casts) was adapted from...