Dear ABINIT developers/users
Can we parallelize/optimize the kgb for RF calculations in abinit?
I tried to calculate the response functions for the electric field which starts from previous SCF result(WFK file).
The problem that I am running into trouble is the parallelization for the RF calculation.
The calculation could not be optimized and took a 3-4 times longer time than SCF cycle.
I found the following messages in log file:
nproc = 144 -> not optimal: autoparal keyword recommended in input file
and,
npfft, npband, npspinor and npkpt: 1 1 1 144
It seems that the calculation is parallelized only over k-points.
Many bands are set in my calculation, so the band parallelization should be required to optimize the calculation.
For the reference, the parameters above in the SCF calculation were set as below:
npfft, npband, npspinor and npkpt: 3 3 1 16
Also found,
--- !WARNING
src_file: mpi_setup.F90
src_line: 672
message: |
Your number of spins*k-points (=16) and bands (=1200) will not distribute correctly
with the current number of processors (=144).
You will leave some empty.
YOU ARE STRONGLY ADVICED TO ACTIVATE AUTOMATIC PARALLELIZATION!
PUT "AUTOPARAL=1" IN THE INPUT FILE.
The message says to put autoparal=1 in the input file, but I did that actually.
Seems that the autoparal tag does not work for the RF calculation.
Thus, I tried to calculate without autoparal i.e. set parameters manually with respect to parallelization (npfft, npband, npspinor, and npkpt) using paral_kgb tag.
But I got the following comment:
paral_kgb != 0 is not available in optdriver 1. Setting paral_kgb to 0
and,
For non ground state calculation, set bandpp, npfft, npband, npspinor npkpt and nphf to 1
The RF is optdriver=1, thus the paral_kgb tag also could not be used, and not be parallelized over kgb.
I found a similar post for the kgb parallelization.
According to this post, it seems the parallelization was only made for k-points and spin for this time.
Is this a same problem with mine?
The attached is what I used in the calculation.
Sincerely yours,
au_cond.in (1.8 KB)