next up previous contents
Next: 4 Input variables Up: 3 Installing, Compiling, and Previous: 3.4 Uninstalling   Contents

3.5 Running thermo_pw

In order to use the thermo_pw code you need to create a file called thermo_control in your working directory in addition to the input of pw.x and, if requested by the task, to the input of ph.x that must be called ph_control. The input of pw.x can have any name and is given as input to the thermo_pw code. It is better not to specify an outdir directory in the ph.x input. Specifying an outdir directory is not forbidden, but for some tasks thermo_pw.x might add a geometry number to outdir and the outdir written in the ph.x input must be consistent.

A typical command for running thermo_pw is:

mpirun -n np thermo_pw.x -ni ni ... < input_pw > output_thermo_pw
where np is the number of processors and ni is the number of images. The dots indicate the other parallelization options that you can find in the QUANTUM ESPRESSO manual.

Note that it is very easy to waste resources if the number of images is too large. Unused images wait for the working images to complete their tasks wasting cpu-time in an endless loop. Some options do not use the image feature, so you have to know how the calculation is divided and the number of images must not be larger than the number of tasks (see below an indication of this number for each option). If you have doubts on this point use one image.

The outputs of the thermo_pw code are one or more postscript or pdf files with plots of the material properties. thermo_pw produces also files with the data of the plot and scripts for the gnuplot program. Usually, the user does not need to modify these files, but they allow the improvement of the figures when needed. The plot of the Brillouin zone (BZ) is made with the help of the asymptote code. Thermo_pw produces a script for the asymptote code and can also run it to produce the pdf file of the BZ.


next up previous contents
Next: 4 Input variables Up: 3 Installing, Compiling, and Previous: 3.4 Uninstalling   Contents
2019-04-16