[Mpi-forum] Preprocessor Constants

N.M. Maclaren nmm1 at cam.ac.uk
Tue Nov 23 09:18:23 CST 2010


On Nov 23 2010, Hal Finkel wrote:
>
>So the Fortran situation is a bit tricky ;) Fortran does have a
>conditional combilation scheme, which is not often used (implemented),
>and many Fortran compilers (instead) support a C-like preprocessing
>scheme, which I believe is not standard.

And is problematic.  And the formal mechanism may well be dropped by WG5
at some stage.

>So Fortran support might look something like this:

I suggest just omitting it.  It isn't the only thing that has no equivalent
for all languages.

Regards,
Nick Maclaren.





More information about the mpi-forum mailing list