Dear Axel,<div><br></div><div>    Based on your reply, I chose two similar Pseudo Potentials namely N.pbe-van-bm.UPF and O.pbe-van-bm.UPF and have succeeded in generating a new mixed PP. But, how to confirm the pp&#39;s quality? What tests about PP I should make?</div>
<div>    Thank you very much!</div><div><br></div><div>Y. -W. Fang</div><div><div><br><div class="gmail_quote">2012/8/1 Axel Kohlmeyer <span dir="ltr">&lt;<a href="mailto:akohlmey@gmail.com" target="_blank">akohlmey@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Aug 1, 2012 at 4:21 AM, Yue-Wen Fang &lt;<a href="mailto:yuewen.fang@gmail.com">yuewen.fang@gmail.com</a>&gt; wrote:<br>

&gt; Dear all,<br>
&gt;<br>
&gt;    I want to create a new pesudo potential with virtual.x, but error occurs.<br>
&gt; It shows  different nqf are not implemented,  but i don&#39;t know to handle<br>
&gt; this problem and I am also puzzled by the words such as nqf and nqls in the<br>
&gt; file virtual.f90 which locate at ~/espresso/upftools.<br>
<br>
</div>nqf obviously refers to the number of Q-functions. please check<br>
out the derivation of ultra-soft pseudopotentials for details.<br>
<div class="im"><br>
&gt;    If it is convenient for you, pls give me some advice to curb the problem.<br>
<br>
</div>for creating useful &quot;mixed&quot; pseudopotentials with virtual.x,<br>
the two original potential files have to be (technically) as<br>
similar as possible. in many cases it unfortunately means,<br>
that you have to (re-)create the two potentials yourself<br>
based on the provided data (with a few tweaks here and<br>
there) to make certain, they are compatible.<br>
<br>
axel.<br>
<div><div class="h5"><br>
&gt;    Thank you.<br>
&gt;<br>
&gt; Regards<br>
&gt; Y.-W. Fang<br>
&gt;<br>
&gt;   The details are showed below:<br>
&gt;    console  ~/Examples/pwscf/Ding0731/test1/virtual 09:56:41 &gt;virtual.x<br>
&gt;<br>
&gt;  Generate the UPF pseudopotential for a virtual atom<br>
&gt;  combining two pseudopootentials in UPF format<br>
&gt;<br>
&gt;   Input PP file #  1 in UPF format &gt; F.pbe-n-van.UPF<br>
&gt;   IOS=            0           1           4<br>
&gt;   Reading pseudopotential file in UPF format...<br>
&gt;  ikk2         525         525         525         525         525<br>
&gt; 525<br>
&gt;            0           0           0           0           0           0<br>
&gt;            0           0           0           0<br>
&gt;   ...done<br>
&gt;<br>
&gt;   Input PP file #  2 in UPF format &gt; O.pbe-van_ak.UPF<br>
&gt;   IOS=            0           2           4<br>
&gt;   Reading pseudopotential file in UPF format...<br>
&gt;  ikk2         525         525         525         525         525<br>
&gt; 525<br>
&gt;            0           0         507         507         507         507<br>
&gt;            0           0           0           0<br>
&gt;   ...done<br>
&gt;<br>
&gt;  New Pseudo = x F.pbe-n-van.UPF + (1-x) O.pbe-van_ak.UPF<br>
&gt;  mixing parameter x [0&lt;x&lt;1] = 0.4<br>
&gt;   pseudopotentials have different mesh<br>
&gt;          799         737<br>
&gt;   0.000000000000000E+000  0.000000000000000E+000<br>
&gt;    206.066269763000        81.0552407574000<br>
&gt;   pseudopotentials have different mesh<br>
&gt;  INTERPOLATE = T<br>
&gt;  interpolate rho_atc<br>
&gt;   done<br>
&gt;   interpolate vloc0<br>
&gt;   interpolate betar<br>
&gt;   interpolate betar<br>
&gt;   interpolate betar<br>
&gt;   interpolate betar<br>
&gt;<br>
&gt;<br>
&gt; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
&gt;      from Virtual : error #         1<br>
&gt;      different nqf are not implemented (yet)<br>
&gt;  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
&gt; %%%%%%%<br>
&gt;<br>
&gt;      stopping ...<br>
&gt; Fatal error; unknown error handler<br>
&gt; May be MPI call before MPI_INIT.  Error message is MPI_COMM_RANK and code is<br>
&gt; 197<br>
&gt; Fatal error; unknown error handler<br>
&gt; May be MPI call before MPI_INIT.  Error message is MPI_ABORT and code is 197<br>
&gt; forrtl: severe (174): SIGSEGV, segmentation fault occurred<br>
&gt; Image              PC                Routine            Line        Source<br>
&gt; virtual.x          000000000053C9DD  Unknown               Unknown  Unknown<br>
&gt; virtual.x          000000000040FC51  errore_                    94<br>
&gt; error_handler.f90<br>
&gt; virtual.x          000000000040BF61  compute_virtual_          312<br>
&gt; virtual.f90<br>
&gt; virtual.x          00000000004050F4  MAIN__                    107<br>
&gt; virtual.f90<br>
&gt; virtual.x          0000000000404C6A  Unknown               Unknown  Unknown<br>
&gt; libc.so.6          0000003606A1C4BB  Unknown               Unknown  Unknown<br>
&gt; virtual.x          0000000000404BAA  Unknown               Unknown  Unkn<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Pw_forum mailing list<br>
&gt; <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
&gt; <a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Dr. Axel Kohlmeyer  <a href="mailto:akohlmey@gmail.com">akohlmey@gmail.com</a>  <a href="http://goo.gl/1wk0" target="_blank">http://goo.gl/1wk0</a><br>
International Centre for Theoretical Physics, Trieste. Italy.<br>
_______________________________________________<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" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
</font></span></blockquote></div><br></div></div>