How to run hp.x command in QuantumEspresso v6.8? It is saying command not found.

After doing make hp, it is saying command not found.

  • $\begingroup$ Did you compiled hp successfully? $\endgroup$
    – Camps
    Oct 23, 2021 at 21:57

1 Answer 1


Executables are soft-linked in ./bin folder of the parent directory. If you did not compile, please follow these steps.

make hp
cd bin

After that, run the command,


If you are accessing the executable from QE input file folder, then you have to specify the whole path of the executable


The best practice is to export the path variables into the ~/.bashrc or similar file, so that it can be accessible anywhere.

P.S. I presume you are using some flavor of linux OS or atleast compatible linux shell in windows.

  • $\begingroup$ You are assuming that the user has . on his/her path, which is often considered to be not very good practice and so might not be the case. Probably better is ./hp.x $\endgroup$
    – Ian Bush
    Oct 25, 2021 at 18:51
  • $\begingroup$ @IanBush Yeah, you are right. Thankx, I'll edit it. $\endgroup$
    – 147875
    Oct 25, 2021 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .