On Thu, May 13, 2010 at 12:04:58AM -0700, sranjan wrote:
> Now while writing parallel collective IO with 2 nodes, it fails and the
> stack is 
> MPI_Type_struct in H5S_mpio_hyper_type (H5Smpio.c) <- H5S_mpio_space_type
> (H5Smpio.c) <- H5D_inter_collective_io (H5Dmpio.c) <-
> H5D_contig_collective_write (H5Dmpio.c)
> 
> Seems the failure is due to MPI_LB & MPI_UB (defined also in wrapper but
> runtime call to this datatype constant in user selected mpi lib). MPI-2
> guidelines say that "these are deprecated and their use is awkward & error
> prone".
> 
> And I am having a real hard time to figure out how to replace MPI_LB with
> something appropriate.

You can use MPI_Type_resized, but unfortunately a lot of ROMIO-based MPI-IO
implementations won't understand that type and will give an error.
That's slowly changing but it takes a while for ROMIO changes to
propagate everywhere.  Implementations based on MPICH2-1.0.8 and newer
will understand that type.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to