Dear David [affiliation?], Paolo et alia,
Just an innocent question: How many compilers do _not_ have an internal
pre-processor these days or are not able to use an external one? I was
compiling .F90 files some 10-15 years ago with automatic pre-processing,
without the need of intermediate files, is it true that the compilers
would not have adapted a default pre-processor up to now? Well, probably
there are some compilers still around which might not have this built in,
would it be possible to treat them as "special cases" and create these
intermediate files for them as needed?
Greetings,
apsi
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Ari Paavo Seitsonen / [email protected] / http://www.iki.fi/~apsi/
Ecole Normale Supérieure (ENS), Département de Chimie, Paris
Mobile (F) : +33 789 37 24 25 (CH) : +41 79 71 90 935
On Sun, 24 Apr 2016, David Strubbe wrote:
Hi Paolo,
My point about cpp is: Octopus (and some other codes) have been using this
approach for many years on a variety of platforms. So, I don't see any reason
it would cause trouble
for any compilers. The issue for OSX I mention is related to the filesystem and
is independent of the compiler.
David
On Fri, Apr 22, 2016 at 4:42 PM, Paolo Giannozzi <[email protected]> wrote:
First two corrections done, thank you.
I recommend changing the name of your output from cpp runs to
something other than .F90, since on a case-insensitive filesystem (default for
Mac OSX)
this is the same as the .f90 input file, which makes the
compilation fail. For example, in the Octopus project we use _oct.f90.
For this, we should figure out first if such change is harmless for all other
compilers
Paolo
--
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
_______________________________________________
Pw_forum mailing list
[email protected]
http://pwscf.org/mailman/listinfo/pw_forum
_______________________________________________
Pw_forum mailing list
[email protected]
http://pwscf.org/mailman/listinfo/pw_forum