Skip to content

Commit e6427c0

Browse files
committed
do not set the contigous flag in two_phase_file_read_all. This optimization
needs some more debugging for the two_phase component, and is disabled for two_phase_file_write_all as well.
1 parent 44c4a1f commit e6427c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ompi/mca/fcoll/two_phase/fcoll_two_phase_file_read_all.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ mca_fcoll_two_phase_file_read_all (mca_io_ompio_file_t *fh,
139139
#if OMPIO_FCOLL_WANT_TIME_BREAKDOWN
140140
mca_io_ompio_print_entry nentry;
141141
#endif
142-
if (opal_datatype_is_predefined(&datatype->super)) {
143-
fh->f_flags = fh->f_flags | OMPIO_CONTIGUOUS_MEMORY;
144-
}
142+
// if (opal_datatype_is_predefined(&datatype->super)) {
143+
// fh->f_flags = fh->f_flags | OMPIO_CONTIGUOUS_MEMORY;
144+
// }
145145

146146
if (! (fh->f_flags & OMPIO_CONTIGUOUS_MEMORY)) {
147147
ret = fh->f_decode_datatype ((struct mca_io_ompio_file_t *)fh,

0 commit comments

Comments
 (0)