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 to the preprocessor or not when it is compiled.
It won't work with IBM xlf which needs -WF,-D. I'm sure there are other
Fortran compilers that don't grok -D either (and may not have any other
flag), but I'm not sure whether OpenMPI cares about them.
Cheers,
Ralf
|