Skip to content

pw2wannier90 fails if too many tasks #196

Open
@nscolonna

Description

@nscolonna

In the periodic workflow we combine primitive cell (pwscf pw2wannier90 wannier90) and Super cell (kcp.x) calculations that might require very different parallelization strategies. Asking for the adequate number of tasks for the SC calculations might end up with a failure of pw2wannier because in the PC there are not enough plane-wave to parallelize over.
It would be great to have the possibility to setup different parallelization strategies in the two cases.
Maybe I'm too naive but shouldn't the definition of two distinct PARA_PREFIX enviromental variables easily fix this issue?
E.g. Suppose I ask for 100 tasks (that I know are needed for the SC calculations but makes pw2wannier fail) and I define PARA_PREFIX_PC="srun -n 10" and PARA_PREFIX_SC="srun".

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions