Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-21 Thread Ben Menadue
ct: Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions On Sunday, August 21, 2016, Ben Menadue <ben.mena...@nci.org.au <mailto:ben.mena...@nci.org.au> > wrote: Hi, In Fortran, using uninitialised variables is undefined behaviour. In this

Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-21 Thread Ray Sheppard
t;] *On Behalf Of *Matt Thompson *Sent:* Sunday, 21 August 2016 3:07 AM *To:* Open MPI Users <users@lists.open-mpi.org <javascript:_e(%7B%7D,'cvml','users@lists.open-mpi.org');>> *Subject:* Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other

Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-21 Thread Jeff Hammond
t; > > > *From:* users [mailto:users-boun...@lists.open-mpi.org > <javascript:_e(%7B%7D,'cvml','users-boun...@lists.open-mpi.org');>] *On > Behalf Of *Matt Thompson > *Sent:* Sunday, 21 August 2016 3:07 AM > *To:* Open MPI Users <users@lists.open-mpi.org > <javascr

Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-21 Thread Ben Menadue
Thompson Sent: Sunday, 21 August 2016 3:07 AM To: Open MPI Users <users@lists.open-mpi.org> Subject: Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions On Fri, Aug 19, 2016 at 8:54 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com <mailto:jsquy.

Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-20 Thread Matt Thompson
On Fri, Aug 19, 2016 at 8:54 PM, Jeff Squyres (jsquyres) wrote: > On Aug 19, 2016, at 6:32 PM, Matt Thompson wrote: > > > > that the comm == MPI_COMM_WORLD evaluates to .TRUE.? I discovered that > once when I was printing some stuff. > > > > That might

Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-19 Thread Jeff Squyres (jsquyres)
On Aug 19, 2016, at 6:32 PM, Matt Thompson wrote: > > 2. The second one is a run-time assignment. You can do that between any > compatible entities, and so that works. > > Okay. This makes sense. I guess I was surprised that MPI_COMM_NULL wasn't a > constant (or parameter,

Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-19 Thread Matt Thompson
On Fri, Aug 19, 2016 at 2:55 PM, Jeff Squyres (jsquyres) wrote: > On Aug 19, 2016, at 2:30 PM, Matt Thompson wrote: > > > > I'm slowly trying to learn and transition to 'use mpi_f08'. So, I'm > writing various things and I noticed that this triggers an

Re: [OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-19 Thread Jeff Squyres (jsquyres)
On Aug 19, 2016, at 2:30 PM, Matt Thompson wrote: > > I'm slowly trying to learn and transition to 'use mpi_f08'. So, I'm writing > various things and I noticed that this triggers an error: > > program hello_world >use mpi_f08 >implicit none >type(MPI_Comm) ::

[OMPI users] mpi_f08 Question: set comm on declaration error, and other questions

2016-08-19 Thread Matt Thompson
Oh great Open MPI Gurus, I'm slowly trying to learn and transition to 'use mpi_f08'. So, I'm writing various things and I noticed that this triggers an error: program hello_world use mpi_f08 implicit none type(MPI_Comm) :: comm = MPI_COMM_NULL end program hello_world when compiled