Problem with calculating polaron equation

Post here questions linked with issue while running the EPW code

Moderator: hlee

Post Reply
pkarna
Posts: 5
Joined: Tue Sep 19, 2023 1:28 pm
Affiliation: University of Rhode Island

Problem with calculating polaron equation

Post by pkarna »

Hello,
I was trying to run the example to calculate the polaron from the recent example section. However while trying to run the second epw code for calculating the polaron, I ran into a problem. The crash file reads
task # 68
from polaron_prepare : error # 1
Illegal nhblock_plrn, should between 1 and nkf * nbnd_plrn

While I have not changed any lines from the given code, the only difference is the number of nodes used for the calculation. I dont know if that would create the problem.
Thanks in advance for the suggestion.
Pravin

stiwari
Posts: 29
Joined: Mon Jun 26, 2023 9:48 pm
Affiliation: UT Austin

Re: Problem with calculating polaron equation

Post by stiwari »

Dear Pravin,

This problem occurs when you have more number of cores than k-points. As you said you have changed the number of nodes, how many nodes/cores you are using? Try to reduce the number of k-points and check if that works.
Otherwise, attach your input files.

Best,
Sabya.

pkarna
Posts: 5
Joined: Tue Sep 19, 2023 1:28 pm
Affiliation: University of Rhode Island

Re: Problem with calculating polaron equation

Post by pkarna »

Hello Sabya,
Thank you for your response. Currently I am using 1 node with 36 cores and get the problem. I had initially tried with 2 nodes with 72 cores and got the same error file. I preempted the number of cores might be the problem. I think I need to increase the number of k-points as I am only using 6 6 6 k points unless you suggest otherwise.
Thanks
Pravin

jlb
Posts: 3
Joined: Tue Aug 01, 2023 7:31 am
Affiliation: DIPC

Re: Problem with calculating polaron equation

Post by jlb »

Dear Pravin,

I agree with Sabya, this error occurs when the number of MPI processes is larger than the number of k-points in the fine grid (where the matrix elements will be interpolated and the polaron equations solved).

In the school example (lif.epw2.in), nkf1=nkf2=nk3=4, so the fine grid contains 4x4x4=64 k-points and you can use 64 cores at most; anything above that will trigger this error. Try running with less processes or, alternatively, increase the number of points in the fine grid.

Best,
Jon Lafuente-Bartolome

Post Reply