mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect chunk handling in Pstream::exchange (fixes #2375)
- used Pstream::maxCommsSize (bytes) for the lower limit when sending. This would have send more data on each iteration than expected based on maxCommsSize and finish with a number of useless iterations. Was generally not a serious bug since maxCommsSize (if used) was likely still far away from the MPI limits and exchange() is primarily harnessed by PstreamBuffers, which is sending character data (ie, number of elements and number of bytes is identical).
This commit is contained in:
committed by
Andrew Heather
parent
4540b064ee
commit
341d9c402d
3
applications/test/parallel-chunks/Make/files
Normal file
3
applications/test/parallel-chunks/Make/files
Normal file
@ -0,0 +1,3 @@
|
||||
Test-parallel-chunks.C
|
||||
|
||||
EXE = $(FOAM_USER_APPBIN)/Test-parallel-chunks
|
||||
2
applications/test/parallel-chunks/Make/options
Normal file
2
applications/test/parallel-chunks/Make/options
Normal file
@ -0,0 +1,2 @@
|
||||
/* EXE_INC = */
|
||||
/* EXE_LIBS = */
|
||||
Reference in New Issue
Block a user