problems with resp fun calcs together with paral_kgb

Phonons, DFPT, electron-phonon, electric-field response, mechanical response…

Moderators: mverstra, joaocarloscabreu

Locked
User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

problems with resp fun calcs together with paral_kgb

Post by jzwanzig » Sun Jul 01, 2012 6:55 pm

Hi,

I'm trying to study a large system using NCPP, with the goal ultimately of computing rstrs, rfphon at gamma point, and rfelfd. I can compute the ground state and also do geometry optimization using paral_kgb, but I cannot ever get the response function calculations to read the output. For example, I run on 36 processors with the following options:

paral_kgb 1
npkpt 9
npspinor 1
npband 4
npfft 1
bandpp 4

localrdwf 0
accesswff 0

kptopt 2
iscf 7
tolvrs 1.0D-18


where the variables were tuned by a run with paral_kgb -36. It writes the output wavefunction to gso_WFK which I then re-name to gsi_WFK. Then, I run with exactly the same setup except replacing iscf7, tolvrs 1.0D-18 by

iscf -3
tolwfr 1.0D-20
irdwfk 1
rfddk 1
rfdir 1 1 1

and it immediately fails at the point of reading the GS wavefunction. If I try to run without paral_kgb in the second step it fails because the npw values are different than what is expected. Can someone suggest what I am doing wrong?

thanks,
Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: problems with resp fun calcs together with paral_kgb

Post by jzwanzig » Mon Jul 02, 2012 3:19 pm

Well, it appears from the log file (but not the on-line documentation) that paral_kgb is not compatible with accesswff 0, only with accesswff 1. I've re-run the job with ndtset 2, to compute both gs and ddk as a chain of calculations, using accesswff 1 and localrdwr 1, but it still crashes after the gs finishes. Any ideas?

Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: problems with resp fun calcs together with paral_kgb

Post by jzwanzig » Mon Jul 02, 2012 9:19 pm

Well, one problem I found was that I had been leaving dilatmx 1.05 in the input file for response calculation, left over from the geometry optimization, and that seems to be in conflict with response function calculations. Can someone confirm or deny? I can certainly check for it in chkinp.F90.

Nonetheless, I simply cannot get paral_kgb 1 to work when I am doing a response function calculation, only parallel over k points. Can someone comment on this?
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

Boris
Posts: 128
Joined: Tue Feb 16, 2010 10:13 am
Location: France

Re: problems with resp fun calcs together with paral_kgb

Post by Boris » Tue Jul 10, 2012 2:03 pm

Hello Joe

I think phonon calculations (with PP or PAW) are not parallelized on the kgb levels. I think you can only use it with the "regular" kpoint parallelization.

That's a problem for large supercells.

Boris
----------------------------------------------------------
Boris Dorado
Atomic Energy Commission
France
----------------------------------------------------------

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: problems with resp fun calcs together with paral_kgb

Post by jzwanzig » Tue Jul 10, 2012 3:45 pm

That is my impression, after some trial and error. I did eventually succeed in computing efield, strain, and phonons at gamma for a 68 atom cell (272 bands), primitive orthorhombic, with excellent agreement with heat capacity data, so I'm pleased for that--
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

Locked