[Trilinos-Users] Cannot build 64 bit on Intrepid.
Brad King
brad.king at kitware.com
Mon May 3 13:21:43 MDT 2010
John R Cary wrote:
> A question (for anyone): How does CMake handle fixed-form versus
> free-form Fortran?
Currently it does nothing special and just hopes the compiler figures
it out. I've had a TODO list entry for a long time to add a source-file
property to mark files as free- or fixed-format.
> While nearly all compilers figure this
> out on the basis of the file suffix, the XL series
> is not sufficiently bright. Experimentation shows
> that for Trilinos, I need to provide xlf (fixed-form),
> not xlf90 (free form).
Actually you can just set the COMPILE_FLAGS target or source file
property to include -qfixed or -qfree on this compiler. This is a
work-around until the above-mentioned property is added.
-Brad
More information about the Trilinos-Users
mailing list