Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-19 Thread jody
Hi Robert Thanks for the infos. In the meantime I found a workaround. Instead of resized datatypes with holes I use simple vectors with appropriately calculated offsets in MPI_FILE_WRITE_AT. Probably not as elegant, but seems to work OK. Jody On 7/18/07, Robert Latham

Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-16 Thread Brian Barrett
I wouldn't worry about it. 1.2.3 has no ROMIO fixes over 1.2.2. Brian On Jul 16, 2007, at 9:42 AM, jody wrote: Brian, I am using OpenMPI 1.2.2, so i am lagging a bit behind. Should i update to 1.2.3 and do the test again? Thanks for the info Jody On 7/16/07, Brian Barrett

Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-16 Thread jody
Brian, I am using OpenMPI 1.2.2, so i am lagging a bit behind. Should i update to 1.2.3 and do the test again? Thanks for the info Jody On 7/16/07, Brian Barrett wrote: Jody - I usually update the ROMIO package before each major release (1.0, 1.1, 1.2, etc.) and then

Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-16 Thread Brian Barrett
Jody - I usually update the ROMIO package before each major release (1.0, 1.1, 1.2, etc.) and then only within a major release series when a bug is found that requires an update. This seems to be one of those times ;). Just to make sure we're all on the same page, which version of Open

Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-16 Thread jody
Rob, thanks for your info. Do you know whether OpenMPI will use a newer version of ROMIO sometimes soon? Jody On 7/13/07, Robert Latham wrote: On Tue, Jul 10, 2007 at 04:36:01PM +, jody wrote: > Error: Unsupported datatype passed to ADIOI_Count_contiguous_blocks >

Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-13 Thread Robert Latham
On Tue, Jul 10, 2007 at 04:36:01PM +, jody wrote: > Error: Unsupported datatype passed to ADIOI_Count_contiguous_blocks > [aim-nano_02:9] MPI_ABORT invoked on rank 0 in communicator > MPI_COMM_WORLD with errorcode 1 Hi Jody: OpenMPI uses an old version of ROMIO. You get this error

Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-10 Thread jody
I think there is still some problem. I create different datatypes by resizing MPI_SHORT with different negative lower bounds (depending on the rank) and the same extent (only depending on the number of processes). However, I get an error as soon as MPI_File_set_view is called with my new

Re: [OMPI users] DataTypes with "holes" for writing files

2007-07-10 Thread George Bosilca
MPI_LB and MPI_UB is what you're looking for. Or better, for MPI-2 compliant libraries such as Open MPI and MPICH2, you can use MPI_Type_create_resized. This will allow you to create the gap at the beginning and/or the end of a data-type description. george. On Jul 10, 2007, at 10:53

[OMPI users] DataTypes with "holes" for writing files

2007-07-10 Thread jody
hi I want to create datatypes of the form XX00... 00XX... XX00... etc. I tried MPI_Type_indexed(1, ais, ait, MPI_SHORT, ) where ais= {2} and ait = {2} but this only gives me a datatype of the form 00XX, i.e. no holes at the end. I guess MPI_Type_vector won't work, because there