I guess an easy yet efficient way for generating your alloy structure is to use the Monte Carlo SQS (mcsqs) module which is part of the ATAT gnu software available from:<span></span><div><a href="https://www.brown.edu/Departments/Engineering/Labs/avdw/atat/">https://www.brown.edu/Departments/Engineering/Labs/avdw/atat/</a></div><div><br></div><div>M A H Khalafalla </div><div>Taibah University</div><div>Dept of Physics</div><div><br></div><div>On Friday, October 7, 2016, Krishnaiah Kallamadi <<a href="mailto:krishnsustain@gmail.com">krishnsustain@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Sir,</div><div><br></div>Thanks a lot</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 7:05 PM, Michael Mehl <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','mmehl@usna.edu');" target="_blank">mmehl@usna.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:12px;color:#777;font-family:'Lucida Grande',Helvetica,Arial,sans-serif;background-color:#fff;padding:4px">
<a href="https://www.boxbe.com/overview" style="text-decoration:none;color:#5e96ea" target="_blank"><img alt="Boxbe" src="http://www.boxbe.com/images/logo_dark_small.png" width="64px" style="margin-left:0px;border:none"></a>

<img src="http://www.boxbe.com/stfopen?tc_serial=27078230358&tc_rand=502960097&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001">

This message is eligible for Automatic Cleanup! (<a href="javascript:_e(%7B%7D,'cvml','mmehl@usna.edu');" target="_blank">mmehl@usna.edu</a>) 
<a style="text-decoration:none;color:#5e96ea" href="https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DLVHND7MjoxgBGakvoZQT7xZ3O%252F3rDX1smiXxAj6N%252BEo%253D%26token%3DqwPCh8a31O8xLW2%252F35HfKg6%252BmSXIoOED7nnworLV2ruO57Qj7LbuGAMAMDY1cD%252BVoByPdkzPVI9TKCFZ9OKIzvVvb2c12J0dzVL4DAcgLREEXbt3%252FV4KtUlXmkzHwSlHBHYWlCBBdfg%253D&tc_serial=27078230358&tc_rand=502960097&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001" title="Add a new automatic cleanup rule" target="_blank">Add cleanup rule</a>
 | <a style="text-decoration:none;color:#5e96ea" href="http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=27078230358&tc_rand=502960097&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001" title="Get info on automatic cleanup" target="_blank">More info</a>
<br>

    </div>

<br><div dir="ltr">Since C and N are neighbors in the periodic table, you could put a "virtual" atom at the site, with charge Z = 6.5.  That would at least give you the right electron count for the system and preserve the system symmetry.  The downside is that a pseudopotential for "Cargen" or "Nitrobon" probably doesn't exist, so you'd have to generate it yourself.  I think VASP is able to handle this somehow, but I've never tried it.<div><br></div><div>Another alternative is to generate a supercell, randomly populate that site with C and N atoms, and average over configurations.  Look up various articles by Alex Zunger et al. (<a href="http://journals.aps.org/prl/abstract/10.1103/PhysRevLett.65.353" target="_blank">http://journals.aps.org/prl/a<wbr>bstract/10.1103/PhysRevLett.65<wbr>.353</a>, to start) on Special Quasirandom Structures for some hints on how to do this efficiently.  The downside of this is that you'll need a fair number of structures, and you'll lose the hexagonal symmetry in the individual calculations.</div><div><br></div><div>AFAIK, there aren't any really good solutions for this problem with the current generation of DFT codes.  At one time there was some work with the Coherent Potential Approximation and KKR (see <a href="http://journals.aps.org/prb/pdf/10.1103/PhysRevB.67.115109" target="_blank">http://journals.aps.org/p<wbr>rb/pdf/10.1103/PhysRevB.67.115<wbr>109</a>, e.g.), but I don't think any modern KKR codes are easily available, much less KKR+CPA.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 7:50 AM, Krishnaiah Kallamadi <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','krishnsustain@gmail.com');" target="_blank">krishnsustain@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">As per my knowledge,<div>espresso can't deal with above cif file. Please help me and correct if I am wrong.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 11:33 AM, Andrius Merkys <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','andrius.merkys@gmail.com');" target="_blank">andrius.merkys@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:12px;color:#777;font-family:'Lucida Grande',Helvetica,Arial,sans-serif;background-color:#fff;padding:4px">
<a href="https://www.boxbe.com/overview" style="text-decoration:none;color:#5e96ea" target="_blank"><img alt="Boxbe" src="http://www.boxbe.com/images/logo_dark_small.png" width="64px" style="margin-left:0px;border:none"></a>

<img src="http://www.boxbe.com/stfopen?tc_serial=27072627350&tc_rand=1012971690&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001">

This message is eligible for Automatic Cleanup! (<a href="javascript:_e(%7B%7D,'cvml','andrius.merkys@gmail.com');" target="_blank">andrius.merkys@gmail.com</a>) 
<a style="text-decoration:none;color:#5e96ea" href="https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DXwuYbtQTWmfZGZsFKbO6InxZfjQtGSxrL%252FwuVJ%252FUXAE%253D%26token%3DJUW0Wts7GmUB4X1qCEMY8jvGAd0zfkPK1lTr9NzQRQI0yaxZFlH1MMfBGJfWwNxAn9vrVh0QLSJUWizBuQx1RH1a7mw3Iol2zUDxjiWVehZ%252Bx2PzIhsM%252FIEhy78t1KraT3iv3nEj9prEPJ0yaqyzmA%253D%253D&tc_serial=27072627350&tc_rand=1012971690&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001" title="Add a new automatic cleanup rule" target="_blank">Add cleanup rule</a>
 | <a style="text-decoration:none;color:#5e96ea" href="http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=27072627350&tc_rand=1012971690&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001" title="Get info on automatic cleanup" target="_blank">More info</a>
<br>

    </div>

<br>
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span>
    <p>Dear Krishna,</p>
    <br>
    <div>On 07/10/16 08:30, Krishnaiah Kallamadi
      wrote:<br>
    </div>
    </span><span><blockquote type="cite">
      <div dir="ltr">In a <b>cif</b> file attached below, two different
        atoms have same atomic positions with occupancy of 0.5. Due to
        this i am not able to generate <b><a href="http://scf.in" target="_blank">scf.in</a></b> file from cif2cell
        program. Please help me. <br>
      </div>
    </blockquote>
    <br></span><span>
    you have to account for a joint 0.5N+0.5C site at this position. I
    am not sure if/how such thing is possible at QE input, but AFAIK,
    people are dealing with such models.<br>
    <br>
    HTH,<br>
    Andrius<br>
    </span><span><font color="#888888"><pre cols="72">-- 
Andrius Merkys
PhD student at Vilnius University Institute of Biotechnology, SaulÄ—tekio al. 7
LT-10223 Vilnius, Lithuania</pre>
  </font></span></div><span><font color="#888888">

<br>______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','Pw_forum@pwscf.org');" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listi<wbr>nfo/pw_forum</a><br>
<br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Thanks and Regards,<div><br></div><div>K.Krishna</div><div>JRF, AcSIR-RE</div><div>CSIR-SERC</div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','Pw_forum@pwscf.org');" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listi<wbr>nfo/pw_forum</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span><div dir="ltr" style="margin-left:0pt"><span><div dir="ltr" style="margin-left:0pt"><table style="border:none;border-collapse:collapse"><colgroup><col width="73"><col width="240"></colgroup><tbody><tr style="height:0px"><td style="border-left:solid #ffffff 1px;border-right:solid #ffffff 1px;border-bottom:solid #ffffff 1px;border-top:solid #ffffff 1px;vertical-align:top;padding:7px 7px 7px 7px"><br><img src="https://lh4.googleusercontent.com/cWahY61df5ZQz3h0L--aoIVBK4j_u5sWfktSfeRgcbi3bi_PKu-Vtt8OPXlJEEX7_J8UVfbP6EYLXroCVHzqegMVgjl4KD3yBpnJZp0zwht66TTfYleiGnAbqPTj7TEwVxNRrdA6" width="57" height="80" style="border:none" alt="USNA_Gold_Seal.png"></td><td style="border-left:solid #ffffff 1px;border-right:solid #ffffff 1px;border-bottom:solid #ffffff 1px;border-top:solid #ffffff 1px;vertical-align:top;padding:7px 7px 7px 7px"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Michael J. Mehl, Ph.D.</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Kinnear Chair in Physics</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">The United States Naval Academy</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Mail Stop 9C</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">572 Holloway Road</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Chauvenet Hall 257</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Annapolis MD 21402</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">(410)293-6685</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><a href="javascript:_e(%7B%7D,'cvml','mmehl@usna.edu');" target="_blank">mmehl@usna.edu</a></span></p></td></tr></tbody></table></div></span></div></span></div><span><br></span></div></div></div></div></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','Pw_forum@pwscf.org');" target="_blank">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listi<wbr>nfo/pw_forum</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Thanks and Regards,<div><br></div><div>K.Krishna</div><div>JRF, AcSIR-RE</div><div>CSIR-SERC</div></div></div>
</div>
</blockquote></div><br><br>-- <br>Sent from Gmail Mobile<br>