Hanging MPI processes when writing MMN and WANPROJ files

Problems running VASP: crashes, internal errors, "wrong" results.


Moderators: Global Moderator, Moderator

Locked
Message
Author
benoit
Newbie
Newbie
Posts: 3
Joined: Wed May 10, 2017 7:59 pm
License Nr.: 21-0004

Hanging MPI processes when writing MMN and WANPROJ files

#1 Post by benoit » Thu Jun 03, 2021 4:35 pm

Dear VASP developers,

I noticed that MMN and WANPROJ files are written by all MPI ranks, when trying to generate the maximally localized wannier functions using Wannier90 interface using VASP 6.2.1. This may cause MPI processes to hang depending on the file system. I experienced this behavior on a supercomputer using IBM Spectrum Scale parallel file system (ex-GPFS) while the same job completes successfully on another supercomputer using NFS file system.

I guess that writing of MMN and WANPROJ files should probably be carried out by MPI rank 0 only. The attached patch file allowed me to fix this issue in VASP 6.2.1.

Kind regards,

Benoit
You do not have the required permissions to view the files attached to this post.

martin.schlipf
Global Moderator
Global Moderator
Posts: 542
Joined: Fri Nov 08, 2019 7:18 am

Re: Hanging MPI processes when writing MMN and WANPROJ files

#2 Post by martin.schlipf » Fri Jun 04, 2021 6:38 am

Thank you Benoit for bringing this to our attention. The patch you provide looks great, much appreciated.

Martin Schlipf
VASP developer


Locked