NWChem provides many methods to compute the properties of molecular and periodic systems using standard quantum mechanical descriptions of the electronic wavefunction or density. In addition, NWChem has the capability to perform classical molecular dynamics and free energy simulations. These approaches may be combined to perform mixed quantum-mechanics and molecular-mechanics simulations. NWChem development has been devoted to providing maximum efficiency on massively parallel processors.
NWChem version 5.1 is currently installed at LRZ, in which several new major capabilities and bug fixes are available, for more details, please read the paragraph on documentation.
To get access to the implementation of NWChem at the LRZ, please satisfactorily show the LRZ that you have been granted the right to use NWChem. Usually, it will be sufficient to send us a copy of the fax containing the download information that you received.
See the NWChem Homepage for information on how to get the license to use NWChem.
ALTIX (hlrb2), and Optron Linux-Cluster
5.1, 5.1.1, and 6.0
Access and Execution
Please contact the HLRB support staff , once you have a valid license to obtain access to NWChem at LRZ. Once you have been validated to use NWCHEM, you can setup your environment by using the module nwchem.
NWChem 5.1 is currently installed on the ALTIX and Optron linux-Cluster for serial and parallel use.
When you first start to use NWChem, one has to copy a default ".nwchemrc" file to your home directory after loading the module of NWChem. This file is used to set certain default options for the program, and to find the standard libraries:
% cp $NWCHEM_BASE/etc/default.nwchemrc ~/.nwchemrc
We did not automate this step in the module nwchem, as not to overwrite any existing ".nwchemrc" file in the user's home directory.
Usually, a number of different versions of NWChem are installed on the systems. Each version can be made available by loading a different module. To use the default and recommended version, use the command:
% module load nwchem
or for a specific version of NWChem:
% module load nwchem/5.1.1
To see where the nwchem executables reside (the bin directory) and what environment variables it defines, type
% module show nwchem
Serial and parallel interactive execution
There are two ways of running nwchem at LRZ, submitting a batch job, or running interactively in an interactive batch session. The interactive execution of NWChem can be done with:
To request an interactive batch session on Linux-Cluster at LRZ, issue a command (e.g., requesting 16 or 32 cores):
% salloc --ntasks=32 --partition=mpp1_inter
when a new batch session is returned to you, issue the following commands:
% module load nwchem % nwchem inputfilename >& outputfilename.log % nwchem -n [N] inputfilename >& outputfilename.log ( N: number of processors)
Running serial and parallel NWChem batch jobs
To use NWChem in batch mode, please find below sample batch script to run nwchem using single core or multicores for the available platforms at LRZ:
#SBATCH -o /home/cluster/<group>/<user>/mydir/nwchem.%j.out
#SBATCH -D /home/cluster/<group>/<user>/mydir
#SBATCH -J <job_name>
# mydir contains input files
module load nwchem nwchem -n 32 my-input
#@ wall_clock_limit = 24:00:00
#@ job_type = MPICH
#@ class = general
#@ node = 2
#@ tasks_per_node = 40
#@ initialdir = $(home)/mydir
#@ output = job$(jobid).out
#@ error = job$(jobid).err
module load nwchem nwchem -n 80 my-input
e.g., assume the job script name is name-job.sh:
% sbatch name-job.sh
The documentation for the current NWChem version can be found on the NWChem Homepage .
We provide a set of user manuals and a guide in .ps and .pdf format at the location $NWCHEM_DOC (after loading the module nwchem).
If you have any questions regaring NWChem at LRZ, please contact the LRZ HPC support staff .