Dear All,
I used to analyse large *_WFK files (up to ~100 GB). It is often necessary for me to go through a large set of k-points and large set of bands. The "cut3d" script, however, enables to make an analysis for a single k-point and band at a time. Even if scripted, loading huge WFK file at every point is terribly time consuming. I was wondering if it is possible to iterate over all needed k-points and bands within cut3d without executing the program every time and loading WFK just for a single analysis? Maybe there's something I'm missing. Anyway - I would kindly appreciate a suggestion.
Best regards,
Michal H.
cut3d: WFK analysis
Moderators: MMNSchmitt, gonze
Re: cut3d: WFK analysis
I'm having the same problems, too!!! This is somewhat inconvenient since I presume we need the real space information and visualization...
Re: cut3d: WFK analysis
There is an outer loop check in cut3d, at the end of the analysis of a wf, which allows you to stay in the program with the wf loaded. If you do not change kpt spin etc... it tries to be clever and reuse what it can (all bands are stored in memory), but it often has to re-read the file to get to the data you want.
If you have some specific task you need to do over all bands or all k you might consider hacking the cut3d + wffile.F90 subroutines to make them do the looping you want. If you want to output things (visualization etc...) I hope for your sake you don't need all bands and k, otherwise it will create several hundred GB...
Your post needs to be more precise on what you want to analyze / extract...
Matthieu
If you have some specific task you need to do over all bands or all k you might consider hacking the cut3d + wffile.F90 subroutines to make them do the looping you want. If you want to output things (visualization etc...) I hope for your sake you don't need all bands and k, otherwise it will create several hundred GB...
Your post needs to be more precise on what you want to analyze / extract...
Matthieu
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: cut3d: WFK analysis
mverstra wrote:There is an outer loop check in cut3d, at the end of the analysis of a wf, which allows you to stay in the program with the wf loaded. If you do not change kpt spin etc... it tries to be clever and reuse what it can (all bands are stored in memory), but it often has to re-read the file to get to the data you want.
If you have some specific task you need to do over all bands or all k you might consider hacking the cut3d + wffile.F90 subroutines to make them do the looping you want. If you want to output things (visualization etc...) I hope for your sake you don't need all bands and k, otherwise it will create several hundred GB...
Your post needs to be more precise on what you want to analyze / extract...
Matthieu
Dear Matthieu,
Thank you for your reply - I do the job by splitting it into sets of bands and distributing them to somewhat stronger cluster machines. What I extract from the WFK file are the 3D indexed real and imaginary data for about 20 thousand points uniquely described by their k-point and energy. Indeed - it sometimes takes ~1 TB of disk space and more, but I do need those raw numbers for further post-processing. What helps a lot to reduce intensive disk I/O is loading a WFK file into a RAM disk and reading it from there using a shell script. Anyway - it seems to work just fine now.
I do appreciate your suggestion - I'll try to dig into the cut3d / wffile.F90 to improve my current solution.
Best regards,
Michal