This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MPICH primary repository". The branch, master has been updated via 7c09449967020cbd95a1d2bb8d98ea166b1925a6 (commit) from 7fa5fe7cd299de9aa58bea3f19e891bc16f5523d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.mpich.org/mpich.git/commitdiff/7c09449967020cbd95a1d2bb8d98ea166b... commit 7c09449967020cbd95a1d2bb8d98ea166b1925a6 Author: Rob Latham <[email protected]> Date: Fri Dec 20 10:01:16 2013 -0600 bluegene open fixup: don't broadcast garbage as fallout from deferred open, we were doing the "scalable stat" from the first aggregator, but broadcasting the result from rank 0. now we broadcast from the process that actually has a meaningful value. diff --git a/src/mpi/romio/adio/ad_bg/ad_bg_open.c b/src/mpi/romio/adio/ad_bg/ad_bg_open.c index bddcfaf..3a36a5a 100644 --- a/src/mpi/romio/adio/ad_bg/ad_bg_open.c +++ b/src/mpi/romio/adio/ad_bg/ad_bg_open.c @@ -164,9 +164,9 @@ static void scaleable_stat(ADIO_File fd) if (fd->comm != MPI_COMM_SELF) { /* if indep open, there's no one to talk to*/ if (fd->agg_comm != MPI_COMM_NULL) /* deferred open: only a subset of processes participate */ - MPI_Bcast(buf, 2, MPI_LONG, 0, fd->agg_comm); + MPI_Bcast(buf, 2, MPI_LONG, fd->hints->ranklist[0], fd->agg_comm); else - MPI_Bcast(buf, 2, MPI_LONG, 0, fd->comm); + MPI_Bcast(buf, 2, MPI_LONG, fd->hints->ranklist[0], fd->comm); } bg_stat.st_blksize = buf[0]; bg_statfs.f_type = buf[1]; @@ -258,6 +258,9 @@ void ADIOI_BG_Open(ADIO_File fd, int *error_code) #ifdef ADIOI_MPE_LOGGING MPE_Log_event(ADIOI_MPE_stat_b, 0, NULL); #endif + /* file domain code will get terribly confused in a hard-to-debug way + * if gpfs blocksize not sensible */ + ADIOI_BG_assert( ((ADIOI_BG_fs*)fd->fs_ptr)->blksize > 0); } if (fd->fd_sys == -1) { ----------------------------------------------------------------------- Summary of changes: src/mpi/romio/adio/ad_bg/ad_bg_open.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) hooks/post-receive -- MPICH primary repository