[gpaw-users] Error in response calculation

Falco Hüser falco at chem.ku.dk
Tue Aug 26 10:17:09 CEST 2014


sorry, I overlooked that you are using k-point parallelization, so 16 
cores would be fine.
But try increasing ecut. For very unevenly shaped unit cells, a low 
cutoff can result in a too small number of G vectors.

On 08/26/2014 10:06 AM, Falco Hüser wrote:
> Hi Glenn,
>
> can you try using less CPUs? You are running on 16 cores, which is 
> absolutely not necessary, and there are only 5 G vectors (plane 
> waves). The code uses a mixed frequency/G vector parallelization, so 
> maybe some cores just get an empty matrix, which cannot be diagonalized.
> Anyway, your plane wave energy cutoff seems very low (12 eV), increase 
> it for a larger number of plane waves.
>
> Falco
>
> On 08/26/2014 09:54 AM, Glenn Jones wrote:
>>
>> Hi,
>>
>> I am starting to use the response module in GPAW for calculating 
>> absorption spectra of TM oxides.
>>
>> Non-spin polarised calculations worked fine, but I am now running 
>> into some issues with spin polarised calculations, that aren’t so 
>> well documented:
>>
>> I have pre optimised my bulk system which is read in from out.gpw 
>> (which I am unable to send by email because it is too big).  However 
>> on running the following script I get a ‘Singular matrix error’ – see 
>> attached .txt file for the full output:
>>
>> from ase.io import read
>>
>> import numpy as np
>>
>> from gpaw import GPAW, FermiDirac, Mixer
>>
>> from ase import Atom, Atoms
>>
>> from ase.visualize import view
>>
>> from gpaw.mixer import Mixer
>>
>> from gpaw.response.df import DF
>>
>> from gpaw.mpi import world
>>
>> ABS = 1
>>
>> if ABS:
>>
>>     df = DF(calc='../out.gpw',
>>
>>             q=np.array([0.0, 0.0, 0.00001]),
>>
>>             w=np.linspace(0,10,200),
>>
>>             eta=0.05,
>>
>>             ecut=12,
>>
>>             optical_limit=True,
>>
>>             xc='ALDA_X'
>>
>>             #kcommsize=4
>>
>>             )
>>
>>     df.get_absorption_spectrum()
>>
>> ____________________________________________________________
>>
>> Any clues as to how to get around this would be appreciated,
>>
>>
>> Thanks,
>>
>>
>> Glenn
>>
>>
>>
>> If the reader of this email is not the intended recipient(s), please 
>> be advised that any dissemination, distribution or copying of this 
>> information is strictly prohibited. Johnson Matthey PLC has its main 
>> place of business at 5th Floor, 25 Farringdon Street, London (0207269 
>> 8400).
>>
>> Johnson Matthey Public Limited Company Registered Office: 5th Floor, 
>> 25 Farringdon Street, London EC4A 4AB.Registered in England No 33774
>>
>> Whilst Johnson Matthey aims to keep its network free from viruses you 
>> should note that we are unable to scan certain emails, particularly 
>> if any part is encrypted or password-protected, and accordingly you 
>> are strongly advised to check this email and any attachments for 
>> viruses. The company shall NOT ACCEPT any liability with regard to 
>> computer viruses transferred by way of email.
>>
>> Please note that your communication may be monitored in accordance 
>> with Johnson Matthey internal policy documentation.
>>
>>
>>
>> _______________________________________________
>> gpaw-users mailing list
>> gpaw-users at listserv.fysik.dtu.dk
>> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users
>
>
>
> _______________________________________________
> gpaw-users mailing list
> gpaw-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20140826/3f48c07f/attachment-0001.html>


More information about the gpaw-users mailing list