From Documentation
Jump to: navigation, search
Line 1: Line 1:

Latest revision as of 10:07, 6 June 2019

This page is scheduled for deletion because it is either redundant with information available on the CC wiki, or the software is no longer supported.
Note: This page hasn't been updated for a long time, and is most likely outdated.
If you need it to be updated, please submit a ticket to with the link to the page.

Description: Plane-Wave Self-Consistent Field
SHARCNET Package information: see ESPRESSO(PWSCF) software page in web portal
Full list of SHARCNET supported software


Espresso, formerly named PWscf (Plane-Wave Self-Consistent Field), is a set of programs for electronic structure calculations within Density-Functional Theory and Density-Functional Perturbation Theory, using a Plane-Wave basis set and pseudopotentials. Espresso is released under the GNU General Public License

Version Selection

To use Espresso-5.1.1 on Centos6 clusters, do

module load espresso/5.1.1

add the above module load line to your .bash_profile file, logout and login again to effect the settings.

Job Submission

  • You have to change the BIN_DIR and PSEUDO_DIR in the run script and the input files accordingly (change the version number for different version), for 5.1.1, they are
in the run_pwscf script, you need to have

in the input .in files, you have to use this
pseudo_dir = '/opt/sharcnet/espresso/5.1.1/pseudo/',
  • make a /tmp subdirectory under your /scratch
cd /scratch/$USER
mkdir tmp
  • Run PWSCF on Centos clusters (saw, orca)

A sample script is posted as run_pwscf, prepare the input .in files. See examples in


Copy run_pwscf and the three .in files to your own directory, change 'jemmyhu' to your own Sharcnet userid in the .in files, then submit the test job to the mpi queue (here I use 4 cpus, 2GB memory per cpu, 3 days runtime as an example).

sqsub -q mpi -n 4 -r 3.0d --mpp=2g -o run_pwscf.log ./run_pwscf

Follow the example run_pwscf and the .in files to make your own runscript and input files.

Example Job

Examples of input files included in /home/jemmyhu/tests/test_Espresso/orca/5.1.1 are


output files from the run are: