{"id":3723,"date":"2017-03-24T15:12:11","date_gmt":"2017-03-24T15:12:11","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=3723"},"modified":"2017-03-24T15:16:39","modified_gmt":"2017-03-24T15:16:39","slug":"qe","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/qe\/","title":{"rendered":"Quantum ESPRESSO"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"\">Qunatum ESPRESSO<\/a> (QE) is an integrated suite of Open-Source computer codes for electronic-structure calculations and materials modeling at the nanoscale. It is based on density-functional theory, plane waves, and pseudopotentials.<\/p>\n<p>Version 6.1 is installed on the CSF.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no access restrictions on the CSF. The software is released under the <a href=\"http:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.txt\">GNU GPL<\/a>.<\/p>\n<p>You are requested to cite use of the software using the citation given in the <a href=\"http:\/\/www.quantum-espresso.org\/wp-content\/uploads\/Doc\/user_guide\/node6.html\">online documentation<\/a>. <\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load <em>one<\/em> of the following modulefiles:<\/p>\n<pre>\r\n# For serial and single-node MPI parallel jobs\r\nmodule load apps\/intel-15.0\/quantum-espresso\/6.1-mpi\r\n\r\n# For multi-node MPI parallel jobs\r\nmodule load apps\/intel-15.0\/quantum-espresso\/6.1-mpi-ib\r\n\r\n# For serial and single-node OpenMP parallel jobs\r\napps\/intel-15.0\/quantum-espresso\/6.1-omp\r\n<\/pre>\n<p>Note that quantum espresso MPI versions have been compiled with OpenMP. But the version of MPI on the CSF (OpenMPI) does not support multiple threads. So we automatically limit the OpenMP threads to 1 when using the MPI versions.<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run QE on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<p>There are various executables provided by QE available for use. These are named <code><em>app<\/em>.x<\/code> where <code><em>app<\/em><\/code> is the name of the tool &#8211; for example <code>bands.x<\/code> or <code>pw.x<\/code>. These should be used in your jobscript as shown below.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Make sure you have the modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd             # Job will run from the current directory\r\n#$ -V               # Job will inherit current environment settings\r\n\r\n<em>app<\/em>.x -inp <em>myinput.in<\/em> &gt; <em>myinput<\/em>.out\r\n  #\r\n  # where <em>app<\/em> is the name of your QE executable (e.g., bands.x)\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Single-node MPI Parallel batch job submission<\/h3>\n<p>For a single-node (small) MPI parallel job use the <code>smp.pe<\/code> parallel environment as shown.<\/p>\n<p>Make sure you have the correct modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd             # Job will run from the current directory\r\n#$ -V               # Job will inherit current environment settings\r\n#$ -pe smp.pe 24    # Number of cores (must be between 2 and 24)\r\n\r\n# $NSLOTS is automatically set to the number on the -pe line above\r\nmpirun -n $NSLOTS <em>app<\/em>.x -inp <em>myinput.in<\/em> &gt; <em>myinput<\/em>.out\r\n                    #\r\n                    # where <em>app<\/em> is the name of your QE executable (e.g., bands.x)\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Multi-node MPI Parallel batch job submission<\/h3>\n<p>For a multi-node (large) parallel job use the <code>orte-24-ib.pe<\/code> parallel environment as shown.<\/p>\n<p>Make sure you have the correct modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd                    # Job will run from the current directory\r\n#$ -V                      # Job will inherit current environment settings\r\n#$ -pe orte-24-ib.pe 48    # Number of cores (must be at least 48 and a multiple of 24)\r\n\r\n# $NSLOTS is automatically set to the number on the -pe line above\r\nmpirun -n $NSLOTS <em>app<\/em>.x -inp <em>myinput.in<\/em> &gt; <em>myinput<\/em>.out\r\n                    #\r\n                    # where <em>app<\/em> is the name of your QE executable (e.g., bands.x)\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Single-node OpenMP Parallel batch job submission<\/h3>\n<p>For a single-node (small) OpenMP parallel job use the <code>smp.pe<\/code> parallel environment as shown.<\/p>\n<p>Make sure you have the correct modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd             # Job will run from the current directory\r\n#$ -V               # Job will inherit current environment settings\r\n#$ -pe smp.pe 24    # Number of cores (must be between 2 and 24)\r\n\r\n# $NSLOTS is automatically set to the number on the -pe line above.\r\n# We must set OMP_NUM_THREADS to indicate how many CPU cores to use\r\nexport OMP_NUM_THREADS=$NSLOTS\r\n<em>app<\/em>.x -inp <em>myinput.in<\/em> &gt; <em>myinput<\/em>.out\r\n  #\r\n  # where <em>app<\/em> is the name of your QE executable (e.g., bands.x)\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"http:\/\/www.quantum-espresso.org\/wp-content\/uploads\/Doc\/user_guide\/user_guide.html\">Online User Guide<\/a><\/li>\n<li><a href=\"http:\/\/www.quantum-espresso.org\/\">Quantum ESPRESSO website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Qunatum ESPRESSO (QE) is an integrated suite of Open-Source computer codes for electronic-structure calculations and materials modeling at the nanoscale. It is based on density-functional theory, plane waves, and pseudopotentials. Version 6.1 is installed on the CSF. Restrictions on use There are no access restrictions on the CSF. The software is released under the GNU GPL. You are requested to cite use of the software using the citation given in the online documentation. Set.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/qe\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3723","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/3723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=3723"}],"version-history":[{"count":3,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/3723\/revisions"}],"predecessor-version":[{"id":3730,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/3723\/revisions\/3730"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/31"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/media?parent=3723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}