[Pw_forum] NAG compiler and PWscf 1.2.0

Paolo Giannozzi giannozz at nest.sns.it
Sun Mar 16 20:00:50 CET 2003


Hi

> I would like to compile PWscf 1.2.0 for Linux (Red Hat and Mandrake) for
> both a single processor and the Linux cluster using NAG compiler F95

wow, this was missing !

> The option "-DADD_BLAS_ONE_UNDERSCORE" does not help

of course it doesn't: most compilers add one underscore to symbols.
Since your blas/lapack symbols have already one underscore, why do 
you want to add one more?

> cft_fftw.o(.text+0xa15): undefined reference to `fftw_f77_create_plan_'
> cft_fftw.o(.text+0xaa1): undefined reference to `fftw_f77_'

is the nag compiler case-sensitive ? if it is, you need to
preprocess these two as well

> dtrtri.o(.text+0x30a): undefined reference to `dtrmm_'

this is either a problem of your libraries or of your way of linking, 
not of the code

Paolo

-- 
Paolo Giannozzi             e-mail:  giannozz at nest.sns.it
Scuola Normale Superiore    Phone:   +39/050509412
Piazza dei Cavalieri 7      Fax:     +39/050509417, 050563513     
I-56126 Pisa, Italy         Office:  Lab. NEST, Via della Faggiola 19




More information about the users mailing list