0% found this document useful (0 votes)
548 views12 pages

Installing Quantum Espresso On Windows - TUTORIAL

Uploaded by

ndsram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
548 views12 pages

Installing Quantum Espresso On Windows - TUTORIAL

Uploaded by

ndsram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

(https://www.bragito .

com)
ARCHIVES (HTTPS://BRAGITOFF.COM/)

COMPU GEEK (HTTPS://WWW.BRAGITOFF.COM/CATEGORY/COMPU-GEEK/)

PHYSICS (HTTPS://WWW.BRAGITOFF.COM/CATEGORY/PHYSICS/)

MY BLOG (HTTPS://WWW.BRAGITOFF.COM/CATEGORY/MANAS-BLOG-2/)

WORD-A-GEEK (HTTPS://WWW.BRAGITOFF.COM/CATEGORY/WORD-A-GEEK/)

DU EXCLUSIVE (HTTPS://WWW.BRAGITOFF.COM/CATEGORY/DELHI-UNIVERSITY/)

DFT (HTTPS://WWW.BRAGITOFF.COM/CATEGORY/PHYSICS/DFT/)

CRYSX (HTTPS://WWW.BRAGITOFF.COM/CRYSX/)

(https://www.facebook.com/ducktape07)
(https://twitter.com/manassharma07)
(https://plus.google.com/u/0/+ManasSharma07)
(https://www.youtube.com/user/manassharma100)
(https://www.instagram.com/ducktape07/)
(https://www.youtube.com/channel/UCO0mdq1TnLctbwUGj_TnR7Q)
Search …

Installing Quantum Espresso on


Windows – TUTORIAL
SEP 17, 2017 Manas Sharma (https://www.bragito .com/author/admin/)
(https://www.bragito .com/wp-content/uploads/2017/06/QUANTUM-ESPRESSO.png)
Quantum Espresso (http://www.quantum-espresso.org/) is an integrated suite of Open-Source
computer codes for electronic-structure calculations and materials modelling at the nanoscale.
It is based on density-functional theory, plane waves, and pseudopotentials.

I have already shown you how to download, install and run Quantum Espresso on Linux here
(https://www.bragito .com/2017/06/downloading-installing-introduction-quantum-espresso/).

In this post I will do the same for Windows.

DOWNLOAD:
In my limited knowledge I noticed that the latest version of Quantum Espresso, that is version
6.1, isn’t available for windows. As one can check here: http://qe-forge.org/gf/project/q-e/frs/?
action=FrsReleaseBrowse&frs_package_id=18 (http://qe-forge.org/gf/project/q-e/frs/?
action=FrsReleaseBrowse&frs_package_id=18)

The latest version available for Windows is 5.3.


You can download it from here (http://qe-forge.org/gf/project/q-e/frs/?
action=FrsReleaseBrowse&frs_package_id=18).
The binaries available for both 32 and 64-bit versions. You can download them according to
your pc con gurations.
It should also be noted that QE on windows uses mpich for parallel processing.

INSTALLATION:
Once downloaded, the installation procedure is really simple. Just double click on the
installer(setup) and follow the instructions.

DEMO:
If you successfully installed QE then, you can run a simple demo now to see if the things work
as they should.
Let’s perform an SCF calculation for Silicon for demo purpose.

To perform such a calculation, you need an input le for Quantum Espresso. You can
download the sample input le from this link(si.scf (https://www.bragito .com/wp-
content/uploads/2017/09/si.scf_.zip)). Once you have the le, save it in a folder of your choice.
For the sake of this tutorial, let’s say you save it in a folder called ‘QE’ inside the Quantum
Espresso installation directory.
Now, create a folder called ‘temp’ inside the directory that contains the input le(in our
example the folder is ‘QE’).
Now let me tell you a little about the input le that we have here. In this le, we are basically
trying to nd out some of the properties for a Si atom, like the total energy, etc.
The input le is a really important le and you will need to learn quite a few things to be able
to build one yourself.
There are a lot of things that need explaining there, but I guess I will leave that for another
post, and in this tutorial we will, just focus on running our rst pw scf calculation. For the sake
of the tutorial you can download the input le that I will be using from
here(Si_Quantum_Espresso_input (https://www.bragito .com/wp-
content/uploads/2017/09/Si_Quantum_Espresso_input.zip)) or you can just copy the following
and save it in a le called si.scf.in .

&CONTROL
calculation = "scf"
max_seconds = 8.64000e+04
pseudo_dir = "F:/QE/"
outdir="temp"
/

&SYSTEM
a = 5.46873e+00
degauss = 1.00000e-02
ecutrho = 1.00000e+02
ecutwfc = 2.50000e+01
ibrav = 1
nat = 8
ntyp = 1
occupations = "smearing"
smearing = "gaussian"
/

&ELECTRONS
conv_thr = 1.00000e-06
electron_maxstep = 200
mixing_beta = 7.00000e-01
startingpot = "atomic"
startingwfc = "atomic+random"
/

K_POINTS {automatic}
2 2 2 0 0 0

ATOMIC_SPECIES
Si 28.08550 Si.pbe-rrkj.UPF

ATOMIC_POSITIONS {angstrom}
Si 0.000000 0.000000 0.000000
Si 4.101546 4.101546 1.367182
Si 0.000000 2.734364 2.734364
Si 4.101546 1.367182 4.101546
Si 2.734364 0.000000 2.734364
Si 1.367182 4.101546 4.101546
Si 2.734364 2.734364 0.000000
Si 1.367182 1.367182 1.367182

Make sure you copy and paste the above code in a le called si.scf.in .
Now, you can run an scf calculation by using the following command in the command prompt:

pw <si.scf.in> si.scf.out

However, if you run the above command simply as it is, then it won’t work.
There are a few things you should keep in mind before running the above command.
You need to get the pseudopotential for your atom.
If you open the input le using a text editor, you will notice the eld:  pseudo_dir = ‘ ' inside
the &control section.
Inside the single quotes you need to specify the directory of your pseudopotential. But before
that you rst need to download one from here. Once you go to the link you can click on any
atom to get a list of it’s available pseudopotentials. For this tutorial, we need a particular
potential for Si. So click on Si(14) in the periodic table shown. Now you will see a list of a variety
of potentials. Just search for this one : ‘Si.pbe-rrkj.UPF’ and download it.
Make sure you change the address to specify the folder containing the Pseudopotential.
Now, you should open Command Prompt, and change the directory to the one containing the
above si.scf.in le.
Now, the command will work,

pw <si.scf.in> si.scf.out

Once the execution is complete, you will see a le called si.scf.out created in the same
folder/directory.
You can open it using any text editor and read the values of total energy at each iteration and
the Fermi Energy.

PROJECT FILES:
Zip File: Si_Quantum_Espresso_input (https://www.bragito .com/wp-
content/uploads/2017/09/Si_Quantum_Espresso_input.zip)

RESOURCES & REFERENCES:


Readers might nd the following manual helpful:
http://qe-forge.org/gf/download/frsrelease/204/922/QE-on-Windows.pdf (http://qe-
forge.org/gf/download/frsrelease/204/922/QE-on-Windows.pdf)

More QE examples:
http://qe-forge.org/gf/download/frsrelease/240/1072/qe-6.1-examples.tar.gz (http://qe-
forge.org/gf/download/frsrelease/240/1072/qe-6.1-examples.tar.gz)

Manas Sharma
(https://www.bragito .com/author/admin/)
PhD researcher at Friedrich-Schiller University Jena, Germany. I'm a
physicist specializing in theoretical, computational and experimental
condensed matter physics. I like to develop Physics related apps and
softwares from time to time. Can code in most of the popular
languages. Like to share my knowledge in Physics and applications using this Blog and a
YouTube channel.

(https://www.facebook.com/ducktape07)

(https://www.plus.google.com/u/0/+ManasSharma07)

(https://www.twitter.com/manassharma07)

(https://www.youtube.com/manassharma100)

Share this:

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=facebook&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=twitter&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?share=google-
plus-1&nb=1)

 (https://api.whatsapp.com/send?text=Installing%20Quantum%20Espresso%20on%20Windows%20-
%20TUTORIAL%20https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fwww.bragito .com%2F2017%2F09%2Finstalling-quantum-espresso-
windows-tutorial%2F)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=pinterest&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=reddit&nb=1)
2 thoughts on “Installing Quantum Espresso on Windows –
TUTORIAL”
Peter Schmidt (https://www.bragito .com/2017/09/installing-quantum- October 20, 2017
espresso-windows-tutorial/#comment-1392)
This page is very helpful for WINDOWS users who have problems to change LINUX input
les (&CONTROL) into the corresponding WINDOWS commands.

Reply

Mo (http://www.yallascience.com) November 18, 2018


(https://www.bragito .com/2017/09/installing-quantum-espresso-windows-
tutorial/#comment-2196)
hi Manas Sharma,
thanks, but could you check the download links, Is not working now. you have to change it.

Reply

Leave a Reply
Your email address will not be published. Required elds are marked *

Comment

Name *

Email *

Website

Notify me of follow-up comments by email.

Notify me of new posts by email.

Post Comment

FOLLOW US ON FB (HTTPS://WWW.FACEBOOK.COM/BRAGITOFF)
(https://
www.br
agito .c
om/201
9/08/ma
trix-
operatio
ns-in-
python-
using-
scipy/)

Non-linear Curve Fitting using Python (https://www.bragito .com/2019/08/non-linear-


curve- tting-using-python/)
Aug 19, 2019
(https://
www.br
agito .c
om/201
9/08/no
n-linear-
curve-
tting-
using-
python/)

Nanocluster Global Optimization using CALYPSO and Quantum ESPRESSO


(https://www.bragito .com/2019/03/nanocluster-global-optimization-using-calypso-and-
quantum-espresso/)
(https:// Mar 31, 2019
www.br
agito .c
om/201
9/03/na
nocluste
r-global-
optimiz
ation-
using-
calypso-
and-
quantu
m-
espress
o/)

Geometry Optimization Algorithms and implementations using Quantum ESPRESSO


(https://www.bragito .com/2018/11/geometry-optimization-algorithms-and-
implementations-using-quantum-espresso/)
(https:// Nov 2, 2018
www.br
agito .c
om/201
8/11/ge
ometry-
optimiz
ation-
algorith
ms-and-
implem
entation
s-using-
quantu
m-
espress
o/)

SUBSCRIBE ON YOUTUBE

(https://www.youtube.com/channel/UCO0mdq1TnLctbwUGj_TnR7Q)

GET THE OFFICIAL BRAGITOFF APP

(https://play.google.com/store/apps/details?
id=com.bragito .bragito beta&utm_source=global_co&utm_medium=prtnr&utm_content=
Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-
PartBadge-Mar2515-1)
CURRENTLY READING

The Physics Book: From the Big Bang to Quantum Resurrection, 250 Milestones in
the History of Physics (https://www.goodreads.com/review/show/1879038412?
utm_medium=api&utm_source=custom_widget) (https
by Cli ord A. Pickover (https://www.goodreads.com/author/show/381.Cli ord_A_Pickover)

Strange Beauty: Murray Gell-Mann and the Revolution in Twentieth-Century


Physics (https://www.goodreads.com/review/show/1837071180?
utm_medium=api&utm_source=custom_widget)
by George Johnson (https://www.goodreads.com/author/show/4158220.George_Johnson)

The Loom Of God (https://www.goodreads.com/review/show/1837069713?


utm_medium=api&utm_source=custom_widget)
by Cli ord A. Pickover (https://www.goodreads.com/author/show/381.Cli ord_A_Pickover)

In nity And The Mind (https://www.goodreads.com/review/show/1837069170?


utm_medium=api&utm_source=custom_widget)
by Rudy Rucker (https://www.goodreads.com/author/show/130704.Rudy_Rucker)

(https://www.goodreads.com/)

ASK A QUESTION ON OUR FORUM

(http://physwhiz.bragito .com)

About (https://www.bragito .com/about/) Policies (https://www.bragito .com/policies/)

Apps (http://apps.bragito .com)

ALEXA RANK-HELP US : WRITE A REVIEW ABOUT US


(https://www.alexa.com/siteinfo/bragito .com)

SOCIAL
 (https://www.facebook.com/ducktape07/)  (https://twitter.com/manassharma07/)
 (https://www.instagram.com/ducktape07/)
 (https://www.linkedin.com/in/manassharma24059a12a/)
 (https://www.youtube.com/user/manassharma100/)
 (https://plus.google.com/u/0/+manassharma07/)
 (https://profiles.wordpress.org/manassharma07/)

SUBSCRIBE ON YOUTUBE

(https://www.youtube.com/channel/UCO0mdq1TnLctbwUGj_TnR7Q)

GET THE OFFICIAL BRAGITOFF APP

(https://play.google.com/store/apps/details?
id=com.bragito .bragito beta&utm_source=global_co&utm_medium=prtnr&utm_content=Mar
2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-
Mar2515-1)

Powered by Nevler (https://rohitink.com/2016/11/26/nevler-mini-magazine-responsive-theme/). © 2020


BragitO .com. All Rights Reserved.
 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=linkedin&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=skype&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=email&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/#print)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=tumblr&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=pocket&nb=1)

 (https://www.bragito .com/2017/09/installing-quantum-espresso-windows-tutorial/?
share=telegram&nb=1)

Like this:

Like
One blogger likes this.

Related

(https://www.bragito .com/2 (https://www.bragito .com/2 (https://www.bragito .com/2


017/06/downloading- 017/06/burai-1-2-gui- 018/02/calculate-band-gap-
installing-introduction- quantum-espresso-tutorial/) scf-calculation-quantum-
quantum-espresso/) BURAI 1.2 - a GUI for espresso/)
Downloading, Installing and Quantum Espresso - How to calculate the band
an Introduction to [TUTORIAL] gap from SCF calculation?
QUANTUM ESPRESSO (https://www.bragito .com/2 [QUANTUM ESPRESSO]
(https://www.bragito .com/2 017/06/burai-1-2-gui- (https://www.bragito .com/2
017/06/downloading- quantum-espresso-tutorial/) 018/02/calculate-band-gap-
installing-introduction- June 15, 2017 scf-calculation-quantum-
quantum-espresso/) In "Quantum Espresso" espresso/)
June 14, 2017 February 10, 2018
In "Compu geek" In "Quantum Espresso"

[wpedon id="7041" align="center"]

Posted in Quantum Espresso (https://www.bragito .com/category/compu-geek/quantum-espresso/)


Bragitoff
467 likes

Like Page Learn More

Be the first of your friends to like this

LATEST ARTICLES

Performing SYMBOLIC/ANALYTICAL Integration or Di erentiation using PYTHON


[TUTORIAL] (https://www.bragito .com/2019/08/performing-symbolic-analytical-
integration-or-di erentiation-using-python-tutorial/)
(https:// Aug 20, 2019
www.br
agito .c
om/201
9/08/pe
rformin
g-
symboli
c-
analytic
al-
integrati
on-or-
di eren
tiation-
using-
python-
tutorial/
)

Solving a System of Linear Equations using Python


(https://www.bragito .com/2019/08/solving-a-system-of-linear-equations-using-python/)
Aug 19, 2019
(https://
www.br
agito .c
om/201
9/08/sol
ving-a-
system-
of-
linear-
equatio
ns-
using-
python/)

Matrix Operations in Python using SciPy (https://www.bragito .com/2019/08/matrix-operations-in-


python-using-scipy/)
Aug 19, 2019

You might also like