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

Ari P Seitsonen Ari.P.Seitsonen at iki.fi
Sun Mar 20 20:54:21 CET 2016


Dear Zahid, [ Next time please include also your affiliation ]

   Welcome to use the Quantum ESPRESSO package!

   Hmm, I have recently installed the 5.3.0 version of QE and did not 
experience any trouble; I did

#> tar xf ../espresso-5.3.0.tar.gz
#> cd espresso-5.3.0
#> tar xf ../../PHonon-5.3.0.tar.gz
#> ./configure
#> make ph -j
#> ./bin/ph.x

Please notice the "cd espresso-5.3.0" as the second command, should you 
have forgotten it.

     Greetings from Paris,

        apsi

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
   Ari Paavo Seitsonen / Ari.P.Seitsonen at iki.fi / http://www.iki.fi/~apsi/
     Ecole Normale Supérieure (ENS), Département de Chimie, Paris
     Mobile (F) : +33 789 37 24 25    (CH) : +41 79 71 90 935


On Sun, 20 Mar 2016, Zahid Rashid 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 
> 
>


More information about the developers mailing list