Skip to content

Warning when running LWFA example #5566

@denisbertini

Description

@denisbertini

Hi
I got this kind of warning when running LWFA from examples directory

Performance warning: send/receive buffer for species e is too small (max: 65536, direction: 6 'top', retries: 1). To remove this warning consider increasing BYTES_EXCHANGE_{X,Y,Z} in memory.param

what part has to be increased ( i am using the default 32 bit precision )

 struct DefaultExchangeMemCfg
    {
        // Memory used for a direction for a simulation performed with 32bit precision.
        static constexpr uint32_t BYTES_EXCHANGE_X = 1 * 1024 * 1024; // 1 MiB
        static constexpr uint32_t BYTES_EXCHANGE_Y = 3 * 1024 * 1024; // 3 MiB
        static constexpr uint32_t BYTES_EXCHANGE_Z = 1 * 1024 * 1024; // 1 MiB
        static constexpr uint32_t BYTES_EDGES = 32 * 1024; // 32 kiB
        static constexpr uint32_t BYTES_CORNER = 8 * 1024; // 8 kiB

How direction 6, top map to direction ?
Should i increase on X , Y, Z or all items and how much ( 2 x ) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions