Re: [OMPI users] shared memory zero size segment

2016-02-11 Thread Peter Wind
eter - Original Message - > > On Thu, Feb 11, 2016 at 02:17:40PM +, Peter Wind wrote: > >I would add that the present situation is bound to give problems for > >some > >users. > >It is natural to divide an array in segments, each process tr

Re: [OMPI users] shared memory zero size segment

2016-02-11 Thread Peter Wind
ery: me=3, them=3, size=4, disp=1, base=0x100fa2008 > query: me=3, them=PROC_NULL, size=4, disp=1, base=0x100fa2000 > On Thu, Feb 11, 2016 at 8:55 AM, Jeff Hammond < jeff.scie...@gmail.com > > wrote: > > On Thu, Feb 11, 2016 at 8:46 AM, Nathan Hjelm < hje...@lanl.gov &g

Re: [OMPI users] shared memory zero size segment

2016-02-11 Thread Peter Wind
ill", or even "right") Cheers, Gilles On Thursday, February 11, 2016, Jeff Hammond < jeff.scie...@gmail.com > wrote: On Wed, Feb 10, 2016 at 8:44 AM, Peter Wind < peter.w...@met.no > wrote: I agree that in practice the best practice would be to use Win_s

Re: [OMPI users] shared memory zero size segment

2016-02-11 Thread Peter Wind
rly not good at reading/interpreting the standard, so using > MPI_Win_shared_query is my recommended way to get it work. > (feel free to call it "bulletproof", "overkill", or even "right") > Cheers, > Gilles > On Thursday, February 11, 2016, Jeff Hammon

Re: [OMPI users] shared memory zero size segment

2016-02-10 Thread Peter Wind
MPI_Win_shared_query after > > MPI_Win_allocate_shared. > > > I do not know if current behavior is a bug or a feature... > > > Cheers, > > > Gilles > > > On Wednesday, February 10, 2016, Peter Wind < peter.w...@met.no > wrote: >

Re: [OMPI users] error openmpi check hdf5

2016-02-10 Thread Peter Wind
I have tested 1.8.5 and 1.10.2, both fail. (And Intel and Gnu compilers). Peter - Original Message - > which version of Open MPI is this? > Thanks > Edgar > On 2/10/2016 4:13 AM, Delphine Ramalingom wrote: > > Hello, > > > I try to compile a parallel version of hdf5. > > > I have

Re: [OMPI users] shared memory zero size segment

2016-02-10 Thread Peter Wind
Sorry for that, here is the attachement! Peter - Original Message - > Peter -- > > Somewhere along the way, your attachment got lost. Could you re-send? > > Thanks. > > > > On Feb 10, 2016, at 5:56 AM, Peter Wind <peter.w...@met.no> wrote: &g

Re: [OMPI users] shared memory zero size segment

2016-02-10 Thread Peter Wind
- Original Message - > Peter -- > > Somewhere along the way, your attachment got lost. Could you re-send? > > Thanks. > > > > On Feb 10, 2016, at 5:56 AM, Peter Wind <peter.w...@met.no> wrote: > > > > Hi, > > > > Under fort

[OMPI users] shared memory zero size segment

2016-02-10 Thread Peter Wind
Hi, Under fortran, MPI_Win_allocate_shared is called with a window size of zero for some processes. The output pointer is then not valid for these processes (null pointer). Did I understood this wrongly? shouldn't the pointers be contiguous, so that for a zero sized window, the pointer should

Re: [OMPI users] shared memory under fortran, bug?

2016-02-02 Thread Peter Wind
. > Cheers, > Gilles > On Tuesday, February 2, 2016, Peter Wind < peter.w...@met.no > wrote: > > Enclosed is a short (< 100 lines) fortran code example that uses shared > > memory. > > > It seems to me it behaves wrongly if openmpi is used. > > > Comp

[OMPI users] shared memory under fortran, bug?

2016-02-02 Thread Peter Wind
Enclosed is a short (< 100 lines) fortran code example that uses shared memory. It seems to me it behaves wrongly if openmpi is used. Compiled with SGI/mpt , it gives the right result. To fail, the code must be run on a single node. It creates two groups of 2 processes each. Within each group