{"id":1187,"date":"2013-12-10T14:51:59","date_gmt":"2013-12-10T14:51:59","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=1187"},"modified":"2017-06-01T09:02:30","modified_gmt":"2017-06-01T09:02:30","slug":"nwchem","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/nwchem\/","title":{"rendered":"NWChem"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>NWChem is an ab initio computational chemistry software package which also includes quantum chemical and molecular dynamics functionality.<\/p>\n<p>Available versions:<\/p>\n<ul>\n<li>6.3 (compiled with gcc 4.7.1)<\/li>\n<li>6.6 (compiled with gcc 4.9.0 using <code>-march=westmere -mtune=haswell<\/code>, appears to be compatible with all CSF Intel CPUs)<\/li>\n<\/ul>\n<h2>Restrictions on use<\/h2>\n<p>All CSF users may access the software which is open source under the Educational Community License version 2.0. Information on how to cite your usage of the software is available on the <a href=\"http:\/\/www.nwchem-sw.org\/index.php\/Main_Page\">NWChem website<\/a>.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load the relevant modulefile. For running a serial job or on up to 24 Intel cores (single node, no infiniband):<\/p>\n<pre>\r\nmodule load apps\/gcc\/nwchem\/6.6\r\nmodule load apps\/gcc\/nwchem\/6.3\r\n<\/pre>\n<p>To run on more than one Intel node with infiniband (job must be 48+ cores and a multiple of 24):<\/p>\n<pre> \r\nmodule load apps\/gcc\/nwchem\/6.6-ib\r\nmodule load apps\/gcc\/nwchem\/6.3-ib\r\n<\/pre>\n<p>The first time you use the software you need to make a copy of a configuration file to your home directory using this command:<\/p>\n<pre>\r\ncp $NWCHEM_HOME\/default.nwchemrc .nwchemrc\r\n<\/pre>\n<p>Note: The contents of the file differs depending on which version you wish to run. It must be called <code>.nwchemrc<\/code> .<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run NWChem on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<p>Please note that nwchem does not run on the AMD nodes.<\/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\r\n### The above uses the current directory where you should have all relevant files\r\n#$ -V\r\n### The above inherits your user environment from the login node i.e. so it can find commands\r\n\r\nnwchem myinput.nw >& myoutput.$JOB_ID\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub scriptname<\/pre>\n<h3>Parallel batch job submission<\/h3>\n<p>Make sure you have the relevant modulefile loaded then create a batch submission script.<\/p>\n<p><emphasis>Single node example<\/emphasis> &#8211; maxiumum 24 cores:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd\r\n### The above uses the current directory where you should have all relevant files\r\n#$ -V\r\n### The above inherits your user environment from the login node i.e. so it can find commands\r\n#$ -pe smp.pe 12\r\n### The above ensures the job uses a parallel environment which has nodes setup for multi-core work.\r\n\r\nmpirun -n $NSLOTS nwchem myinput.nw >& myoutput.$JOB_ID\r\n<\/pre>\n<p>The variable $NSLOTS automatically picks up the number requested in the parallel environment (pe). This means if you wish to submit a job of a different size you only need to change the number on the pe line.<\/p>\n<p>Submit your job with:<\/p>\n<pre>qsub scriptname<\/pre>\n<p><emhpasis>Multi-node example<\/emphasis> &#8211; infinband connected, 48 or more cores in multiples of 24:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd\r\n### The above uses the current directory where you should have all relevant files\r\n#$ -V\r\n### The above inherits your user environment from the login node i.e. so it can find commands\r\n#$ -pe orte-24-ib.pe 48\r\n### The above ensures the job uses the parallel environment specifically setup to do multi-node work.\r\n\r\nmpirun -n $NSLOTS nwchem myinput.nw >& myoutput.$JOB_ID\r\n\r\n<\/pre>\n<p>The variable $NSLOTS automatically picks up the number requested in the parallel environment (pe). This means if you wish to submit a job of a different size you only need to change the number on the pe line.<\/p>\n<p>Submit your job with:<\/p>\n<pre>qsub scriptname<\/pre>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"http:\/\/www.nwchem-sw.org\/index.php\/Release62:NWChem_Documentation\">NWChem Documentation<\/a><\/li>\n<li><a href=\"http:\/\/www.nwchem-sw.org\/index.php\/Special:AWCforum\">NWChem Community<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>Jan 2016 &#8211; 6.6 installed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview NWChem is an ab initio computational chemistry software package which also includes quantum chemical and molecular dynamics functionality. Available versions: 6.3 (compiled with gcc 4.7.1) 6.6 (compiled with gcc 4.9.0 using -march=westmere -mtune=haswell, appears to be compatible with all CSF Intel CPUs) Restrictions on use All CSF users may access the software which is open source under the Educational Community License version 2.0. Information on how to cite your usage of the software is.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/nwchem\/\">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-1187","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/1187","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=1187"}],"version-history":[{"count":20,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/1187\/revisions"}],"predecessor-version":[{"id":3867,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/1187\/revisions\/3867"}],"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=1187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}