[Pw_forum] compilation on SUN
Paolo Giannozzi
giannozz at nest.sns.it
Tue Feb 24 18:22:22 CET 2004
On Tuesday 24 February 2004 16:40, Stefano Piscanec wrote:
> Finally, I'would like to know where the ln_* are defined.
grep -i ln_alloc */*.[hcf] */*.f90
It's a little bit tricky: they are called in Modules/berry_phase.f90,
the sources are in clib/indici.c as LN_*. LN_* is pre-preprocessed
(see clib/cp.h) to something else. Why? because passing C to
fortran or vice versa is a machine-dependent mess.
Paolo
--
Paolo Giannozzi e-mail: giannozz at nest.sns.it
Scuola Normale Superiore Phone: +39/050-509876, Fax:-563513
Piazza dei Cavalieri 7 I-56126 Pisa, Italy
More information about the users
mailing list