[Pw_forum] linking to math libraries in QE 5.0

Paolo Giannozzi giannozz at democritos.it
Sun May 27 16:47:28 CEST 2012

On May 27, 2012, at 16:29 , m wrote:

> Yes, just pw.x (size 9.3 MB) and iotk.x were compiled.
> But other binary files like pp.x, neb.x, projwfc.x, dos.x, and . . .
> were not compiled.

they were not "linked"; they were "compiled". The linking procedure
is the same for all executables. Look at the line where linking is
performed. It is something like:

mpif90  -o pw.x \
    pwscf.o  libpw.a ../../Modules/libqemod.a ../../flib/ 
ptools.a ../../flib/flib.a ../../clib/clib.a ../../iotk/src/ 
libiotk.a  -llapack /Users/giannozz/trunk/espresso/lapack-3.2/ 
lapack.a -lfftw3  -latlas

Compare what is done in v.4.3.2 with what is done in v.5.0;
compare what is done for pw.x and what is done for all other codes.

Paolo Giannozzi, Dept of Chemistry&Physics&Environment,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222

More information about the users mailing list