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

Paolo Giannozzi p.giannozzi at gmail.com
Thu Mar 24 16:58:04 CET 2016


I just tried a new compilation from scratch.
$ tar -xzvf espresso-5.3.0.tar.gz
$ cd espresso-5.3.0
$ ./configure
$ make pw
then: "make ph" downloads and builds PHonons. No need to move anything.

Paolo

On Sun, Mar 20, 2016 at 3:27 PM, Zahid Rashid <Z.Rashid at gmx.com> wrote:

> 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
>
> _______________________________________________
> Q-e-developers mailing list
> Q-e-developers at qe-forge.org
> http://qe-forge.org/mailman/listinfo/q-e-developers
>
>


-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20160324/1175ff5d/attachment.html>


More information about the developers mailing list