mads-bertelsen

Results 6 comments of mads-bertelsen

This applies to all information in hkl_info, which can be read from a file, thus also for example absorption and incoherent cross sections. For simple parameters like the cross sections,...

Interesting, sorry I didn't mention I was running mcstas without the -O2 flag, was purely because of the long compile times for testing. Surprising that -O2 somehow fixes the problem,...

Since it only happens in monitors, it is clear DETECTOR_OUT macros are involved. Removing these from the SAVE section fixes the problem. Digging into these in mccode-r.c I found that...

I have found a surprising fix by modifying mccode-r.c EDIT: This fix only extend the limit with a few extra monitors, not enough for our use-case. It may serve as...

Continued debugging of the mcdetector_import makes it clear something strange is going on. At high monitor counts, these innocent looking lines with compatible types (long in struct, long given to...

In the above I didn't even run the mcdetector_statistics function, at high enough monitor counts the crash happens without it. Added an edit showing that I commented out the remainder...