<html><head><base href="x-msg://342/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear YHHo,<div><br></div><div>nelup and neldw are&nbsp;number of spin-up and spin-down electrons, respectively.&nbsp;The sum must yield nelec that must also be specified&nbsp;explicitly in this case.</div><div><br></div><div>I also have a look at your molecule with XCrysden, are you sure it is a molecule?</div><div><br></div><div>The new release, v.4.3, of the Quantum ESPRESSO
  distribution is available for download. I suggest you to use the newest version.</div><div><br></div><div>Next time please specify your question explicitly in the subject of the mail.</div><div><br></div><div>Best wishes,</div><div>Changru</div><div><br><div><div>On 4 May, 2011, at 09:33, yhho wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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><font color="#0000ff" size="2"><font color="#000000"></font>&nbsp;</font></div><font color="#0000ff" size="2"></font>_______________________________________________<br>Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br><a href="http://www.democritos.it/mailman/listinfo/pw_forum">http://www.democritos.it/mailman/listinfo/pw_forum</a><br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: STHeiti; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; 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; ">---<br>Changru Ma<br>SISSA &amp; Theory@Elettra group<br>email:&nbsp;<a href="mailto:crma@sissa.it">crma@sissa.it</a><br>tel: +39 040 375 8713 (Elettra)<br>&nbsp;&nbsp; &nbsp; &nbsp;+39 040 378 7870 (SISSA)<br><a href="http://www.sissa.it/~crma">http://www.sissa.it/~crma</a><br>---</span>
</div>
<br></div></body></html>