[Mpi-forum] Preprocessor Constants
Hal Finkel
hal.finkel at yale.edu
Tue Nov 23 06:15:13 CST 2010
On Tue, 2010-11-23 at 06:56 -0500, Jeff Squyres (jsquyres) wrote:
> Will the preprocessor value be required for fortran? What about cases where the fortran preprocessor is not used? What about when modules are used?
>
Because the Fortran preprocessor is not always used (or available?), I
would concentrate on C and C++. Not that the motivation does not carry
over to Fortran, but I don't see an obvious, portable solution that
works for Fortran.
Sincerely,
Hal
> Sent from my PDA. No type good.
>
> On Nov 23, 2010, at 4:57 AM, "N.M. Maclaren" <nmm1 at cam.ac.uk> wrote:
>
> > Damn Webmail! Sorry - please ignore this grobble - it got pasted in by
> > accident, and is not true. I believe that there are such issues, but
> > they are more subtle than that.
> >
> >>> 1. An implementation which provides wrapper scripts (i.e. mpicc). These scripts could easily add -D_MPI would prevent the conforming use of POSIX! See:
> >>
> >> http://www.opengroup.org/onlinepubs/009695399/toc.htm
> >> 2.2 The Compilation Environment
> >> 2.2.1 POSIX.1 Symbols
> >
> > Regards,
> > Nick.
> >
> > _______________________________________________
> > mpi-forum mailing list
> > mpi-forum at lists.mpi-forum.org
> > http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>
> _______________________________________________
> mpi-forum mailing list
> mpi-forum at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
More information about the mpi-forum
mailing list