Hi, Adriano:<br><br>1) It is defined. This input was extracted from a shell script I use to run PW.<br><br>2) Is it mandatory? PW ran without any warning, though. <br><br>What I wanted is to define a chain, that is, it is periodic only along x direction. y and z are just large enough to prevent spurious interactions with the ribbon images. Is there another (better) way to specify the cell parameters for such a system?<br><br>3) It works.<br><br>I already ran this input, but I was not sure if the system (a narrow graphene ribbon -- a chain -- with magnetic edges) had been defined correctly.<br><br>Regards,<br><br>Roberto<br><br><b><i>Adriano.Mosca.Conte@roma2.infn.it</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> It seems ok apart some details:<br>1) You have to define DIR.<br>2) The cell parameters with ibrav=8 have to be specified by:<br>   celldm(1)=a,celldm(2)=b/a,celldm(3)=c/a<br>3) I'm not
 sure at 100% that the symbols "-" and "+" are allowed to<br>specify atomic names.<br><br>&gt; Dear PW users:<br>&gt;<br>&gt; I want to carry out a single point calculation of an antiferromagnetic<br>&gt; graphene nanoribbon with PWscf. Since such a system is magnetic, with a<br>&gt; specific magnetic orientation for the edge carbons, I have to perform a<br>&gt; spin-polarized calculation. I'd like to know if the following PW input is<br>&gt; suitable for such a calculation.<br>&gt;<br>&gt; &amp;CONTROL<br>&gt;                    calculation = 'scf' ,<br>&gt;                   restart_mode = 'from_scratch' ,<br>&gt;                     pseudo_dir = '$DIR' ,<br>&gt;    /<br>&gt;    &amp;SYSTEM<br>&gt;                          ibrav = 8,<br>&gt;                              A = 17.482046 ,<br>&gt;                              B = 20.000000 ,<br>&gt;                              C = 15.000000 ,<br>&gt;                            nat = 70 ,<br>&gt;                          
 ntyp = 4,<br>&gt;                        ecutwfc = 20.00 ,<br>&gt;                        ecutrho = 80.00 ,<br>&gt;                    occupations = 'smearing' ,<br>&gt;                        degauss = 0.01 ,<br>&gt;                       smearing = 'gaussian' ,<br>&gt;                          nspin = 2 ,<br>&gt;      starting_magnetization(1) = -1.0 ,<br>&gt;      starting_magnetization(2) =  1.0 ,<br>&gt;      starting_magnetization(3) =  0.0 ,<br>&gt;      starting_magnetization(4) =  0.0 ,<br>&gt;    /<br>&gt;    &amp;ELECTRONS<br>&gt;                       conv_thr = 1.0D-6 ,<br>&gt;                    startingpot = 'atomic',<br>&gt;                    startingwfc = 'atomic',<br>&gt;                    mixing_mode = 'plain' ,<br>&gt;                    mixing_beta = 0.25 ,<br>&gt;                diagonalization = 'david' ,<br>&gt;   /<br>&gt;   ATOMIC_SPECIES<br>&gt;     C-1   12.0107  C.pbe.UPF<br>&gt;     C+1   12.0107  C.pbe.UPF<br>&gt;     C     12.0107 
 C.pbe.UPF<br>&gt;     H      1.0079  H.pbe.UPF<br>&gt;   ATOMIC_POSITIONS angstrom<br>&gt;   C+1       1.249543   -0.711074    0.000000<br>&gt;   C       0.000947   -0.016393   -0.000001<br>&gt;   C       0.000844    1.443145   -0.000001<br>&gt;   C       1.249381    2.159954    0.000001<br>&gt;   C       1.249409    3.608946    0.000001<br>&gt;   C       0.000843    4.325668   -0.000001<br>&gt;   C       0.000939    5.785283    0.000000<br>&gt;   C-1       1.249515    6.479991   -0.000001<br>&gt;   H       1.249981   -1.825631    0.000000<br>&gt;   H       1.249981    7.594413    0.000000<br>&gt;   C+1       3.746978   -0.711074    0.000000<br>&gt;   C       2.498382   -0.016393   -0.000001<br>&gt;   C       2.498279    1.443145   -0.000001<br>&gt;   C       3.746816    2.159954    0.000001<br>&gt;   C       3.746844    3.608946    0.000001<br>&gt;   C       2.498278    4.325668   -0.000001<br>&gt;   C       2.498374    5.785283    0.000000<br>&gt;   C-1       3.746950   
 6.479991   -0.000001<br>&gt;   H       3.747416   -1.825631    0.000000<br>&gt;   H       3.747416    7.594413    0.000000<br>&gt;   C+1       6.244413   -0.711074    0.000000<br>&gt;   C       4.995817   -0.016393   -0.000001<br>&gt;   C       4.995714    1.443145   -0.000001<br>&gt;   C       6.244251    2.159954    0.000001<br>&gt;   C       6.244279    3.608946    0.000001<br>&gt;   C       4.995713    4.325668   -0.000001<br>&gt;   C       4.995809    5.785283    0.000000<br>&gt;   C-1       6.244385    6.479991   -0.000001<br>&gt;   H       6.244851   -1.825631    0.000000<br>&gt;   H       6.244851    7.594413    0.000000<br>&gt;   C+1       8.741849   -0.711074    0.000000<br>&gt;   C       7.493253   -0.016393   -0.000001<br>&gt;   C       7.493150    1.443145   -0.000001<br>&gt;   C       8.741687    2.159954    0.000001<br>&gt;   C       8.741715    3.608946    0.000001<br>&gt;   C       7.493149    4.325668   -0.000001<br>&gt;   C       7.493245    5.785283   
 0.000000<br>&gt;   C-1       8.741821    6.479991   -0.000001<br>&gt;   H       8.742287   -1.825631    0.000000<br>&gt;   H       8.742287    7.594413    0.000000<br>&gt;   C+1      11.239284   -0.711074    0.000000<br>&gt;   C       9.990688   -0.016393   -0.000001<br>&gt;   C       9.990585    1.443145   -0.000001<br>&gt;   C      11.239122    2.159954    0.000001<br>&gt;   C      11.239150    3.608946    0.000001<br>&gt;   C       9.990584    4.325668   -0.000001<br>&gt;   C       9.990680    5.785283    0.000000<br>&gt;   C-1      11.239256    6.479991   -0.000001<br>&gt;   H      11.239722   -1.825631    0.000000<br>&gt;   H      11.239722    7.594413    0.000000<br>&gt;   C+1      13.736719   -0.711074    0.000000<br>&gt;   C      12.488123   -0.016393   -0.000001<br>&gt;   C      12.488020    1.443145   -0.000001<br>&gt;   C      13.736557    2.159954    0.000001<br>&gt;   C      13.736585    3.608946    0.000001<br>&gt;   C      12.488019    4.325668  
 -0.000001<br>&gt;   C      12.488115    5.785283    0.000000<br>&gt;   C-1      13.736691    6.479991   -0.000001<br>&gt;   H      13.737157   -1.825631    0.000000<br>&gt;   H      13.737157    7.594413    0.000000<br>&gt;   C+1      16.234154   -0.711074    0.000000<br>&gt;   C      14.985558   -0.016393   -0.000001<br>&gt;   C      14.985455    1.443145   -0.000001<br>&gt;   C      16.233992    2.159954    0.000001<br>&gt;   C      16.234020    3.608946    0.000001<br>&gt;   C      14.985454    4.325668   -0.000001<br>&gt;   C      14.985550    5.785283    0.000000<br>&gt;   C-1      16.234126    6.479991   -0.000001<br>&gt;   H      16.234592   -1.825631    0.000000<br>&gt;   H      16.234592    7.594413    0.000000<br>&gt;   K_POINTS  automatic<br>&gt;      2   1   1  0  0  0<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Roberto Veiga<br>&gt; PhD student<br>&gt; INSA-Lyon<br>&gt;<br>&gt;<br>&gt; ---------------------------------<br>&gt; Be a better friend, newshound, and
 know-it-all with Yahoo! Mobile.  Try it<br>&gt; now._______________________________________________<br>&gt; Pw_forum mailing list<br>&gt; Pw_forum@pwscf.org<br>&gt; http://www.democritos.it/mailman/listinfo/pw_forum<br>&gt;<br><br>_______________________________________________<br>Pw_forum mailing list<br>Pw_forum@pwscf.org<br>http://www.democritos.it/mailman/listinfo/pw_forum<br></blockquote><br><p>&#32;



      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>