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 6.6 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.
The code is distributed as open-source under the terms of the Educational Community License version 2.0. The license agreement requires that all scholarly works created using the NWChem prominently cite the use of NWChem, the required and proper citation information may be found by clicking on the Citation link on the NWChem website at: http://www.emsl.pnl.gov/docs/nwchem/
Access and Execution
NWChem 6.8.1 and 7.0.0 are currently installed on SuperMUC-NG and Linux-Cluster for serial and parallel use.
Each user needs a .nwchemrc file in their home directory. This file is used to set certain default options for the program, and to find the standard libraries to run NWChem. You will be noticed automatically when you load the nwchem modulefile. If you already have ~/.nwchemrc in your home directory, it will not be overwritten. If you want the new right file, you may need to remove the existing one and then copy the new one after you reload the module from: .
% cp $NWCHEM_BASE/.nwchemrc ~/.nwchemrc
This is especially important if you are switching to a different version of NWChem.
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 type:
% module load nwchem
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
when a new batch session is returned to you, issue the following commands:
% module load nwchem % srun -n 1 nwchem inputfilename.nw >& outputfilename.log % srun -n [N] nwchem inputfilename.nw >& outputfilename.log ( N: number of processors)
Running 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:
Then submit the job script using sbatch e.g., assume the job script name is name-job.sh:
% sbatch name-job.sh
If you have any questions regaring NWChem at LRZ, please contact the LRZ HPC support staff .