{"id":672,"date":"2021-08-10T13:49:49","date_gmt":"2021-08-10T12:49:49","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf4\/?page_id=672"},"modified":"2021-08-10T16:22:30","modified_gmt":"2021-08-10T15:22:30","slug":"molpro","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/applications\/molpro\/","title":{"rendered":"Molpro"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/www.molpro.net\/\">Molpro<\/a> is a comprehensive system of ab initio programs for advanced molecular electronic structure calculations<\/p>\n<p>Versions 2021.1.0 (OpenMP) and 2021.2.1 (MPIPR, Sockets) are installed on CSF4.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>This software is restricted to a specific research group. Please <a href=\"http:\/\/www.molpro.net\/info\/authors?portal=visitor&amp;choice=Authors\">cite<\/a> the software when used in your research.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must load one of the following modulefiles in your jobscript:<\/p>\n<pre>\r\n# Latest version\r\nmodule load molpro\/2021.2.1_mpipr\r\nmodule load molpro\/2021.2.1_sockets\r\n\r\n# Older version\r\nmodule load molpro\/2021.1.0_omp\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run molpro on the login node. Jobs should be submitted to the compute nodes via batch. Molpro is supplied with a script named <code>molpro<\/code> which will run the actual molpro binary <code>molpro.exe<\/code> with the requested number of cores. To see the available options run<\/p>\n<pre>molpro -h\r\n<\/pre>\n<p>on the login node. But please do NOT run simulations on the login node.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Make sure you have your input file in the current directory and then create a jobscript in that directory. For example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p serial\r\n#SBATCH -n 1\r\n\r\nmodule purge\r\nmodule load molpro\/2021.1.0_omp\r\n\r\nmolpro <em>args<\/em> <em>input.com<\/em>\r\n<\/pre>\n<p>Submit the jobscript using:<\/p>\n<pre>sbatch <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Single-node Parallel batch job submission<\/h3>\n<p>Single-node parallel jobs can be run using MPI (multiple molpro processes are started) or with OpenMP (a single molpro processes is started that runs multiple threads). The results and efficiency of these two methods may be different.<\/p>\n<p>Make sure you have your input file in the current directory and then create a jobscript in that directory.<\/p>\n<p>An OpenMP example jobscript:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multicore     # Single-node multiple cores\r\n#SBATCH -n 8             # Number of cores (2--40)\r\n\r\nmodule purge\r\nmodule load molpro\/<strong>2021.1.0_omp<\/strong>\r\n\r\n# Inform molpro how many OpenMP threads to use\r\nmolpro <strong>-t<\/strong> $SLURM_NTASKS <em>args<\/em> <em>input.com<\/em>\r\n<\/pre>\n<p>A MPI example jobscript:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multicore     # Single-node multiple cores\r\n#SBATCH -n 8             # Number of cores (2--40)\r\n\r\nmodule purge\r\nmodule load molpro\/<strong>2021.2.1_mpipr<\/strong>\r\n\r\n# Inform molpro how many MPI processes to use\r\nmolpro <strong>-n<\/strong> $SLURM_NTASKS <em>args<\/em> <em>input.com<\/em>\r\n<\/pre>\n<p>Submit the jobscript using:<\/p>\n<pre>\r\nsbatch <em>scriptname<\/em>\r\n<\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Multi-node Parallel batch job submission<\/h3>\n<p>A multi-node parallel job must use the MPI method of starting molpro.<\/p>\n<p>Make sure you have the modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multinode     # Multi-node (uses all 40 cores on each node)\r\n#SBATCH -n 80            # Number of cores (must be a multiple of 40)\r\n\r\nmodule purge\r\nmodule load molpro\/<strong>2021.2.1_mpipr<\/strong>\r\n\r\n# Inform molpro how many MPI processes to use\r\nmolpro <strong>-n<\/strong> $SLURM_NTASKS <em>args<\/em> <em>input.com<\/em>\r\n<\/pre>\n<p>Submit the jobscript using:<\/p>\n<pre>sbatch <em>scriptname<\/em><\/pre>\n<p>where <code><em>scriptname<\/em><\/code> is the name of your jobscript.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.molpro.net\/\">MOLPRO website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Molpro is a comprehensive system of ab initio programs for advanced molecular electronic structure calculations Versions 2021.1.0 (OpenMP) and 2021.2.1 (MPIPR, Sockets) are installed on CSF4. Restrictions on use This software is restricted to a specific research group. Please cite the software when used in your research. Set up procedure To access the software you must load one of the following modulefiles in your jobscript: # Latest version module load molpro\/2021.2.1_mpipr module load molpro\/2021.2.1_sockets.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/applications\/molpro\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":49,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-672","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/comments?post=672"}],"version-history":[{"count":5,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/672\/revisions"}],"predecessor-version":[{"id":677,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/672\/revisions\/677"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/49"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/media?parent=672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}