Band Diagram Tutorial for Quantum Espresso

Hello, In this tutorial we will go over how to perform a band structure calculation in Quantum Espresso and then how to plot it in python. This tutorial assumes you use the following things: Quantum Espresso 5.3+ xcrysden python3.4+ Matplotlib Numpy The python requirements will only be if you want to use the plotting tools…

Continue Reading

Another pDOS Plotter

tl;dr: This python script generates many subplots based on a directories file. Download it here: DOS.Layered.zip Hello All, If you come here often for tutorials you may have seen some brief write ups on how to use dos.x and projwfc.x to generate pDOS data (here) or my python script to automatically generate a pDOS plot…

Continue Reading

Integrated Charge Density from Cube File

Hello All, I hope you are starting to enjoy summer as much as I am. This is a quick tutorial on how to read a cube file into a numpy array in python and integrate it. This was born out of a very unique problem I am having right now involving adding electrons to a…

Continue Reading

Parallel Runscript with Parallel Jobs

Hello All, This probably should have been one of my first tutorial posts, but it is worth rehashing now. As many of you will be running on large many processor systems, tuning your runscript is hugely important for a couple reasons: Proper scaling of codes Proper use of Computational Resources Proper use of your time…

Continue Reading

Supercell Builder from QE Output

To download the new version of the QE.py code, click here: www.levilentz.com/Codes/QE.py Hello All, As I read about the new discovery of gravity waves at MIT (check it out: http://news.mit.edu/2016/ligo-first-detection-gravitational-waves-0211), I figured I could make myself feel a bit more impactful by adding into my QE module one other important feature. Recently I have been…

Continue Reading

Further Extending the QE Module

Hello All, Welcome to another post in my publishing my work in my perpetual pursuit of get better at coding in the object oriented (OO) coding paradigm and its application(s) to computational material science. Recently I have been working on iOS app development, and it is amazing how important it is to understand OO coding…

Continue Reading

Monitor Available Nodes

Hello All, Sorry this one is a bit late, classes are really picking up. As part of my roles in the Kolpak Group, I am responsible for administration of all of our computational resources at MIT. We have one large 32 node cluster, with 16 processors/node as well as several other smaller clusters. We have…

Continue Reading

SCF files the Python Way

Hello All, Week two of my personal post-a-week challenge. I have been practicing automating my workflow and I have another quick script. Using my QE module that I talked about last week, I made a quick script that will develop the SCF, NSCF, DOS, and PDOS files. These are the files needed for a density…

Continue Reading

Parse Quantum Espresso Output File

Hello All, Sorry for the large delays between updates to this blog. I have been really busy with school, and I will make it a habit to write a weekly blog post from here on it. I just added a calendar event to remind me next week. I have been using python for a while…

Continue Reading

Python Calculation of Bandgap from *.save directory

Hello All, Just a quick update that you might find interesting. I have just made this python script that will calculate the bandgap of your system from the *.save directory of a QE calculation. This is pretty straightforward and was created mainly for the new users of this wonderful world of computational material science. If…

Continue Reading