Skip to content

Conversation

@koarakawaii
Copy link
Contributor

  • Set the lower limit for MemUnit as 1, to avoid 0 memory size for extreme cases with small patches per rank (i.e., amr->NPatchComma[0][1] < MPI_NRank).

@hyschive hyschive added the bugfix Fix bugs label Jun 18, 2025
@hyschive hyschive self-assigned this Jun 18, 2025
@koarakawaii koarakawaii changed the title set the lower limit for MemUnit as 1 Set the lower limit for MemUnit as 1 in InitFFTw.cpp Jun 18, 2025
Copy link
Contributor

@hyschive hyschive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koarakawaii Thanks for the prompt bugfix!

@koarakawaii koarakawaii changed the title Set the lower limit for MemUnit as 1 in InitFFTw.cpp Set the lower limit for MemUnit as 1 in Init_FFTw.cpp Jun 18, 2025
@hyschive hyschive merged commit 6312ecf into gamer-project:main Jun 18, 2025
@koarakawaii koarakawaii deleted the gamer-main_fftw-MemUnit branch June 18, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants