I know Thanks. I thought there was by far a simpler way already prepared! <br><br>----- Original Message -----<br>From: Axel Kohlmeyer <akohlmey@cmm.chem.upenn.edu><br>Date: Friday, April 24, 2009 4:49 pm<br>Subject: Re: [Pw_forum] how can I create a supercell in PWSCF?<br>To: PWSCF Forum <pw_forum@pwscf.org><br><br>> On Fri, 2009-04-24 at 16:41 +0200, pc229@kent.ac.uk wrote:<br>> > It doesn't. Xcrysden let me only visualize the output structure<br>> > without manipulate it. I can  create the supercell using <br>> the command<br>> > unit repetition but  I can export the final structure. <br>> Should I do it<br>> > by hand? <br>> <br>> what is so difficult about it??<br>> <br>> you can just write a little script using awk/perl/python/tcl/...<br>> to do one translation/scaling operation and then cut and paste <br>> the final (or initial) alat based coordinates from a previous<br>> run into this and piece the different translations together and<br>> make one input from it. this needs to be adjusted most of the <br>> time anyways. <br>> <br>> cheers,<br>>    axel.<br>> <br>> > Best Regards, Piero<br>> > <br>> > Nobody knows any shortcut to avoid to write it by hand?<br>> > <br>> > ----- Original Message -----<br>> > From: Stefano Baroni <baroni@sissa.it><br>> > Date: Friday, April 24, 2009 4:31 pm<br>> > Subject: Re: [Pw_forum] how can I create a supercell in PWSCF?<br>> > To: PWSCF Forum <pw_forum@pwscf.org><br>> > <br>> > > xcrysden?<br>> > > SB<br>> > > <br>> > > On Apr 24, 2009, at 3:55 PM, Pieremanuele Canepa wrote:<br>> > > <br>> > > > Dear all,<br>> > > > does exist a script or a  small program  in <br>> Quantum <br>> > > espresso that  <br>> > > > allow me to  create a suitable supercell (for <br>> instance <br>> > > 2x2x1)  <br>> > > > starting from a primitive cell of PWSCF?<br>> > > > Best regards, Piero<br>> > > ><br>> > > > -- <br>> > > > Pieremanuele Canepa<br>> > > > Room 230<br>> > > > School of Physical Sciences, Ingram Building,<br>> > > > University of Kent, Canterbury, Kent,<br>> > > > CT2 7NH<br>> > > > United Kingdom<br>> > > > -----------------------------------------------------------<br>> > > ><br>> > > > _______________________________________________<br>> > > > Pw_forum mailing list<br>> > > > Pw_forum@pwscf.org<br>> > > > http://www.democritos.it/mailman/listinfo/pw_forum<br>> > > <br>> > > ---<br>> > > Stefano Baroni - SISSA  &  DEMOCRITOS National <br>> > > Simulation Center -  <br>> > > Trieste<br>> > > http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) <br>> > > /  <br>> > > stefanobaroni (skype)<br>> > > <br>> > > La morale est une logique de l'action comme la logique est <br>> une <br>> > > morale  <br>> > > de la pensée - Jean Piaget<br>> > > <br>> > > Please, if possible, don't  send me MS Word or <br>> PowerPoint <br>> > > attachmentsWhy? See:  http://www.gnu.org/philosophy/no-<br>> word-<br>> > > attachments.html<br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > <br>> > ---<br>> > Pieremanuele Canepa<br>> > Room 230<br>> > School of Physical Sciences, Ingram Building, <br>> > University of Kent, Canterbury, Kent, <br>> > CT2 7NH<br>> > United Kingdom<br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > <br>> > _______________________________________________<br>> > Pw_forum mailing list<br>> > Pw_forum@pwscf.org<br>> > http://www.democritos.it/mailman/listinfo/pw_forum<br>> <br>> -- <br>> =======================================================================<br>> Axel Kohlmeyer   <br>> akohlmey@cmm.chem.upenn.edu   http://www.cmm.upenn.edu<br>>    Center for Molecular Modeling   --<br>>    University of Pennsylvania<br>> Department of Chemistry, 231 S.34th Street, Philadelphia, PA <br>> 19104-6323<br>> tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-<br>> tel: 1-215-898-5425<br>> =======================================================================<br>> If you make something idiot-proof, the universe creates a better <br>> idiot.<br>> _______________________________________________<br>> Pw_forum mailing list<br>> Pw_forum@pwscf.org<br>> http://www.democritos.it/mailman/listinfo/pw_forum<br>> <br><br>---<br>Pieremanuele Canepa<br>Room 230<br>School of Physical Sciences, Ingram Building, <br>University of Kent, Canterbury, Kent, <br>CT2 7NH<br>United Kingdom<br><br>