{"id":5296,"date":"2021-03-29T16:37:40","date_gmt":"2021-03-29T15:37:40","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=5296"},"modified":"2024-01-22T17:34:46","modified_gmt":"2024-01-22T17:34:46","slug":"quantum-espresso","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/quantum-espresso\/","title":{"rendered":"Quantum Espresso"},"content":{"rendered":"<div class=\"hint\">\n<em>If you are a windows user &#8211; please ensure you create your jobscript ON THE CSF directly using <a href=\"\/csf3\/software\/tools\/gedit\/\">gedit<\/a>. This will prevent your job going into error (Eqw). Text files created on windows have hidden characters that linux cannot read. For further information please see the <a href=\"\/csf3\/getting-started\/using-from-windows\/\">guide to using the system from windows<\/a>, in particular the section about <a href=\"\/csf3\/getting-started\/using-from-windows\/#textfiles\">text &amp; batch submission script files<\/a><\/em>.\n<\/div>\n<h2>Overview<\/h2>\n<p>Quantum Espresso is a suite of applications for performing electronic structure calculations using Density Functional Theory (DFT). At its core are two principal applications, PWscf and CP, for performing plane wave self-consistent field calculations and Carr-Parrinello molecular dynamics respectively. There are also applications for studying properties such as phonons and excitation spectra, as well as chemical reaction pathways.<\/p>\n<h2>Set up procedure<\/h2>\n<pre>\r\nmodule load apps\/intel-17.0\/quantum-espresso\/6.4\r\nmodule load apps\/intel-18.0\/quantum-espresso\/6.7\r\n<\/pre>\n<h2>Running the application<\/h2>\n<h3>Serial batch job submission<\/h3>\n<p>The following batch script will launch a serial job and run the PWscf application, <code>pw.x<\/code>:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd               # App will run from current directory\r\n\r\nmodule load apps\/intel-18.0\/quantum-espresso\/6.7\r\n\r\npw.x myqejob.in > myqejob.out\r\n<\/pre>\n<p>Submit the job to the queue by running <code>qsub jobscript.sh<\/code>, where <code>jobscript.sh<\/code> is the name of your batch script.<\/p>\n<h3>Single node parallel batch job submission (2-32 cores)<\/h3>\n<p>The following batch script will request 8 cores and again run <code>pw.x<\/code>. To use multiple processes we need to launch the application with <code>mpirun<\/code>:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd               # App will run from current directory\r\n#$ -pe smp.pe 8       # Request 8 cores\r\n\r\nmodule load apps\/intel-18.0\/quantum-espresso\/6.7\r\n\r\nmpirun pw.x myqejob.in > myqejob.out # No need to specify <code>-np<\/code>, mpirun will detect this\r\n<\/pre>\n<p>Again submit the job to the queue by running <code>qsub jobscript.sh<\/code>, where <code>jobscript.sh<\/code> is the name of your batch script.<\/p>\n<h3>Multi-node parallel batch job submission (multiples of 24 cores, minimum 48)<\/h3>\n<p>Large DFT jobs can be very demanding, requiring the aggregate CPU resources and RAM of multiple nodes. The application is launched in exactly the same manner as before, but this time we request the <code>mpi-24-ib.pe<\/code> parallel environment:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd                # App will run from current directory\r\n#$ -pe mpi-24-ib.pe 48 # Request 48 cores (2 nodes)\r\n\r\nmodule load apps\/intel-18.0\/quantum-espresso\/6.7\r\n\r\nmpirun pw.x myqejob.in > myqejob.out # No need to specify <code>-np<\/code>, mpirun will detect this\r\n<\/pre>\n<p>Once again submit the job to the queue by running <code>qsub jobscript.sh<\/code>, where <code>jobscript.sh<\/code> is the name of your batch script.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.quantum-espresso.org\/resources\/users-manual\">Quantum Espresso website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are a windows user &#8211; please ensure you create your jobscript ON THE CSF directly using gedit. This will prevent your job going into error (Eqw). Text files created on windows have hidden characters that linux cannot read. For further information please see the guide to using the system from windows, in particular the section about text &amp; batch submission script files. Overview Quantum Espresso is a suite of applications for performing electronic.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/quantum-espresso\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5296","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/5296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=5296"}],"version-history":[{"count":11,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/5296\/revisions"}],"predecessor-version":[{"id":7380,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/5296\/revisions\/7380"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=5296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}