ADF: Difference between revisions
Line 17: | Line 17: | ||
The following example is a full-node ADF job script, mysub.sh: | The following example is a full-node ADF job script, mysub.sh: | ||
{{File | |||
|name=mysub.sh | |||
|lang="bash" | |||
|contents= | |||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --nodes=1 --ntasks-per-node=32 # 1 node with 32 cpus, you can modify it | #SBATCH --nodes=1 --ntasks-per-node=32 # 1 node with 32 cpus, you can modify it | ||
Line 22: | Line 26: | ||
#SBATCH --time=00-03:00 # time (DD-HH:MM) | #SBATCH --time=00-03:00 # time (DD-HH:MM) | ||
#SBATCH --output=adf_test.log # output .log file | #SBATCH --output=adf_test.log # output .log file | ||
module load adf/2017.207 | module load adf/2017.207 | ||
ADF adf_test.inp # ADF command | ADF adf_test.inp # ADF command | ||
}} | |||
The following is an example for the input file, adf_test.inp: | The following is an example for the input file, adf_test.inp: | ||
{{File | |||
|name=adf_test.inp | |||
|lang="text" | |||
|contents= | |||
Title WATER Geometry Optimization with Delocalized Coordinates | Title WATER Geometry Optimization with Delocalized Coordinates | ||
Line 46: | Line 55: | ||
End Input | End Input | ||
}} | |||
===Examples=== | ===Examples=== |
Revision as of 16:52, 12 October 2017
Introduction
ADF (The Amsterdam Density Functional package) is a software for first-principles electronic structure calculations. It is particularly popular in the research areas of homogeneous and heterogeneous catalysis, inorganic chemistry, heavy element chemistry, various types of spectroscopy, and biochemistry.
BAND, also called ADF-BAND, is the name of a software package closely related to ADF. BAND can be used to study periodic systems: solids, surfaces, slabs, polymers, and reactions on surfaces. BAND is a part of ADF package here.
Running ADF on Graham
ADF 2016.106 and 2017.207 are installed on Graham cluster and available through the modules system. You can load them using either of.
[name@server $] module load adf/2016.106
[name@server $] module load adf/2017.207
Job Submission
Graham uses the Slurm scheduler; for details about submitting jobs, see Running jobs.
The following example is a full-node ADF job script, mysub.sh:
#!/bin/bash
#SBATCH --nodes=1 --ntasks-per-node=32 # 1 node with 32 cpus, you can modify it
#SBATCH --mem-per-cpu=2G # memory, should be <4G for full node job
#SBATCH --time=00-03:00 # time (DD-HH:MM)
#SBATCH --output=adf_test.log # output .log file
module load adf/2017.207
ADF adf_test.inp # ADF command
The following is an example for the input file, adf_test.inp:
Title WATER Geometry Optimization with Delocalized Coordinates
Atoms
O 0.000000 0.000000 0.000000
H 0.000000 -0.689440 -0.578509
H 0.000000 0.689440 -0.578509
End
Basis
Type TZP
Core Small
End
Geometry
Optim Deloc
Converge 0.0000001
End
End Input
Examples
Examples for adf_test can be found on Graham under
/home/jemmyhu/tests/test_ADF/2017.207/test_adf/
Some user may do multi-step ADF runs within one job, see GO_H2O.run and GO_H2O.sh examples under
/home/jemmyhu/tests/test_ADF/2017.207/test_adf/
The same procedure applies to BAND job, see band_test.inp and band_test.sh examples under
/home/jemmyhu/tests/test_ADF/2017.207/test_band