[Q-e-developers] PHonon Module strange directory structure

Zahid Rashid Z.Rashid at gmx.com
Sun Mar 20 15:27:50 CET 2016


Dear Q-E developers,

This is my first day with quantum espresso.
While compiling the PHonon package I have notices that I have to move every thing residing in the PHonon-5.3.0 directory to one directory up because the setup in the 
Q-ESPRESSO_HOME/install/plugins_makefile does not match with PHonon-5.3.0 directory structure.

PHonon-5.3.0/PHonon
PHonon-5.3.0/PlotPhon
PHonon-5.3.0/QHA

PHonon-5.3.0/PHonon/D3/
PHonon-5.3.0/PHonon/Doc/
PHonon-5.3.0/PHonon/FD/
PHonon-5.3.0/PHonon/Gamma/
PHonon-5.3.0/PHonon/Makefile/
PHonon-5.3.0/PHonon/PH/
PHonon-5.3.0/PHonon/examples/

while the install/plugins_makefile says;

phonon:  uncompress-phonon
        if test -d ../PHonon; then \
        cd ../PHonon; $(MAKE) all || exit 1; cd ../bin; \
        ln -fs ../PHonon/PH/ph.x . ; \
        ln -fs ../PHonon/PH/dynmat.x . ; \
        ln -fs ../PHonon/PH/matdyn.x . ; \
        ln -fs ../PHonon/PH/q2r.x . ; \
        ln -fs ../PHonon/PH/q2qstar.x . ; \
        ln -fs ../PHonon/PH/lambda.x . ; \
        ln -fs ../PHonon/PH/fqha.x . ; \
        ln -fs ../PHonon/Gamma/phcg.x . ; \
        ln -fs ../PHonon/D3/d3.x . ; \
        fi
        touch make-phonon

as there is no Makefile in PHonon-5.3.0 (also no PH/ Gamma/ or D3/) so this of course results in the error 

make[3]: *** No rule to make target `../../make.sys'.  Stop.
make[2]: *** [phonon] Error 1
make[1]: *** [phonon] Error 1
make: *** [ph] Error 1


Is this expected that the user should move PHonon-5.3.0/PHonon one directory up?

Kind regards.
Zahid 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20160320/5e992ae1/attachment.html>


More information about the developers mailing list