[Carpet] [Carpet-darcs] [CarpetLib] add option to omit Fortran 90 files by adding -DOMIT_F90 to compiler flags
Jonathan Thornburg
jthorn at aei.mpg.de
Wed Aug 30 09:33:16 CEST 2006
> The Carpet repository at ~darcs/carpet received a new patch:
>
> [CarpetLib] add option to omit Fortran 90 files by adding -DOMIT_F90 to
> compiler flags
On Tue, 29 Aug 2006, Erik Schnetter wrote:
> You could instead test whether F90='none', which is the standard way of
> testing whether a Fortran 90 compiler is present. You could then generate
> such a preprocessor definition automatically.
>
> In the end (but maybe not in the short term), it would be best to have such a
> definition in the flesh, so that the presence of F77, F90, and CXX could be
> known everywhere in Cactus.
Yes, my patch was more a quick-fix "solution". An overall long-term
solution might be for Cactus to define
CCTK_HAVE_{F77,F90,CXX}
macros as part of the configure process.
ciao,
--
-- Jonathan Thornburg <jthorn at aei.mpg.de>
Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
Golm, Germany, "Old Europe" http://www.aei.mpg.de/~jthorn/home.html
"Washing one's hands of the conflict between the powerful and the
powerless means to side with the powerful, not to be neutral."
-- quote by Freire / poster by Oxfam
More information about the developers
mailing list