<div dir="ltr"><div><div><div><div><div><div>Dear Ari Paavo Seitsonen,<br>Thank you sir for a reply. My apologies for not providing the input file. I want to create a slab structure from the bulk structure.<br><br></div>1) I have understood that, if slab structure is in xy plane and if we add +10 angstorms to the structure will suffice the need. [ the two slabs will be separated by 10 angstorms]<br><br></div>2) Please find the attached input obtained as output form cif2qsh.<br><br><br></div>Thank you so much for a reply,<br></div><br></div>with regards,<br></div>K. Mohan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 19, 2015 at 3:45 AM, Ari P Seitsonen <span dir="ltr"><<a href="mailto:Ari.P.Seitsonen@iki.fi" target="_blank">Ari.P.Seitsonen@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Dear Mohan maruthi sena,<br>
<br>
  I do not have an opportunity to look at your .cif-file in detail just now, and you do not provide the full input file, so I can just guess with two errors that I am particularly good at doing myself:<br>
<br>
 - Are your atomic coordinates in the crystal coordinates? Does your input file have the correct option for that?<br>
<br>
 - Maybe your .cif file contains fractional occupations and thus several configurations with different atomic positions might be possible; I do not know what 'cif2qe.sh' would do in that case.<br>
<br>
  Constructing the input file starting from a pdb file would probably not be too tedious (one might lose some symmetries, however, if present as the pdb uses few digits in the atomic positions, in Angstroms if I am not wrong). I do not fully understand your question 2), do you mean that the structure that you built from the .cif file is a slab structure? Or that the .cif contains a bulk structure and you want to create a slab starting from that input? Well, you have first to determine the direction along the surface of the slab and its normal (orthogonal to the surface), and then add 10 Angstroms or more in that direction (and naturally adjust the coordinates if they are in crystal coordiates).<br>
<br>
  Hopefully this helps you at least a little bit forward.<br>
<br>
    Greetings from Rome,<br>
<br>
       apsi<br>
<br>
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=<u></u>*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=<u></u>-=*=-=*=-=*=-=*=-<br>
  Ari Paavo Seitsonen / <a href="mailto:Ari.P.Seitsonen@iki.fi" target="_blank">Ari.P.Seitsonen@iki.fi</a> / <a href="http://www.iki.fi/~apsi/" target="_blank">http://www.iki.fi/~apsi/</a><br>
  Ecole Normale Supérieure (ENS), Département de Chimie, Paris<br>
  Mobile (F) : +33 789 37 24 25    (CH) : +41 79 71 90 935<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Sun, 18 Jan 2015, Mohan maruthi sena wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi  all,<br>
            I recently started using espresso. I want to  optimize a crystal structure. By looking at the previous posts , I tried to<br>
use cif2qe.sh script to convert from .cif to .inp file.  I tried with various examples and it was working. I  could not prepare inp<br>
file for the attached cif file. I have visualized the cif file in vesta, gaussian and then saved those .cif file. It prepared input<br>
files but the atoms are too close.<br>
<br>
1) Can some please let me how to give prepare input file for espresso 5.1.1, using cif or pdb file?<br>
<br>
2) If want to create a slab structure and maintain 10 angstorms distance between the slabs? How can i do this in espresso?<br>
<br>
3) I have used the following server (<a href="http://j-ice.sourceforge.net/ondemand/index.html" target="_blank">http://j-ice.sourceforge.net/<u></u>ondemand/index.html</a>) but could not get the input file.<br>
<br>
Please find the attached  cif and espresso input files.<br>
<br>
</blockquote>
</div></div><br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br></blockquote></div><br></div>