<html><head><base href="x-msg://215/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 4, 2011, at 9:33 AM, yhho wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div bgcolor="#ffffff"><div><font size="2">Hello,</font></div><div><font size="2">Because&nbsp;I want to calculate my molecule by cp.x, I&nbsp; build the input file as espresso-4.0.3/example/example29.</font></div><div><font size="2">But I got&nbsp;many error massages like this:</font></div><div><font size="2"></font>&nbsp;</div><div><font color="#ff0000" size="2">&nbsp;from&nbsp; system_checkin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : error #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nelup out of range<br></font></div><div><font size="2">I think that's coused by&nbsp;my wrong setting of nelup&nbsp;in input file.</font></div><div><font size="2">But although I tried to change the value of nelup, there's still the same error when I run cp.x</font></div><div><font size="2"></font>&nbsp;</div><div><font size="2">The version I used QE is 4.0.3.</font></div><div><font size="2"></font>&nbsp;</div><div><font size="2">Here's my input file.</font></div><div><font size="2">Please give me some suggestions about nelup setting. Thank you very much.</font></div><div><font size="2"></font>&nbsp;</div><div><font color="#0000ff" size="2">&amp;CONTROL<br>&nbsp; calculation = 'cp',<br>&nbsp; restart_mode = 'from_scratch',<br>&nbsp; nstep&nbsp; = 5,<br>&nbsp; iprint = 10,<br>&nbsp; isave&nbsp; = 10,<br>&nbsp; tstress = .TRUE.,<br>&nbsp; tprnfor = .TRUE.,<br>&nbsp; dt&nbsp;&nbsp;&nbsp; = 10.0d0,<br>&nbsp; prefix = 'Glu43',<br>&nbsp; pseudo_dir = '$PSEUDO_DIR/',<br>&nbsp; outdir='$TMP_DIR/'</font></div><div><font color="#0000ff"></font>&nbsp;</div><div><font color="#0000ff" size="2">/</font></div><div><font color="#0000ff"></font>&nbsp;</div><div><font color="#0000ff" size="2">&amp;SYSTEM<br>&nbsp; ibrav =0,<br>&nbsp; celldm(1) = 1.0D0,<br>&nbsp; nat =41,<br>&nbsp; ntyp =6,<br>&nbsp; ecutwfc = 30,<br>&nbsp; ecutrho = 300.0,<br>&nbsp; occupations ='smearing',<br>&nbsp; smearing='fd',<br>&nbsp; degauss =0.02,<br>&nbsp; nr1b=20,nr2b=20,nr3b=20<br>&nbsp; nspin=2,<br>&nbsp; nelup=6,<br>&nbsp; neldw=1,<br>/<br>&amp;ELECTRONS<br>&nbsp; emass = 1000.d0,<br>&nbsp; emass_cutoff = 4.d0,<br>&nbsp; orthogonalization = 'Gram-Schmidt',<br>&nbsp; startingwfc = 'random',<br>&nbsp; ampre = 0.02,<br>&nbsp; n_inner = 8,<br>&nbsp; tcg = .true.,<br>&nbsp; passop=0.3,<br>&nbsp; maxiter = 250,<br>&nbsp; conv_thr=1.d-6<br>/<br>&nbsp; ion_dynamics = 'damp',<br>&nbsp; ion_damping = 0.,<br>&nbsp; ion_positions = 'from_input',<br>&nbsp; greasp=1.0,<br>&nbsp; ion_radius(1) = 0.8d0,<br>&nbsp; ion_temperature = 'not_controlled',<br>/</font></div><div><font color="#0000ff"></font>&nbsp;</div><div><font color="#0000ff" size="2">ATOMIC_SPECIES<br>C&nbsp; 12.01&nbsp; C.pbe-van_ak.UPF<br>N&nbsp; 14.01&nbsp; N.pbe-van_ak.UPF<br>Fe 55.85&nbsp; Fe.pbe-sp-van_ak.UPF<br>Cl 35.45&nbsp; Cl.pbe-n-van.UPF<br>O&nbsp; 16.00&nbsp; O.pbe-van_ak.UPF<br>H&nbsp; 1.008&nbsp; H.pbe-van_ak.UPF<br>ATOMIC_POSITIONS (crystal)<br>Fe&nbsp;&nbsp; 4.1641719 -0.5471554 -0.5471554<br>Cl&nbsp;&nbsp; 4.5964120 -0.9816182 -1.5908458<br>C&nbsp;&nbsp; 0.0000000 0.0000000 0.0000000<br>C&nbsp;&nbsp; 1.2973805 0.0000000 -0.3758962<br>C&nbsp;&nbsp; 1.2525726 -0.0289989 1.8170181<br>C&nbsp;&nbsp; 2.1350316 -4.1256236 2.1865112<br>C&nbsp;&nbsp; 2.9221888 -3.0442425 2.4078019<br>C&nbsp;&nbsp; 2.8226321 -3.3447077 0.2413133<br>C&nbsp;&nbsp; 6.2923254 -0.8182676 2.5823989<br>C&nbsp;&nbsp; 5.2510634 -0.2023719 3.4131521<br>C&nbsp;&nbsp; 5.5088329 0.0750602 4.8865937<br>C&nbsp;&nbsp; 4.3333907 0.8379462 5.5071409<br>C&nbsp;&nbsp; 4.5779602 1.2229945 6.9527704<br>N&nbsp;&nbsp; 0.0000000 0.0000000 1.3847892<br>N&nbsp;&nbsp; 2.0542695 0.0002705 0.7687871<br>N&nbsp;&nbsp; 2.1102671 -4.3058679 0.8117062<br>N&nbsp;&nbsp; 3.3274628 -2.5693481 1.1859156<br>O&nbsp;&nbsp; 7.3914426 -1.1172282 3.0850061<br>O&nbsp;&nbsp; 6.0627468 -0.9981431 1.3551644<br>O&nbsp;&nbsp; 4.1575035&nbsp; 0.0273619 2.9063284<br>O&nbsp;&nbsp; 3.6274812 1.7187097 7.6151903<br>O&nbsp;&nbsp; 5.6844234 0.9906742 7.4543204<br>O&nbsp;&nbsp; 6.3046402 -3.3176420 -0.4637370<br>O&nbsp;&nbsp; 4.8477761 1.5314745 0.3194472<br>H&nbsp;&nbsp; -0.8142000 0.0187705 1.9653079<br>H&nbsp;&nbsp; 1.6667575&nbsp; 0.0001924 -1.3801718<br>H&nbsp;&nbsp; 1.5611887 -0.0697114 2.8404880<br>H&nbsp;&nbsp; 1.6328039&nbsp; -5.0405899 0.3297794<br>H&nbsp;&nbsp; 3.1807154 -2.6355708 3.3623162<br>H&nbsp;&nbsp; 2.9657556 -3.2174549 -0.8109516<br>H&nbsp;&nbsp; 5.5447595 -0.8771014 5.3743575<br>H&nbsp;&nbsp; 6.3541964 0.7303920 4.9296487<br>H&nbsp;&nbsp; 3.5103975 0.1546553 5.5181216<br>H&nbsp;&nbsp; 4.2582631 1.7576717 4.9649696<br>H&nbsp;&nbsp; 5.4053363 -3.2956001 -0.7980536<br>H&nbsp;&nbsp; 6.3150255 -3.0172862 0.4481679<br>H&nbsp;&nbsp; 3.9484722 1.5535164 -0.0148694<br>H&nbsp;&nbsp; 4.8581614 1.8318303 1.2313521<br>H&nbsp;&nbsp; -0.8951512 0.0338588 -0.5859376<br>H&nbsp;&nbsp; 1.6443833 -4.7879056 2.8685623<br>H&nbsp;&nbsp; 2.8399482 1.1827425 7.4958090</font></div><div><font color="#0000ff"></font>&nbsp;</div><div><font color="#0000ff" size="2">CELL_PARAMETERS {cubic}<br>20.000 0.0000 0.0000<br>0.0000 20.000 0.0000<br>0.0000 0.0000 20.000<br></font></div><div><font color="#0000ff" size="2">&nbsp;</font></div><font color="#0000ff" size="2"></font><div><font color="#0000ff" size="2"></font>&nbsp;</div><div><font color="#0000ff" size="2"><font color="#000000">Best regards,</font></font></div><div><font color="#0000ff" size="2"><font color="#000000">YHHo, IAMS in Taiwan</font></font></div><div><font color="#0000ff" size="2"><font color="#000000"></font></font>&nbsp;</div><div><font color="#0000ff" size="2"><font color="#000000"></font></font>&nbsp;</div></div></span></blockquote><br></div><div>I never used this variable, but from expresso-4.0.5/INPUT_PW.txt I read:</div><div><div>&nbsp;&nbsp; Variables: &nbsp; &nbsp; &nbsp;nelup, neldw</div><div><br></div><div>&nbsp;&nbsp; Type: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; REAL</div><div>&nbsp;&nbsp; Description: &nbsp; &nbsp;number of spin-up and spin-down electrons, respectively</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Note that this fixes the final value of the magnetization.</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The sum must yield nelec that must also be specified</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; explicitly in this case. Not valid for spin-unpolarized</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; or noncollinear calculations, only for LSDA. Obsolescent:</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; use multiplicity or tot_magnetization instead.</div><div><br></div><div>Now, according to the above statement:</div><div>i) you must specify nelec as well</div><div>ii) nelup+neldw=nelec</div><div>iii) this variables are obsolescent</div><div><br></div><div>Because nat=41, it is quite unlikely that you want to make a run in which</div><div>nelup+neldw=6+1=7 electrons!!!</div><div><br></div><div><br></div><div>Giovanni</div><div><br></div></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="Apple-interchange-newline"><br></div><div><br></div><div>--</div><div><div><br></div><div>**** PLEASE NOTICE THE NEW E-MAIL ADDRESS: <a href="mailto:giovanni.cantele@spin.cnr.it">giovanni.cantele@spin.cnr.it</a></div></div><div><br></div><div><div>Giovanni Cantele, PhD</div><div>CNR-SPIN and Dipartimento di Scienze Fisiche</div><div>Universita' di Napoli "Federico II"</div><div>Complesso Universitario M. S. Angelo - Ed. 6</div><div>Via Cintia, I-80126, Napoli, Italy</div><div>Phone: +39 081 676910 - Fax: &nbsp; +39 081 676346</div><div>Skype contact: giocan74</div><div><br></div><div>ResearcherID: <a href="http://www.researcherid.com/rid/A-1951-2009">http://www.researcherid.com/rid/A-1951-2009</a></div><div>Web page: <a href="http://people.na.infn.it/~cantele">http://people.na.infn.it/~cantele</a></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.nanomat.unina.it">http://www.nanomat.unina.it</a></div></div></span></div></span></div>
</div>
<br></body></html>