[Pw_forum] problem in xspectra calculations

Paolo Giannozzi giannozz at democritos.it
Fri Oct 7 13:52:48 CEST 2011


On Wed, 2011-09-28 at 18:29 +0530, Niharika Joshi wrote:

> 'Could not find the element  C in the table of K edge energies!'

it should be a compiler weirdness. Try to replace in xspectra.f90
  e_1s=mygetK(upf(xiabs)%psd))
with
  e_1s=mygetK(trim(adjustl(upf(xiabs)%psd)))
P.
-- 
Paolo Giannozzi, IOM-Democritos and University of Udine, Italy




More information about the Pw_forum mailing list