-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
Description
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 ) ?