please answer one question related to modeling using epx.x program for
graphene modified by hydrogen atoms. It is not clear to me how to select in the input file epx.in the values of parameters nqs{cartezian} and parameters xq(1), xq(2), xq(3) for this material.
xq(1), xq(2), xq(3) are the phonon wavevectors of the coarse grid. Must be in the same order as prefix_q* listed in dvscf_dir. You can copy these from the beginning of the phonon output file.
If you are using the latest versions of the code, you do not need to specify them explicitly, and are calculated internally with respect to nq1, nq2, and nq3.
Thank you for your reply.
Please answer one more question related to modeling using epw.x program for graphene modified by hydrogen atoms. I calculated parameters xq(1), xq(2), xq(3) for this material with the program ph.x and passed it in program epw.x. Text of input file listed here. But when I ran the epw.x program, I got the answer “Error in routine epw_setup (1): coarse k-mesh needs to be strictly positive in 1st BZ stopping “.
I do not know if it is possible to simulate such systems or if I have made some mistakes.
Program EPW v.5.0.0 starts on 16Apr2021 at 14:37: 0
Serial version
Reading data from directory: ././.save/
IMPORTANT: XC functional enforced from input :
Exchange-correlation = PBE ( 1 4 3 4 0 0)
Any further DFT definition will be discarded
Please, verify this is what you really want
file C.pbe-rrkjus.UPF: wavefunction(s) 2S 2P renormalized
file H.pbe-rrkjus.UPF: wavefunction(s) 1S renormalized
Error in routine epw_setup (1):
coarse k-mesh needs to be strictly positive in 1st BZ
stopping …
Thank you for your reply. But what is wrong with these points. The points I am using are from the ph.x program and I used according to Hari recommendations in his previous letter. If the 5.0 program version is not correct and cannot do the simulation of this structure, then I will install the 5.3.1 version in the future.
First, I don’t know about EPW v5.0, but you might need to add the fourth column of weight as described at https://docs.epw-code.org/doc/Inputs.html#structure-of-the-input-data .
I guess that even in EPW v5.0, the weights are internally ignored; so you can use the weight of 1.0 for all q points.
Second, your system is a 2D system and probably, in your scf, nscf, and ph calculations, you might use the number of grid of 1 along the kz direction.
(Could you confirm that you used the grid of “12 12 1” from your nscf and ph calculations?)
Thus, please replace the above part by the following:
Thank you for your reply, but my problem has not yet been solved. Now I am trying to put the new version of QE-6.7 on my computer, but there are problems here. Therefore, for the time being, I work in QE-6.3. These days, I tried to solve a similar problem for SiC material, using the files that were in the examples of the program QE-6.3. The program epw.x for SiC material started to simulate when I put the largest grid with the number of points 216 (for the grid 666=216). With less number of points I got the same error as for my variant with graphene. So maybe I also need to use the exact grid with more number of points 144 (for 12121 grid). If this is the case, then how do I get a grid with this number of points, because the ph.x program only gives me 63 points. I inform you that I have fulfilled all your comments made in the last letter. Maybe with QE-6.7 program everything will be easier and my problem will be solved. Excuse me for my persistence, but I am very interested in research of electron-phononon interaction in two-dimensional materials.
First, I would suggest you again to use the recent version of EPW (v5.3.1) since it is much easier for me to keep track of the (potential) issues you encounter.
In addition, I would like to look at all of your inputs and outputs (scf.in, scf.out, nscf.in, nscf.out, ph.in, ph.out, epw.in, and epw.out).
I received your last letter where you offer me to send input and output files obtained with program QE-6.3. However, taking into account your repeatedly stated recommendation to use EPW 5.3.1 program, I installed program QE-6.7. With its help I ran programs pw.x and ph.x for my variant of simulation with graphene and obtained satisfactory results.
However, the installation of the EPW program, which came with QE-6.7, ended unsuccessfully and a message was received in the end:
Make: *** [epw] Error 1
In the long text that accompanied the installation, I read two warnings.
Thanks for your letter, I installed the lapack-3.6.1 and wannier90-v3.1.0 in the EPW and Install folders in the common directory. However, again the installation of the EPW program, which came with QE-6.7, failed and a same message was received:
Make: *** [epw] Error 1
Maybe the folders lapack-3.6.1 and wannier90-v3.1.0 have to be installed in another location. I work alone and don’t have a cluster of machines.
How can I solve this problems? Thanks for the answer!
Thanks for your letter, I installed the lapack-3.6.1 and wannier90-v3.1.0 in the EPW and Install folders in the common directory. However, again the installation of the EPW program, which came with QE-6.7, failed and a same message was received:
Make: *** [epw] Error 1
Maybe the folders lapack-3.6.1 and wannier90-v3.1.0 have to be installed in another location. I work alone and don’t have a cluster of machines.
How can I solve this problems? Thanks for the answer!
I received your letter where you offer me to send the input and output files obtained for the study of graphene with hydrogen atoms. Taking into account your recommendation, I used EPW 5.3.1 and QE-6.7 programs in the last calculations. The execution of programs pw.x and ph.x passed without remarks. But when I ran EPW 5.3.1 using the file C2H1.epw.in, I got a warning:
Error in routine epw_setup(1):
coarse k-mesh needs to be strictly positive in 1st BZ
stopping …
I attach in .rar form the texts of C2H1.scf.in, C2H1.scf.out, C2H1.ph.in, C2H1.ph.out, C2H1.epw.in, C2H1.epw.out.
How can I solve these problems? Maybe use a more accurate mesh for k? Thanks for the answer!
In addition, I would like to look at all of your inputs and outputs (scf.in, scf.out, nscf.in, nscf.out, ph.in, ph.out, epw.in, and epw.out).
Although I asked you to provide all inputs and outputs, I can’t find some inputs and outputs in your attached files.
Error in routine epw_setup(1):
coarse k-mesh needs to be strictly positive in 1st BZ
stopping …
I need to look at nscf.in, but I guess that you didn’t provide the k-point list on the full BZ with the range of [0, 1) from kmesh.pl in Wannier90.
I would suggest you to study and understand fully the examples in the EPW package before the production run for your research.
Thank you for your reply. Please find enclosed texts of files C2H1.ph.in, C2H1B.epw.in, C2H1B.epw.out.
Files C2H1B.epw.in, C2H1B.epw.out I created today for 12x12x1 grid with program kmesh.pl located in Wannier90. I could not attach the files C2H1.scf.in, C2H1.scf.out, C2H1.ph.out to this e-mail for some unknown to me reason. I will try to send the files C2H1.scf.in, C2H1.scf.out, C2H1.ph.out in the next letter.
The EPW 5.3.1 program gives me a warning when I use C2H1B.epw.in:
Error in routine epw_setup(1):
coarse k-mesh needs to be strictly positive in BZ
Stopping …
How can i solve this problem ? Thanks for the answer!
I have difficulty with viewing the contents of rar files.
Please (1) use other compressed file formats such as tar, tar.gz, or zip or (2) upload the original files (not compressed).
Thank you for your reply, excuse me for many letters. I will try to send you texts of C2H1.scf.in, C2H1.scf.out, C2H1.ph.in, C2H1.ph.out, C2H1.epw.in, C2H1.epw.out files with .tar.gz extension by one or several letters.
I was looking at examples of modeling on your website of different materials, and SiC material in particular, using the EPW program. I noticed that after running the ph.x program and before running the epw.x program an additional program pp.py is used. However, when running the pp.py program from the QE-6.7 program suite for my material, I got the answer:
When I looked at the files in the SiC example material, I noticed that another program, pp.py, was being used. When running this program on the SiC material
from: can’t read /var/mail/builtins
/home/user/qe-6.7/qe-6.7/EPW/examples/sic/phonons/pp.py: line 7: import: command not found
/home/user/qe-6.7/qe-6.7/EPW/examples/sic/phonons/pp.py: line 8: import: command not found
/home/user/qe-6.7/qe-6.7/EPW/examples/sic/phonons/pp.py: line 11: syntax error near unexpected token ‘(’
/home/user/qe-6.7/qe-6.7/EPW/examples/sic/phonons/pp.py: line 11: ‘prefix = input (‘Enter the prefix used for PH calculations (e.g. diam)\n’)’
Maybe my simulation problems are related to the correct and proper execution of the pp.py program. However, in order to run this program, I need instructions and explanations on how to run this program. Thank you for your reply.
I am sending two versions of files with the .epx extension. I tried different ways to run the epw.x file.