[Q-e-developers] PW/tools/pwi2xsf.f & PGI 12.2

Tone Kokalj tone.kokalj at ijs.si
Fri Mar 9 09:04:46 CET 2012


On Fri, 2012-03-09 at 08:50 +0100, Paolo Giannozzi wrote:
> On Mar 8, 2012, at 22:25 , Filippo Spiga wrote:
> 
> > PGFTN-S-0146-Expression must be character type (pwi2xsf.f: 475)
> 
> try to replace function "string_length(line)" with "len_trim(adjustl 
> (line))"

perhaps

line = adjustl(line)
len  = len_trim(line)

is more appropriate, because many parts of pwi2xsf.f assume left-aligned
line. 

Regards, Tone
-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html




More information about the developers mailing list