On Thu, 28 Aug 2003, Harry R Millwater wrote:
> One of our large F90 development projects uses cpp for conditional
> compilation. Should we be using fpp? What's the
> difference/advantages/disadvantages of one vs. another. What's the
> motivation for fpp? Was it patterned after cpp with special Fortran
> features?
We gave up on the lack of portability when using the implementations
provided by different vendors, and ended up distributing a preprocessor
with our code. Seeing that we already use perl for other tasks, we
distribute filepp (which is GPL) and do preprocessing manually. This way
the Fortran compiler is given nothing but standard-conforming Fortran.
If you are going to distribute a preprocessor with your code, then try not
to use one written in another language. Michel Olagnon and Dan Nagle's
programs are Fortran so no problems there. Others might require for
example a C compiler. More languages generally means more problems....
Regards,
Daniel.
------------------------------------------------------------------------
Dr. Daniel Grimwood Department of Chemistry
Email : [log in to unmask] The University of Western Australia
Phone : +61 8 93808563 35 Stirling Highway
Fax : +61 8 93801005 Crawley WA 6009
|