# Installation of `phq` cd into Workfall2022 `cd Workfall2022` git clone `phq` using the command below `git clone https://github.com/MineralsCloud/phq.git` Then proceed as follows `cd phq` `cd system` If using gfortran compiler, `cp makefile_linux_gfortran ../src` If using ifort, `cp makefile_linux_ifort` Go back to `src` directory `cd ../src` Rename your makefile (Here we use `makefile_linux_gfortran`) `mv makefile_linux_gfortran makefile` Then, `make` We now have `phq` installed. Copy it to `examples/Si` `cp phq ../examples/Si` Now run the calculation `cd ../examples/Si/` `./phq < input` Once the calculation has run proceed as follows, `cd postprocessing/dispersion` `cp ../../dynmatmd* .` `q2r.x < q2r.in > q2r.out` `matdyn.x < dispersion.in > dispersion.out` `plotband.x < plotband.in > plotband.out`