Re: [OMPI devel] RFC: Adding -DOPEN_MPI=1 to mpif77 and mpif90

2010-02-12 Thread Paul H. Hargrove
Ralf Wildenhues wrote: * Jeff Squyres wrote on Thu, Feb 11, 2010 at 12:41:15PM CET: On Feb 11, 2010, at 1:00 AM, Ralf Wildenhues wrote: * Jeff Squyres wrote on Wed, Feb 10, 2010 at 10:02:27PM CET: WHAT: Add -DOPEN_MPI=1 to the mpif77 and mpif90 command lines It won't w

Re: [OMPI devel] RFC: Adding -DOPEN_MPI=1 to mpif77 and mpif90

2010-02-12 Thread Ralf Wildenhues
* Jeff Squyres wrote on Thu, Feb 11, 2010 at 12:41:15PM CET: > On Feb 11, 2010, at 1:00 AM, Ralf Wildenhues wrote: > > * Jeff Squyres wrote on Wed, Feb 10, 2010 at 10:02:27PM CET: > > > WHAT: Add -DOPEN_MPI=1 to the mpif77 and mpif90 command lines > > > > It won't work with IBM xlf which needs -WF

Re: [OMPI devel] RFC: Adding -DOPEN_MPI=1 to mpif77 and mpif90

2010-02-11 Thread Jeff Squyres
Mm... good to know. Thanks! On Feb 11, 2010, at 5:58 PM, Chris Samuel wrote: > Jeff Squyres wrote: > > [about -D not working with xlf] > > > If we care, it is easy enough to add a configure test to > > figure this kind of stuff out. > > Might be worth logging a bug with the autotools/autocon

Re: [OMPI devel] RFC: Adding -DOPEN_MPI=1 to mpif77 and mpif90

2010-02-11 Thread Chris Samuel
Jeff Squyres wrote: [about -D not working with xlf] If we care, it is easy enough to add a configure test to figure this kind of stuff out. Might be worth logging a bug with the autotools/autoconf people on this (if it's not already there), it's been mentioned recently on their lists as som

Re: [OMPI devel] RFC: Adding -DOPEN_MPI=1 to mpif77 and mpif90

2010-02-11 Thread Jeff Squyres
On Feb 11, 2010, at 1:00 AM, Ralf Wildenhues wrote: > * Jeff Squyres wrote on Wed, Feb 10, 2010 at 10:02:27PM CET: > > WHAT: Add -DOPEN_MPI=1 to the mpif77 and mpif90 command lines > > It won't work with IBM xlf which needs -WF,-D. I'm sure there are other > Fortran compilers that don't grok -D

Re: [OMPI devel] RFC: Adding -DOPEN_MPI=1 to mpif77 and mpif90

2010-02-11 Thread Ralf Wildenhues
Hi Jeff, * Jeff Squyres wrote on Wed, Feb 10, 2010 at 10:02:27PM CET: > WHAT: Add -DOPEN_MPI=1 to the mpif77 and mpif90 command lines > But we can put -DOPEN_MPI=1 in the argv that the wrapper adds. This > seems like a safe way to add it; it makes no difference whether the > Fortran file is set

[OMPI devel] RFC: Adding -DOPEN_MPI=1 to mpif77 and mpif90

2010-02-10 Thread Jeff Squyres
WHAT: Add -DOPEN_MPI=1 to the mpif77 and mpif90 command lines WHY: Parity with mpi.h's "#define OPEN_MPI 1" WHERE: ompi/config/ompi_setup_wrappers.m4 WHEN: v1.5.1 TIMEOUT: Friday, Feb 19 We've long-since had "#define OPEN_MPI 1" in mpi.h for anyone