[gpaw-users] Error in response calculation
Glenn Jones
gjones at matthey.com
Tue Aug 26 09:54:04 CEST 2014
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 (020 7269 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20140826/4644d5b2/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output.txt.txt
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20140826/4644d5b2/attachment-0001.txt>
More information about the gpaw-users
mailing list