{"id":12018,"date":"2026-03-03T13:39:27","date_gmt":"2026-03-03T13:39:27","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=12018"},"modified":"2026-03-18T16:40:10","modified_gmt":"2026-03-18T16:40:10","slug":"q-chem","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/q-chem\/","title":{"rendered":"Q-Chem"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/q-chem.com\/\" target=\"_blank\">Q-Chem<\/a> is a comprehensive ab initio quantum chemistry program. Q-Chem&#8217;s capabilities facilitate applications in pharmaceuticals, materials science, biochemistry and other fields.<\/p>\n<p>Q-Chem 6.3 <strong><em>Shared Memory<\/em><\/strong> and <strong><em>GPU<\/em><\/strong> Versions are available.<\/p>\n<h2>Restrictions on use<\/h2>\n<p><strong>Q-Chem 6.3<\/strong> is limited to one research group.<\/p>\n<p>License Terms &#038; Conditions of Q-Chem can be seen here: <a href=\"https:\/\/q-chem.com\/purchase\/license\/\" target=\"_blank\">https:\/\/q-chem.com\/purchase\/license\/<\/a><\/p>\n<p>To get access to Q-Chem on the CSF3, you must request it via our <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/hpc-help\" target=\"_blank\">help form<\/a> and confirm that you have read the above License Terms &#038; Conditions and your usage will comply with the Terms &#038; Conditions of the License. On getting your request along with your confirmation and after approval of the license holder, you will be added to a secondary unix group which will enable your access to Q-Chem software in CSF3.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To use Q-Chem load one of the following modulefiles:<\/p>\n<pre>\r\n<strong>module load apps\/binapps\/qchem\/6.3<\/strong>              # For Serial and SMP version\r\n<strong>module load apps\/binapps\/qchem\/6.3_gpu<\/strong>          # For GPU Version\r\n<\/pre>\n<p>You do not need to load CUDA modules separately.<\/p>\n<h2>Running the application in CSF3<\/h2>\n<div class=\"warning\">\nPlease do not run Q-Chem on the login node. You must submit all work to batch. The sysadmins will kill, without notice, any applications running on the login nodes.\n<\/div>\n<p>Please note that <strong><a href=\"https:\/\/www.iqmol.org\/\" target=\"_blank\">IQmol<\/a><\/strong> is not available in CSF3. If you need to use it for creating your input files, you can download and install IQmol in your Laptop\/Desktop, it is <a href=\"https:\/\/www.iqmol.org\/downloads.html\" target=\"_blank\">available for free<\/a>. For Windows there is a portable (ZIP) version available which can run without installing. After preparing input files in your Laptop\/Desktop using IQmol, you can then upload the input file to CSF3 and submit it to the batch system using a suitable jobscript. Example jobscripts are given below. <\/p>\n<p>Instructions on running batch jobs in CSF3 using IQmol software installed in your laptop\/desktop can be seen below in the section titled <em><strong><a href=\"#Running_the_application_in_CSF3_using_IQmol_software_in_your_laptopdesktop\">Running the application in CSF3 using IQmol software in your laptop\/desktop<\/a><\/strong><\/em><\/p>\n<p>A scratch directory named &#8220;<strong>qchemscratch<\/strong>&#8221; will be created within the job directory by Q-Chem when the job runs. It is used for storing temporary files and for restarting jobs and is emptied by Q-Chem on completion of the job.<\/p>\n<div class=\"note\">\nUsers can set their preferred values for many <a href=\"https:\/\/manual.q-chem.com\/6.3\/sect_customization.html\" target=\"_blank\">parameters<\/a>. The default values can be overridden by setting preferred values in <code>$HOME\/.qchemrc<\/code> file. <\/p>\n<p>Alternately, this can be also be done by setting those values in the jobscript. For example adding the line: <code>export MEM_TOTAL=\"6000\"<\/code> after the module load lines will override the global MEM_TOTAL value of 4000MB to 6000MB. Variable MEM_TOTAL sets the amount of memory per-core that can be used by qchem. Please refer the <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/batch-slurm\/partitions\/\" target=\"_blank\">maximum memory available in different node types<\/a> before overriding the global defaults. Global defaults for SERIAL and SMP are set as 4000MB per core and for GPU it is set as 10000MB per core.\n<\/div>\n<h3>Serial job<\/h3>\n<p>An example batch submission script that will read a file named <code>input.in<\/code> from the current directory and write the output in <code>input.out<\/code>:<\/p>\n<pre >\r\n#!\/bin\/bash --login\r\n#SBATCH -p serial       # (or --partition=) Use the nodes dedicated to 1-core jobs\r\n#SBATCH -t 1-0          # 1 day wallclock (max permitted is 7 days)\r\n\r\nmodule purge\r\nmodule load apps\/binapps\/qchem\/6.3\r\n\r\nqchem input.in input.out\r\n<\/pre>\n<p>Submit with the command: <code>sbatch <em>scriptname<\/em><\/code> where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>SMP Parallel job &#8211; 2 to 168 cores<\/h3>\n<p>An example batch submission script that will read a file named <code>input.in<\/code> from the current directory and write the output in <code>input.out<\/code>:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multicore    # (or --partition=) Use the AMD 168-core jobs\r\n#SBATCH -n 4            # (or --ntasks=) Number of cores\r\n#SBATCH -t 1-0          # 1 day wallclock (max permitted is 7 days)\r\n\r\nmodule purge\r\nmodule load apps\/binapps\/qchem\/6.3\r\n\r\nqchem -nt $SLURM_NTASKS input.in input.out\r\n<\/pre>\n<p>Submit with the command <code>sbatch <em>scriptname<\/em><\/code> where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>GPU job<\/h3>\n<p>An example batch submission script that will read a file named <code>input.in<\/code> from the current directory and write the output in <code>input.out<\/code>:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p gpuL         # L40S GPUs. Other GPUs available: gpuA (A100-80GB)\r\n#SBATCH -G 1            # (or --gpus=) Number of GPUs\r\n#SBATCH -n 4            # (or --ntasks=) Number of cores. Up to 12 CPU cores per GPU permitted for L40S.\r\n#SBATCH -t 1-0          # 1 day wallclock (max permitted is 7 days)\r\n\r\nmodule purge\r\nmodule load apps\/binapps\/qchem\/6.3_gpu\r\n\r\nqchem -gpu -nt $SLURM_NTASKS input.in input.out\r\n<\/pre>\n<p>Submit with the command <code>sbatch <em>scriptname<\/em><\/code> where <em>scriptname<\/em> is the name of your jobscript.<br \/>\n<strong>NOTE:<\/strong> You don&#8217;t need to load any CUDA module separately.<\/p>\n<h2>Running the application in CSF3 using IQmol software in your laptop\/desktop<\/h2>\n<p>You can install IQmol software in your laptop\/desktop and use it to set up and submit your Q-Chem jobs directly to CSF3 batch system. You will need to configure the IQmol software after installing it to be able to submit jobs to CSF3. Please refer the below screenshots to set it up correctly:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q1.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q2.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q3.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q4.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q5.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><\/p>\n<p>You can set up multiple instances of CSF3 server for different type of jobs (Serial\/SMP\/GPU), just add appropriate jobscript lines for them as shown above referring the sample jobscripts provided for them.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q6.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q7.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/q8.png\" width=\"700\" style=\"padding:1px;border:thin solid #6B2C91;\" \/><\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/q-chem.com\/\" target=\"_blank\">Q-Chem website<\/a><\/li>\n<li><a href=\"https:\/\/manual.q-chem.com\/6.3\/qchem_manual.pdf\" target=\"_blank\">Q-Chem 6.3 Manual<\/a><\/li>\n<li><a href=\"https:\/\/www.iqmol.org\/\" target=\"_blank\">IQmol website<\/a><\/li>\n<li><a href=\"https:\/\/www.iqmol.org\/downloads\/IQmolUserGuide.pdf\" target=\"_blank\">IQmol User Guide<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None at this time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Q-Chem is a comprehensive ab initio quantum chemistry program. Q-Chem&#8217;s capabilities facilitate applications in pharmaceuticals, materials science, biochemistry and other fields. Q-Chem 6.3 Shared Memory and GPU Versions are available. Restrictions on use Q-Chem 6.3 is limited to one research group. License Terms &#038; Conditions of Q-Chem can be seen here: https:\/\/q-chem.com\/purchase\/license\/ To get access to Q-Chem on the CSF3, you must request it via our help form and confirm that you have read.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/q-chem\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":21,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-12018","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/12018","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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=12018"}],"version-history":[{"count":20,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/12018\/revisions"}],"predecessor-version":[{"id":12153,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/12018\/revisions\/12153"}],"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=12018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}