Re: [OMPI users] Trouble with MPI-IO

2011-05-24 Thread Tom Rosmond
Rob, Thanks for the clarification. I had seen that point about non-decreasing offsets in the standard and it was just beginning to dawn on me that maybe it was my problem. I will rethink my mapping strategy to comply with the restriction. Thanks again. T. Rosmond On Tue, 2011-05-24 at 10:09

Re: [OMPI users] Trouble with MPI-IO

2011-05-24 Thread Rob Latham
On Fri, May 20, 2011 at 08:14:07AM -0400, Jeff Squyres wrote: > On May 20, 2011, at 6:23 AM, Jeff Squyres wrote: > > > Shouldn't ijlena and ijdisp be 1D arrays, not 2D arrays? > > Ok, if I convert ijlena and ijdisp to 1D arrays, I don't get the compile > error (even though they're allocatable --

Re: [OMPI users] Trouble with MPI-IO

2011-05-20 Thread Jeff Squyres
On May 20, 2011, at 6:23 AM, Jeff Squyres wrote: > Shouldn't ijlena and ijdisp be 1D arrays, not 2D arrays? Ok, if I convert ijlena and ijdisp to 1D arrays, I don't get the compile error (even though they're allocatable -- so allocate was a red herring, sorry). That's all that "use mpi" is com

Re: [OMPI users] Trouble with MPI-IO

2011-05-20 Thread Jeff Squyres
On May 19, 2011, at 11:24 PM, Tom Rosmond wrote: > What fortran compiler did you use? gfortran. > In the original script my Intel compile used the -132 option, > allowing up to that many columns per line. Gotcha. >> x.f90:99.77: >> >>call mpi_type_indexed(lenij,ijlena,ijdisp,mpi_real,i

Re: [OMPI users] Trouble with MPI-IO

2011-05-19 Thread Tom Rosmond
Thanks for looking at my problem. Sounds like you did reproduce my problem. I have added some comments below On Thu, 2011-05-19 at 22:30 -0400, Jeff Squyres wrote: > Props for that testio script. I think you win the award for "most easy to > reproduce test case." :-) > > I notice that some o

Re: [OMPI users] Trouble with MPI-IO

2011-05-19 Thread Jeff Squyres
Props for that testio script. I think you win the award for "most easy to reproduce test case." :-) I notice that some of the lines went over 72 columns, so I renamed the file x.f90 and changed all the comments from "c" to "!" and joined the two &-split lines. The error about implicit type f

[OMPI users] Trouble with MPI-IO

2011-05-10 Thread Tom Rosmond
I would appreciate someone with experience with MPI-IO look at the simple fortran program gzipped and attached to this note. It is imbedded in a script so that all that is necessary to run it is do: 'testio' from the command line. The program generates a small 2-D input array, sets up an MPI-IO e