Re: [OMPI users] OMPI users] Fortran and MPI-3 shared memory

2016-10-27 Thread Jeff Hammond
Yes, I tried -O0 and -O3. But VOLATILE is going to thwart a wide range of optimizations that would break this code. Jeff On Thu, Oct 27, 2016 at 2:19 AM, Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Jeff, > > Out of curiosity, did you compile the Fortran test program with -O0 ?

Re: [OMPI users] OMPI users] Fortran and MPI-3 shared memory

2016-10-27 Thread Gilles Gouaillardet
Jeff, Out of curiosity, did you compile the Fortran test program with -O0 ? Cheers, Gilles Tom Rosmond wrote: >Jeff, > >Thanks for looking at this.  I know it isn't specific to Open-MPI, but it is a >frustrating issue vis-a-vis MPI and Fortran.  There are many very large MPI >applications ar