Skip to content

Commit 147c857

Browse files
committed
common/ompio: increase internal default fview size
the internal default file view size of 4MB does not work for long double etypes on 32 bit platforms, which are 12 bytes. The file view size has to be an exact multiple of the etype size. Increasing the internal default file view size to 6MB resolves the issue. Fixes #10287 Signed-off-by: Edgar Gabriel <edgar.gabriel@amd.com>
1 parent 4588377 commit 147c857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/common/ompio/common_ompio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
#define OMPIO_LOCK_SELECTIVE 11
8989

9090
#define OMPIO_FCOLL_WANT_TIME_BREAKDOWN 0
91-
#define MCA_IO_DEFAULT_FILE_VIEW_SIZE 4*1024*1024
91+
#define MCA_IO_DEFAULT_FILE_VIEW_SIZE 6*1024*1024
9292

9393
#define OMPIO_UNIFORM_DIST_THRESHOLD 0.5
9494
#define OMPIO_CONTG_THRESHOLD 1048576

0 commit comments

Comments
 (0)