Skip to content

Make McStas Monitor_nD NeXus/"BINS" output selectable #2127

@willend

Description

@willend

Recent work on ESS Estia (which uses a number of Monitor_nD's with high binning) have shown that the memory footprint (for NeXus/BINS) may easily explode, leading to simulation crash.

I propose to:

  1. Add an input par / options handle to select / deselect the addition of BINS
  2. Let (non-event) monitors default to NOT create BINS
  3. Let event monitor default to create BINS

(Secondarily we may even decide abort creation of such a BINS array on memory allocation error - and raise a warning / not create the said BINS array, but let the simulation continue.)

Ping @mads-bertelsen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions