The calculation is unable to locate the required pseudopotential #170
-
|
Dear expert SSCHA, I'm interested in utilizing SSCHA in conjunction with Quantum Espresso codes. I've followed the script example for H3S and PbTe, particularly in the context of using vc-relax within Quantum Espresso based on a primitive cell. At this stage, the job was executed successfully. It's worth noting that I employed the command "harmonic_dyn = CC.Phonons.compute_phonons_finite_displacements(structure_relaxed, calculators, supercell = (4,4,4))." However, during the subsequent calculation with the supercell structure, the process was prematurely terminated, and an error message was encountered: "Error in routine readpp (1): file ./Sc.pbe-spn-kjpaw_psl.1.0.0.UPF not found." This suggests that the calculation is unable to locate the required pseudopotential. I should emphasize that this calculation was carried out on a high-performance supercomputer, and my slurm file indicates the following error: "ase.calculators.calculator.CalculationFailed: Calculator 'espresso' failed with the command 'pw.x -in disp_0.pwi > disp_0.pwo', and it failed in the directory /test4/disp_0 with error code 1." Subsequent to this issue, it appears that the SSCHA relaxation process has not yet commenced. Here is my concise script, as shown below: In light of these challenges, I would greatly appreciate guidance from an expert on how to address this issue with the SSCHA code. Your assistance would be invaluable. Best, Prutthipong |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Hi, this error is releated to quantum espresso. Which is expected to be located in the same directory in which the script is running. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, ASE has a way to exploit mpi parallelization that does not involve explicitly overriding the command: Alternatively mi, you can use the PREFIX.pwi and PREFIX.pwo in the command name to refer to the input and output file of the espresso calculation |
Beta Was this translation helpful? Give feedback.
Ok, you are right.
So the problem is that, to compute the harmonic phonons, the code is generating the disp_x directories and performing the espresso calculation inside those directories (which does not contain the pseudopotential).
The solution is to change the value of pseudo_dir in the input to the absolute path of the calculation: