Discussion:
[Pw_forum] CIF to PWSCF
Ben Palmer
2012-10-24 15:27:51 UTC
Permalink
Hi,

I'm new to pwscf and I'm trying to find the relaxed co-ordinates for an
Iron crystal. I've been trying to set up the initial crystal from a cif
file. Is there a way to convert from cif to the pwscf format?

Thanks

Ben
Paolo Giannozzi
2012-10-25 06:31:05 UTC
Permalink
Post by Ben Palmer
Is there a way to convert from cif to the pwscf format?
an automatic way? I am not aware of any converter

P.
---
Paolo Giannozzi, Dept of Chemistry&Physics&Environment,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
Yue-Wen Fang
2012-10-25 13:02:41 UTC
Permalink
one way is to write a script to convert them!
i usually use castep in Materials Studio to convert the CIF files.

Best!


2012/10/24 Ben Palmer <benpalmer1983 at gmail.com>
Post by Ben Palmer
Hi,
I'm new to pwscf and I'm trying to find the relaxed co-ordinates for an
Iron crystal. I've been trying to set up the initial crystal from a cif
file. Is there a way to convert from cif to the pwscf format?
Thanks
Ben
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum
--
----
Yue-Wen Fang
East China Normal Univ, China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pwscf.org/pipermail/pw_forum/attachments/20121025/433f17ea/attachment.html
Carlo Nervi
2012-10-25 16:02:53 UTC
Permalink
Another way is to use Moldraw, written by a collegue of mine. It can be
downloaded for free from:

http://www.moldraw.unito.it/

Moldraw can read cif file and convert, for example, in CRYSTAL format.
Remember to "Make a cell" before to export. From this format you should
be able with a text editor and a minimum of efforts to write a Quantum
Espresso compatible input file.

HTH,
Carlo
Post by Yue-Wen Fang
one way is to write a script to convert them!
i usually use castep in Materials Studio to convert the CIF files.
Best!
2012/10/24 Ben Palmer <benpalmer1983 at gmail.com
<mailto:benpalmer1983 at gmail.com>>
Hi,
I'm new to pwscf and I'm trying to find the relaxed co-ordinates for an
Iron crystal. I've been trying to set up the initial crystal from a cif
file. Is there a way to convert from cif to the pwscf format?
Thanks
Ben
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org <mailto:Pw_forum at pwscf.org>
http://pwscf.org/mailman/listinfo/pw_forum
--
----
Yue-Wen Fang
East China Normal Univ, China
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum
--
------------------------------------------------------------
Prof. Carlo Nervi carlo.nervi at unito.it Tel:+39 0116707507/8
Fax: +39 0116707855 - Dipartimento di Chimica, via
P. Giuria 7, 10125 Torino, Italy. http://lem.ch.unito.it/
Martin
2012-10-27 10:07:21 UTC
Permalink
You can perhaps use the J-ICE online viewer. It can read .cif files and write QE input files. I don't know how much editing you need to do but it is worth a try:

http://j-ice.sourceforge.net/ondemand/index.html

Cheers,
Martin Andersson
University of Copenhagen
Post by Carlo Nervi
Another way is to use Moldraw, written by a collegue of mine. It can be
http://www.moldraw.unito.it/
Moldraw can read cif file and convert, for example, in CRYSTAL format.
Remember to "Make a cell" before to export. From this format you should
be able with a text editor and a minimum of efforts to write a Quantum
Espresso compatible input file.
HTH,
Carlo
Post by Yue-Wen Fang
one way is to write a script to convert them!
i usually use castep in Materials Studio to convert the CIF files.
Best!
2012/10/24 Ben Palmer <benpalmer1983 at gmail.com
<mailto:benpalmer1983 at gmail.com>>
Hi,
I'm new to pwscf and I'm trying to find the relaxed co-ordinates for an
Iron crystal. I've been trying to set up the initial crystal from a cif
file. Is there a way to convert from cif to the pwscf format?
Thanks
Ben
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org <mailto:Pw_forum at pwscf.org>
http://pwscf.org/mailman/listinfo/pw_forum
--
----
Yue-Wen Fang
East China Normal Univ, China
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum
--
------------------------------------------------------------
Prof. Carlo Nervi carlo.nervi at unito.it Tel:+39 0116707507/8
Fax: +39 0116707855 - Dipartimento di Chimica, via
P. Giuria 7, 10125 Torino, Italy. http://lem.ch.unito.it/
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pwscf.org/pipermail/pw_forum/attachments/20121027/f43cb7b3/attachment.html
mousumi uk
2012-10-26 07:41:00 UTC
Permalink
c
Post by Yue-Wen Fang
one way is to write a script to convert them!
i usually use castep in Materials Studio to convert the CIF files.
Best!
\fg\\\\ff\\ftR
2012/10/24 Ben Palmer <benpalmer1983 at gmail.com>
Post by Ben Palmer
Hi,
I'm new to pwscf and I'm trying to find the relaxed co-ordinates for an
Iron crystal. I've been trying to set up the initial crystal from a cif
file. Is there a way to convert from cif to the pwscf format?
Thanks
Ben
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum
--
----
Yue-Wen Fang
East China Normal Univ, China
_______________________________________________
Pw_forum mailing list
Pw_forum at pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum
Eduardo Ariel Menendez Proupin
2012-10-26 14:22:57 UTC
Permalink
Hi Ben
One problem is that the QE input files contains not only the structure, but
parameters for the quantum calculation. So, we have to edit the file, using
copy and paste when possible. The main problem is that the CIF files
contains olny the atomic coordinates that are non-equivalent by the
symmetry of tha space group of the crystal.
I use gdis (comes in Ubuntu distributions) to convert to other less
crystallographic format, like that of SIESTA. This automates the generation
of the symmetry equivalent positions that are not in the CIF. You can also
generate the coordinates using The inconvenient is that it generates the
conventional cell, rather than the primitive cell. Then I use vim or gedit
to manully set the input file.

Linux distributions are plenty of programs for chemistry and physics. I
have seen that the babel code can read the CIF format and convert to many
more.

There is also a serious intenet option using the bilbao crystallographic
server. This tool is recognized by crystallographers in the International
Tables for Crsytallgraphy, so it is a trustable tool.
http://www.cryst.ehu.es/
There, you can use the programs TRANSTRU or STRCONVERT. What you need is to
convert the structure to the group P1, or just 1, and this gives all the
information need to the QE input file. Then, use vim, gedit, or your
favorite editor.

This is not confortable at the begining, but at the end it is easy, and you
may consider it as one intiation ritual (one more, right).

For the case of iron, the stable crystal structure is so simple (BCC) that
you can write it with the only knowledge of the lattice constants, you do
not need the CIF. It is explained in the initial chapters of many (probably
all) solid state physics and materials science books. I suggest you read
that, otherwise you better quit using QE.
Best regards
Eduardo


Eduardo Menendez Proupin
Departamento de Qu?mica Fisica Aplicada
Facultad de Ciencias
Universidad Aut?noma de Madrid
28049 Madrid, Spain
Phone: +34 91 497 6706
Post by Yue-Wen Fang
2012/10/24 Ben Palmer <benpalmer1983 at gmail.com>
Post by Ben Palmer
Hi,
I'm new to pwscf and I'm trying to find the relaxed co-ordinates for an
Iron crystal. I've been trying to set up the initial crystal from a cif
file. Is there a way to convert from cif to the pwscf format?
Thanks
Be
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pwscf.org/pipermail/pw_forum/attachments/20121026/db3c5305/attachment.html
Loading...