{"id":2418,"date":"2019-02-21T14:04:41","date_gmt":"2019-02-21T14:04:41","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=2418"},"modified":"2025-09-10T09:46:51","modified_gmt":"2025-09-10T08:46:51","slug":"vasp","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/vasp\/","title":{"rendered":"VASP"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>The <a href=\"https:\/\/www.vasp.at\/\">Vienna Ab initio Simulation Package (VASP)<\/a> is a computer program for atomic scale materials modelling, e.g. electronic structure calculations and quantum-mechanical molecular dynamics, from first principles.<\/p>\n<p>Available Versions<\/p>\n<ul>\n<li>6.3.0 &#8211; compiled with the INtel 19.1 compiler &#8211; Apr 2022<\/li>\n<li>6.1.2 &#8211; compiled with the Intel 19.1 compiler &#8211; Oct 2021 &#8211; <a href=\"\/csf3\/software\/applications\/vasp\/#Updates\">to fix a problem with MKL<\/a>.<\/li>\n<li>6.1.2 &#8211; compiled with the Intel 18 compiler<\/li>\n<li>5.4.4 &#8211; compiled with the Intel 19.1 compiler &#8211; Oct 2021 &#8211; <a href=\"\/csf3\/software\/applications\/vasp\/#Updates\">to fix a problem with MKL<\/a>.<\/li>\n<li>5.4.4 &#8211; compiled with the Intel 17 compiler<\/li>\n<\/ul>\n<p>Some common modifications\/plugins are available in some of the above. Please see the &#8216;Running the Application&#8217; section for more details. <strong>Note:<\/strong> All users are responsible for checking their results, VASP do not necessarily endorse or recommend the modifications that have been included.<\/p>\n<h2>Restrictions on use<\/h2>\n<ul class=\"gaplist\">\n<li>Only users from a Research Group that have purchased a license for VASP may use the software. You may only use the versions for which you have a license.<\/li>\n<li>The software cannot be accessed unless you are added to the correct unix group.<\/li>\n<li>All access must be authorised by the license holder. Please ask the license holder (usually you PI \/ supervisor) to send a screenshot of the VASP online portal showing who is registered on their license.<\/li>\n<li>All users must be registered against the correct license with the VASP code developers in Vienna. Maximum 6 users per license.<\/li>\n<li>Use of VASP is &#8220;exclusively for non-profit research&#8221;. It is not to be &#8220;used in contractual research in co-operation with or for industry or for military insitutions.&#8221;<\/li>\n<li>Visitors and collaborators from other organisations are not permitted to access the software.<\/li>\n<\/ul>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job <abbr title=\"add '#$ -V' to your jobscript\">inherit these settings<\/abbr>.<\/p>\n<p>Load ONE of the following modulefiles:<\/p>\n<pre>module load apps\/intel-19.1\/vasp\/5.4.4\r\n        # Parallel only\r\n        # includes a modification to constr_cell_relax.F\r\n        # Watson Group occupation matrix control added Dec 2021\r\nmodule load apps\/intel-17.0\/vasp\/5.4.4\r\n        # Some serial\r\n        # includes VASPSOL, VTST, Wannier90\r\n        # Does not work on HPC Pool as of May 2025 Slurm upgrade, use the intel-19.1 above.\r\n\r\nmodule load apps\/intel-19.1\/vasp\/6.3.0\r\n        # Parallel only\r\nmodule load apps\/intel-19.1\/vasp\/6.1.2\r\n        # Parallel only\r\nmodule load apps\/intel-18.0\/vasp\/6.1.2\r\n        # Parallel only\r\n        # includes VTST\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run VASP on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>VASP components<\/h3>\n<p>All installs contain:<\/p>\n<p>std &#8211; multi k-point<br \/>\ngam &#8211; gamma point only<br \/>\nncl &#8211; non-co-linear magnetism<\/p>\n<p>and these are reflected in the naming of the executables (see below).<\/p>\n<h3>VASP 5.4.4 (Intel 17), inc VASPSOL &amp; VTST &amp; Wannier90<\/h3>\n<p>This version has serial and parallel components accessed via the following executable names:<\/p>\n<pre>vasp_std_serial\r\nvasp_std_par\r\n\r\nvasp_gam_serial\r\nvasp_gam_par\r\n\r\nvasp_ncl_serial\r\nvasp_ncl_par\r\n<\/pre>\n<p><a href=\"http:\/\/vaspsol.mse.ufl.edu\/\">VASPsol<\/a> is also available (parallel only) for which the executable names are:<\/p>\n<pre>vasp_std_par_vaspsol\r\nvasp_gam_par_vaspsol\r\nvasp_ncl_par_vaspsol\r\n<\/pre>\n<p><a href=\"https:\/\/theory.cm.utexas.edu\/vtsttools\/installation.html\">VTST Tools<\/a> exceutables (Installed 7th July 2020, vtstcode-179):<\/p>\n<pre>vasp_std_serial_vtst\r\nvasp_gam_serial_vtst\r\nvasp_ncl_serial_vtst\r\n\r\nvasp_std_par_vtst\r\nvasp_gam_par_vtst\r\nvasp_ncl_par_vtst\r\n<\/pre>\n<p><a href=\"https:\/\/rehnd.github.io\/tutorials\/vasp\/vasp-wannier90\">Wannier90<\/a> exectuables (Parallel only, installed 10th June 2021)<\/p>\n<pre>vasp_std_par_w90\r\nvasp_gam_par_w90\r\nvasp_ncl_par_w90\r\n<\/pre>\n<h3>VASP 5.4.4 (Intel 19.1), inc. modified constr_cell_relax.F and Watson Group occupation matrix control<\/h3>\n<p>Only parallel versions are available with the following executable names:<\/p>\n<pre>vasp_std_par\r\nvasp_gam_par\r\nvasp_ncl_par\r\n<\/pre>\n<p>At the request of a researcher the <code>constr_cell_relax.F<\/code> file was modified to enable relaxing of only the a and b axes of a supercell while keeping the c-axis fixed in length. Executable names (parallel only):<\/p>\n<pre>vasp_std_par_ccrmod\r\nvasp_gam_par_ccrmod\r\nvasp_ncl_par_ccrmod\r\n<\/pre>\n<p><a href=\"https:\/\/www.vasp.at\/forum\/viewtopic.php?f=4&amp;t=8377\">Related VASP community discussion.<\/a><\/p>\n<p>Dec 2021 &#8211; the <a href=\"https:\/\/github.com\/WatsonGroupTCD\/Occupation-matrix-control-in-VASP\">Watson Group occupation matrix control<\/a> was added. Executable names (parallel only):<\/p>\n<pre>vasp_std_par_omc\r\nvasp_gam_par_omc\r\nvasp_ncl_par_omc\r\n<\/pre>\n<h3>VASP 6.1.2 (with VTST)<\/h3>\n<p>Only parallel versions are available with the following executable names:<\/p>\n<pre>vasp_std_par\r\nvasp_gam_par\r\nvasp_ncl_par\r\n<\/pre>\n<p><a href=\"https:\/\/theory.cm.utexas.edu\/vtsttools\/installation.html&quot;\">VTST Tools<\/a> exceutables (Installed 8th March 2021, vtstcode-180):<\/p>\n<pre>vasp_std_par_vtst\r\nvasp_gam_par_vtst\r\nvasp_ncl_par_vtst\r\n<\/pre>\n<p>You will need to consult the <a href=\"https:\/\/cms.mpi.univie.ac.at\/vasp\/vasp\/vasp.html\">VASP manual<\/a> and decide which of the above is most appropriate to your work and if necessary change the executable name used in the examples below in your job script.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Create a directory for your job (one per job required) containing the relevant input files relevant (e.g. INCAR, KPOINTS, POSCAR, POTCAR).<\/p>\n<p>Create a batch submission script (which will load the modulefile in the jobscript), for example:<\/p>\n<pre class=\"slurm\">#!\/bin\/bash --login\r\n\r\n#SBATCH -p serial   # (or --partition=) Use the nodes dedicated to 1-core jobs\r\n#SBATCH -t 4-0      # Wallclock time limit (4-0 is 4 days, max permitted is 7-0)\r\n\r\nmodule purge\r\nmodule load apps\/intel-17.0\/vasp\/5.4.4\r\n\r\nvasp_std_serial\r\n<\/pre>\n<p>Submit the jobscript using:<\/p>\n<pre class=\"slurm\">sbatch <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your job script.<\/p>\n<h3>Parallel batch job submission &#8211; 2 to 168 cores &#8211; single compute node<\/h3>\n<p>Create a directory for your job (one per job required) containing the relevant input files relevant (e.g. INCAR, KPOINTS, POSCAR, POTCAR).<\/p>\n<p>Create a batch submission script, for example:<\/p>\n<pre class=\"slurm\">\r\n#!\/bin\/bash --login\r\n#SBATCH -p multicore  # (or --partition=) Submit to the AMD Genoa nodes\r\n#SBATCH -n 4          # (or --ntasks=) Number of cores\r\n#SBATCH -t 4-0        # Wallclock time limit (4-0 is 4 days, max permitted is 7-0)\r\n\r\nmodule purge\r\nmodule load apps\/intel-17.0\/vasp\/5.4.4\r\n\r\nmpirun -n $SLURM_NTASKS vasp_std_par\r\n                        #\r\n                        # Use the correct executable for your calculations\r\n                        # (see above). For example, if doing non-colinear \r\n                        # calculations, use the vasp_ncl_par executable.\r\n<\/pre>\n<p>where <code>$SLURM_NTASKS<\/code> automatically picks up the number of cores requested on the <code>#SBATCH -n<\/code>line<\/p>\n<pre class=\"slurm\">sbatch <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your job script.<\/p>\n<h2>Pseudopotentials<\/h2>\n<p>The path to these is as follows:<\/p>\n<pre>$VASP_HOME\/pseudopotentials\r\n<\/pre>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.vasp.at\/\">VASP website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>6.1.2 &amp; 5.4.4 were both recompiled with the Intel Compiler 19.1 in Oct 2021 due to some users reporting the following error:<\/p>\n<pre>Intel MKL ERROR: Parameter 4 was incorrect on entry to DSTEIN2<\/pre>\n<p>with some simulations\/batch jobs. The MKL version in the Intel 17 compiler used for the original install had a <a href=\"https:\/\/community.intel.com\/t5\/Intel-oneAPI-Math-Kernel-Library\/Intel-MKL-ERROR-Parameter-4-was-incorrect-on-entry-to-DSTEIN2\/m-p\/1143852\">known fault in certain situations<\/a>, which was fixed by using a newer compiler. We have not recompiled all the plugins (e.g vaspsol, w90) as were are not aware of the issue affecting any of those jobs.<\/p>\n<p>5.4.4 with modified constr_cell_relax.F installed Oct 2021.<\/p>\n<p>6.1.2 Added Nov 2020<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The Vienna Ab initio Simulation Package (VASP) is a computer program for atomic scale materials modelling, e.g. electronic structure calculations and quantum-mechanical molecular dynamics, from first principles. Available Versions 6.3.0 &#8211; compiled with the INtel 19.1 compiler &#8211; Apr 2022 6.1.2 &#8211; compiled with the Intel 19.1 compiler &#8211; Oct 2021 &#8211; to fix a problem with MKL. 6.1.2 &#8211; compiled with the Intel 18 compiler 5.4.4 &#8211; compiled with the Intel 19.1 compiler.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/vasp\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2418","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2418","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=2418"}],"version-history":[{"count":20,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2418\/revisions"}],"predecessor-version":[{"id":10915,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/2418\/revisions\/10915"}],"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=2418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}