Dalton

Software name:  软件名称:
Dalton 道尔顿
Policy  政策

Dalton has several authors, including Hans Jørgen Aagaard Jensen, Hans Ågren, Trygve Helgaker, and Poul Jørgensen. HPC2N has a site license, allowing our users to use the program.
Dalton 拥有多位作者,包括 Hans Jørgen Aagaard Jensen、Hans Ågren、Trygve Helgaker 和 Poul Jørgensen。HPC2N 拥有站点许可证,允许我们的用户使用该程序。

All published work based on the use of programs in the Dalton suite, is required to include a citation.
所有基于 Dalton 套件程序使用的已发表作品,均需包含引用。

General  一般

Dalton (named after John Dalton) is an ab initio quantum chemistry computer program. It is capable of calculating various molecular properties using the Hartree–Fock, MP2, MCSCF and coupled cluster theories.
Dalton(以约翰·道尔顿命名)是一款从头计算量子化学计算机程序。它能够利用 Hartree-Fock、MP2、MCSCF 和耦合簇理论计算多种分子性质。

Description  描述

The Dalton suite consists of two separate executables, DALTON and LSDALTON. The DALTON code is a powerful tool for a wide range of molecular properties at different levels of theory, whereas LSDALTON is a linear-scaling HF and DFT code suitable for large molecular systems.
Dalton 套件包含两个独立的可执行文件,DALTON 和 LSDALTON。DALTON 代码是一个强大的工具,适用于不同理论层面上的广泛分子性质计算,而 LSDALTON 则是一个适用于大型分子系统的线性标度 HF 和 DFT 代码。

DALTON:  道尔顿:

  • First- and second-order methods for geometry optimizations
    几何优化的第一类和第二类方法
  • Robust second-order methods for locating transition states
    鲁棒的二阶方法用于过渡态定位
  • Constrained geometry optimizations; bonds, angles and dihedral angles can be fixed during optimizations
    约束几何优化;在优化过程中可以固定键长、键角和二面角
  • General numerical derivatives that automatically makes use of the highest order analytical derivative available
    利用可获得最高阶解析导数的通用数值导数
  • Vibrational analysis and vibrational averaging, including anharmonic effects
    振动分析与振动平均化,包括非谐效应
  • HF and DFT code direct and parallel using replication of Fock matrices using MPI for message passing
    HF 和 DFT 代码直接并行化,通过 MPI 消息传递复制 Fock 矩阵
  • Effective core-potentials (ECPs)
    有效的芯势(ECPs)

LSDALTON:

  • Efficient and linear-scaling HF and DFT code (OpenMP parallel)
    高效且线性缩放的 HF 和 DFT 代码(OpenMP 并行)
  • Robust and efficient wave-function optimization procedures
    鲁棒且高效的波函数优化程序
  • First-order methods for geometry optimizations (minima and transition structures)
    几何优化(极小值和过渡态)的一阶方法
  • A variety of different molecular properties
    多种不同的分子性质

A longer description of the Dalton programs features can be found here.
Dalton 项目功能的详细描述可在此处找到。

Availability  可用性

On HPC2N we have Dalton available as a module on Kebnekaise. We have Dalton 2016 installed. Note that lsdalton is NOT installed.
在 HPC2N 上,我们已将 Dalton 作为模块安装在 Kebnekaise 上。我们安装的是 Dalton 2016 版本。请注意,lsdalton 并未安装。

Usage at HPC2N  HPC2N 的使用情况

To use, add the dalton module to add it to your environment. You give this command to see how to load Dalton and its prerequisites:
使用时,将 dalton 模块添加到您的环境中。您可以输入此命令以查看如何加载 Dalton 及其先决条件:

ml spider dalton

Notes  注释

  • HPC2N has compiled the program with GCC compilers and Intel MPI (impi).
    HPC2N 已使用 GCC 编译器和 Intel MPI(impi)编译了该程序。
  • This is an OpenMP + MPI hybrid build.
    这是一个 OpenMP + MPI 混合构建。
  • Dalton provides a few environment variables that refers to various directories, please use them, if needed, and not hard coded pathnames as this will make your life easier when Dalton gets upgraded.
    Dalton 提供了一些环境变量,指向不同的目录,如有需要,请使用这些变量,而不要硬编码路径名,这样在 Dalton 升级时会简化您的工作。

You can find most of the environment variables with
您可以找到大多数环境变量

dalton -h

while a few (like path to the install directory) are found with
而少数(如安装目录的路径)则可通过

env | grep -i dalton

NOTE: that DALTON_TMPDIR needs to be defined by the userr.
注意:DALTON_TMPDIR 需由用户定义。

DALTON 道尔顿

There are several options to the script, which can be viewed by typing dalton -h or just dalton. Some of the more important ones include:
脚本有多个选项,可通过输入 dalton -h 或仅输入 dalton 来查看。其中一些较为重要的选项包括:

  • -b directory Prepend this directory to the list of directories where the program should look for basis sets. Needed in case you want to use local modifications of a given basis. The job directory and the basis set library will always be included in the basis set directory list (in that search order).
    -b 目录 将此目录添加到程序查找基组的目录列表前端。当你希望使用某个基组的本地修改版本时,此选项是必要的。作业目录和基组库始终会被包含在基组目录列表中(按此搜索顺序)。
  • -f dal_mol[_pot] extract dal_mol[_pot].tar.gz archive from WRKDIR into DALTON_TMPDIR before calculation starts
    -f 在计算开始前,将 dal_mol[_pot]提取的 dal_mol[_pot].tar.gz 存档从 WRKDIR 解压至 DALTON_TMPDIR
  • -mb mem set dalton max usable work memory to mem Megabytes.
    -mb mem 将达尔顿最大可用工作内存设置为 mem 兆字节。
  • -N num Use num MPI processes
    -N num 使用 num 个 MPI 进程
  • -o filename Redirect the output normally printed in the DALTON.OUT file in the temporary directory to the file “filename” in the WRKDIR directory. On a computer system with distributed scratch disk but a commonly mounted home directory, this allows you to follow the calculation without having to log into the compute nodes.
    -o 文件名 将通常打印在临时目录中 DALTON.OUT 文件的输出重定向到 WRKDIR 目录中的“文件名”。在具有分布式临时磁盘但共享挂载主目录的计算机系统上,这使您无需登录计算节点即可跟踪计算进度。
  • -w wrkdir Change the working directory to “wrkdir”, that is, change the directory in which the program searches for input files and places the DALTON.OUT file to “wrkdir”.
    -w wrkdir 将工作目录更改为“wrkdir”,即更改程序在其中搜索输入文件并将 DALTON.OUT 文件放置的目录为“wrkdir”。

Serial 串行

To run the program, load the module, then use this command:
要运行程序,请加载模块,然后使用以下命令:

dalton [options] dalinp{.dal} [molinp{.mol} [potinp{.pot}]]

to run using the shell script dalton, which is the recommended way of running. 
使用 shell 脚本 dalton 运行,这是推荐的运行方式。

Example: Say you have the input file myinput.dal, and the molecule input molinput.mol, you would type this to run
示例:假设您有输入文件 myinput.dal 和分子输入文件 molinput.mol,您可以输入以下命令来运行

dalton myinput molinput

When the job is finished, the output is copied back as myinput_molinput.out. In addition, the program will copy back a file named myinput_nmolinput.tar.gz. This file contains, in tar'ed and gzip'ed form, a number of useful intergace and post-processing files which may be needed for post-DALTON programs, or for restarting calculations.
任务完成后,输出结果会被复制回名为 myinput_molinput.out 的文件。此外,程序还会复制回一个名为 myinput_nmolinput.tar.gz 的文件。该文件以 tar 和 gzip 格式包含了许多有用的接口和后处理文件,这些文件可能用于 DALTON 程序的后处理,或用于重新启动计算。

Note If it is anything but a short program, you should ALWAYS run it as a batch script.
注意 如果程序不是简短的,您应始终将其作为批处理脚本运行。

Example, batch script 示例,批处理脚本

#!/bin/bash
# Change to your own project id
#SBATCH -A SNICXXXX-YY-ZZ
# Asking for 1 task
#SBATCH -n 1
# Asking for 30 minutes run time 
#SBATCH --time=00:30:00

#Load the Dalton moduleand its prerequisites
ml GCC/6.2.0-2.27  
ml impi/2017.1.132
ml DALTON/2016.2

dalton [options] dalinp{.dal} [molinp{.mol} [potinp{.pot}]]

Submit the script with
提交脚本

sbatch <jobscript>

MPI 消息传递接口

Note srun and mpirun both works
注意,srun 和 mpirun 均可使用

Example script 示例脚本

Assuming you have an input file dalton_in.dal (if you have a molecule input file, add that one as well)
假设你有一个输入文件 dalton_in.dal(如果你有一个分子输入文件,也请一并添加)

Change n and DALTON_NUM_MPI_PROCS accordingly.
相应地调整 n 和 DALTON_NUM_MPI_PROCS。

#!/bin/bash
#SBATCH -J DALTON-test
#SBATCH -A SNICXXXX-YY-ZZ
#SBATCH -n 8
#SBATCH --time=10:30:00

#Load the Dalton moduleand its prerequisites
ml GCC/6.2.0-2.27 
ml impi/2017.1.132
ml DALTON/2016.2 

#You can call the tmp dir anything
export DALTON_TMPDIR=<what-you-want>

export DALTON_NUM_MPI_PROCS=8

dalton -N 8 -noappend -t `pwd`/<any tmpdir> [options] dalinp{.dal} [molinp{.mol} [potinp{.pot}]

Submit the script with
提交脚本

sbatch <jobscript>
Additional info  附加信息
  • DALTON user manual: 2011 | 2013 | 2015 | 2016
    DALTON 用户手册:2011 | 2013 | 2015 | 2016
  • LSDALTON user manual: 2011 | 2013 | 2015
    LSDALTON 用户手册:2011 | 2013 | 2015
  • There is a forum for users to ask questions and help each other out.
    有一个用户论坛,供大家提问并互相帮助。

Citation 引用

Any published work with results obtained with the Dalton2016 suite must include a citation. Details of how to cite Dalton 2016 can be found here.
任何使用 Dalton2016 套件获得结果的已发表作品必须包含引用。关于如何引用 Dalton 2016 的详细信息可在此处找到。

Tags: 

标签:资源 软件 道尔顿
Updated: 2024-10-10, 12:39
更新时间:2024 年 10 月 10 日,12:39