• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • Projects
  • Repositories
    • View all public repositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
David Young
  1. David Young

vchoi_fork

Vailin Choi
my_hdf5_fork
Public
Actions
  • Clone
  • Download

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Graphs
  • Branches
  • Network
  • Latest Activities

Commits

Albert Cheng
d68bdee92f4
Albert Cheng committed 884b83d606909 Oct 2000
[svn-r2646] Purpose:
    Bug fix (done by Kim Yates)
Description:
    The optimized mpio code was broken and when read was done, it hanged.
Solution:
H5FDmpio.c:
    In H5FD_mpio_write, moved the 16-line block of code in which
    all procs other than p0 skip the actual write
    to be just before the call to MPI_File_write_at.
    Previously, the values of the local vars that controlled
    "allsame" were not always set correctly when the moved block
    was reached.
H5S.c:
    Changed default value of H5_mpi_opt_types_g to TRUE, so that
    the MPI-IO hyperslab code is executed by default in parallel HDF5,
    rather than executing the serial hyperslab code.
H5Smpio.c:
    In function H5S_mpio_hyper_type, added a call to free
    an intermediate type. Cures a small memory leak.
    Added code for cases of empty hyperslab
    Changed displacements to be MPI_Aint
Platforms tested:
    modi4 -64: worked fine with mpich 1.2.0 but failed with the messages
    saying it ran out of entries for MPI_Types during the collective_read
    test.  After tracing the code all the way to the collective read, all
    MPI Types have been freed properly.  It aborted with the above message
    when it executed the line
if (MPI_SUCCESS!= MPI_File_read_at_all(file->f, mpi_off, buf, size_i, buf_type, &mpi_stat ))
    Could not see any problem with this line.  It could be a bug in the
    SGI version of MPI.

Changed files

  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v4.4.1
  • Documentation
  • Contact Support
  • Request a feature
  • About
  • Contact Atlassian
Atlassian