{"id":3353,"date":"2016-10-17T10:11:13","date_gmt":"2016-10-17T10:11:13","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=3353"},"modified":"2016-10-17T10:11:20","modified_gmt":"2016-10-17T10:11:20","slug":"block","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/block\/","title":{"rendered":"Block Code for DMRG"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"http:\/\/chemists.princeton.edu\/chan\/software\/block-code-for-dmrg\/\">BLOCK Code for DMRG<\/a> is an efficient variational wavefunction method program.<\/p>\n<p>Version 1.1.0 is installed on the CSF.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>Users must register their usage of the software at <a href=\"http:\/\/chemists.princeton.edu\/chan\/software\/block-code-for-dmrg\/\">http:\/\/chemists.princeton.edu\/chan\/software\/block-code-for-dmrg\/<\/a> so that the authors can keep track of how many users they have.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load the modulefile:<\/p>\n<pre>\r\n# Parallel MPI version for small single-node multicore jobs\r\nmodule load apps\/binapps\/block\/1.1.0\r\n\r\n# Parallel MPI version for large multi-node multicore jobs\r\nmodule load apps\/binapps\/block\/1.1.0-ib\r\n\r\n# Serial (1-core) version\r\nmodule load apps\/binapps\/block\/1.1.0-serial\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run Block on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Make sure you have the serial version of 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\nblock.spin_adapted-serial input.dat > output.dat\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 small parallel batch job submission<\/h3>\n<p>Make sure you have the MPI version of 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#$ -pe smp.pe 16    # Specify number of cores (2-24 allowed) for a single-node job\r\n\r\n# $NSLOTS is automatically set to the number of cores given above\r\nmpirun -n $NSLOTS block.spin_adapted input.dat > output.dat\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 large parallel batch job submission<\/h3>\n<p>Make sure you have the InfiniBand (ib) version of 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#$ -pe orte-24-ib.pe 48  # Minimum of 48 cores (2 nodes) and must be multiple of 24\r\n\r\n# $NSLOTS is automatically set to the number of cores given above\r\nmpirun -n $NSLOTS block.spin_adapted input.dat > output.dat\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:\/\/sanshar.github.io\/Block\/index.html\">BLOCK documentation website<\/a><\/li>\n<li><a href=\"http:\/\/chemists.princeton.edu\/chan\/software\/block-code-for-dmrg\/\">BLOCK website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview BLOCK Code for DMRG is an efficient variational wavefunction method program. Version 1.1.0 is installed on the CSF. Restrictions on use Users must register their usage of the software at http:\/\/chemists.princeton.edu\/chan\/software\/block-code-for-dmrg\/ so that the authors can keep track of how many users they have. Set up procedure To access the software you must first load the modulefile: # Parallel MPI version for small single-node multicore jobs module load apps\/binapps\/block\/1.1.0 # Parallel MPI version for.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/block\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3353","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/3353","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=3353"}],"version-history":[{"count":2,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/3353\/revisions"}],"predecessor-version":[{"id":3364,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/3353\/revisions\/3364"}],"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=3353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}