[Q-e-developers] makedeps script

Paolo Giannozzi giannozz at democritos.it
Wed Aug 18 15:49:16 CEST 2010


On Aug 18, 2010, at 13:26 , Norbert Nemec wrote:

> I did start on a complete rework of the build system once but found
> that it would take more time that I can spare at the moment...


..without counting the time needed to convince the reworked build
system to work on the many machines for which the current one
works (or at least, sort of works) ...

Anyway: I am not completely happy either with the current
build system. In additional to occasional glitches like this one:
===
on CRAYXT5, after taking out pw2casino part I get the following
compilation error in 'dist.x'

ftn -v -o dist.x \
	dist.o ../PW/libpw.a ../Modules/libqemod.a ../flib/ptools.a ../flib/ 
flib.a ../clib/clib.a ../iotk/src/libiotk.a ../Multigrid/mglib.a  - 
llapack
/opt/cray/xt-asyncpe/3.7/bin/ftn: INFO: linux target is being used

.../flib/flib.a(cryst_to_car.o):(.data+0x0): undefined reference to  
`kinds_'
../flib/flib.a(latgen.o): In function `.C1_292':
latgen.F90:(.data+0x140): undefined reference to `kinds_'
../flib/flib.a(recips.o): In function `.C1_291':
recips.F90:(.data+0x10): undefined reference to `kinds_'
../flib/flib.a(sort.o): In function `.C1_573':
sort.F90:(.data+0x10): undefined reference to `kinds_'
/usr/bin/ld.x: link errors found, deleting executable `dist.x'
pgf90-Fatal-linker completed with exit code 1
===

there is a more general problem: circular dependencies between
Modules/, PW/, CP/, flib/. One of these days we need to re-order
things and make such dependencies disappear. I hope that once
this is done, it will be much easier and safer to work on the
installation mechanism.

P.
---
Paolo Giannozzi, Dept of Physics, University of Udine
via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222






More information about the developers mailing list