[Pw_forum] DFT+U: input for resp_mat.f90

2009-12-03 Thread Gabriele Sclauzero


Masoud Aryanpour wrote:
> Dear PW forum,
> 
> I am following the presentations and exercises of Summer School in Santa 
> Barbara for the calculation of parameter U.
> For the NiO example, all the calculations for the linear response of the 
> system were finished normally.
> 
> Next step: ./grepalfa_nio_r16   extracts and stores occupations versus 
> the perturbations without any error.
> 
> The final step, which is using program r.x to compute U fails: ./r.x < 
> resp_mat.in  leads to a crash.

Why does it crashes? Please try to recompile the code with some debugging 
options (for 
instance "-g -traceback -check all" with ifort) or some additional write 
statement to 
understand where the code crashes.

> 
> As the first guess the problem might be with the input file resp_mat.in 
>  (copied below). So I am wondering if there is any  
> related document other than "Handson_ldau.pdf" , or link, or help file 
> that explains the keywords used.

Yes, the code itself... (resp_mat.f90)



GS

> 
> Thanks in advance,
> Masoud Aryanpour
> 
> Department of Geosciences
> Penn State University
> 
> 
> === resp_mat.in 
>  _mat
>ntyp = 2
>na(1) = 8
>na(2) = 8
>nalfa = 5
>magn = .true.
>filepos = 'pos_nio_r16'
>back = 'no'
>filednda = 'file.nio.r16'
>n1 = 5
>n2 = 5
>n3 = 5
>  
> 
> 
> 
> 
> ___
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum

-- 


o  o
| Gabriele Sclauzero, PhD Student  |
| c/o:   SISSA & CNR-INFM Democritos,  |
|via Beirut 2-4, 34014 Trieste (Italy) |
| email: sclauzer at sissa.it |
| phone: +39 040 3787 511  |
| skype: gurlonotturno |
o  o


[Pw_forum] DFT+U: input for resp_mat.f90

2009-12-03 Thread Matteo Cococcioni

dear  Masoud,

let me just add a brief explanation of the input below.
>   
>> Thanks in advance,
>> Masoud Aryanpour
>>
>> Department of Geosciences
>> Penn State University
>>
>>
>> === resp_mat.in 
>>  _mat
>>ntyp = 2  # of atomic types of which you are computing U
>>na(1) = 8 # of atoms of type 1 etc
>>na(2) = 8
>>nalfa = 5
>>magn = .true. # use this only if two atoms sit in crystallographically 
>> equivalent positions but have   different magnetization: example the two 
>> kinds of Ni in NiO. in this case, in the pos_nio_r16 file you should specify 
>> (sign of) the magnetization after the crystalline coordinates of each atom: 
>> 1, -1 or 0
>> 
>>filepos = 'pos_nio_r16'  # this file should contain the three unit cell 
>> vectors atomic crystal coordinates in the same order as decleared above 
>> (first type first, etc)
>>back = 'no'   # the response matrices are not constrained to have 
>> vanishing row or column sums
>>filednda = 'file.nio.r16' # contains a list of file names containing n vs 
>> alpha for various atoms. of course the order of atoms must be compatible 
>> with the order of species as well 
>>n1 = 5   # size of the extrapolatin supercell
>>n2 = 5
>>n3 = 5
>>  
>> 

please read PRB 71, 35105

regards,

Matteo
>> 
>>
>> ___
>> Pw_forum mailing list
>> Pw_forum at pwscf.org
>> http://www.democritos.it/mailman/listinfo/pw_forum
>> 
>
>   


-- 
%%%
Matteo Cococcioni
Department of Chemical Engineering and Materials Science,
University of Minnesota
421 Washington Av. SE
Minneapolis, MN 55455
Tel. +1 612 624 9056Fax +1 612 626 7246
%%% 



[Pw_forum] DFT+U: input for resp_mat.f90

2009-12-02 Thread Masoud Aryanpour
Dear PW forum,

I am following the presentations and exercises of Summer School in Santa
Barbara for the calculation of parameter U.
For the NiO example, all the calculations for the linear response of the
system were finished normally.

Next step: ./grepalfa_nio_r16   extracts and stores occupations versus the
perturbations without any error.

The final step, which is using program r.x to compute U fails: ./r.x <
resp_mat.in leads to a crash.

As the first guess the problem might be with the input file
resp_mat.in(copied below). So I am wondering if there is any  related
document other
than "Handson_ldau.pdf" , or link, or help file that explains the keywords
used.

Thanks in advance,
Masoud Aryanpour

Department of Geosciences
Penn State University


=== resp_mat.in
 _mat
   ntyp = 2
   na(1) = 8
   na(2) = 8
   nalfa = 5
   magn = .true.
   filepos = 'pos_nio_r16'
   back = 'no'
   filednda = 'file.nio.r16'
   n1 = 5
   n2 = 5
   n3 = 5
 
-- next part --
An HTML attachment was scrubbed...
URL: 
http://www.democritos.it/pipermail/pw_forum/attachments/20091202/c2ed7af9/attachment.htm