<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Dear all,</blockquote><div>Respected Mr. Ibrahim, <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
?? I am trying to run xspectra calculation on MgSe. Knowing that there is no gipaw pseudopotential for both contributing element on<br>
? the pwscf-pseudo page, i tried to generate one for both Mg and Se. After running scf with this pseudo, i proceed to running the<br>
? xspectra with xspectra.x but to my surprise, it keeps given this error ;<br>
<br>
? ?? from allocate_fft : error #???????? 1<br>
???? the nr"s are too small!<br>
Please, can anybody help me out with this?<br>
<br></blockquote><div><br>A helpful tool(weapon :D) for tracking down errors is to use (learnt from Prof. Gianozzi's replies on the forum)<br>$ grep -e '<the error>' */*.f90 <br><br> In this case,, <br>
$ grep -e 'are too small' */*.f90 <br><br>Results gives the relevant code file where it occurs.<br><br>$PW/allocate_fft.f90: CALL errore ('allocate_fft', 'the nr"s are too small!', 1)<br>
$PW/allocate_fft.f90: CALL errore ('allocate_fft', 'the nrs"s are too small!', 1)<br><br>A look at the file PW/allocate_fft.f90 suggests that <br>---------------------------------<br> IF (nrxx.lt.ngm) THEN<br>
WRITE( stdout, '(/,4x," nr1=",i4," nr2= ", i4, " nr3=",i4, &<br> &" nrxx = ",i8," ngm=",i8)') nr1, nr2, nr3, nrxx, ngm<br> CALL errore ('allocate_fft', 'the nr"s are too small!', 1)<br>
---------------------------------<br><br>Here<br>nrxx = nr1*nr2*nr3 (Modules/griddim.f90), the minimal 3D real-space FFT grid required to fit the G-vector sphere with G^2 <= gcut<br>ngm = local number of G vectors (Modules/recvec.f90).<br>
<br>I have not generated PPs, but I can only infer that your FFT grid density is not sufficient enough to accommodate the G-vectors.<br><br>Sincerely,<br> <br></div>--<br>Sreekar Guddeti<br>Undergraduate (5th year)<br></div>
Engineering Physics<br>IIT Bombay<br>India<br><br>