|
本帖最后由 zjxitcc 于 2023-9-19 11:40 编辑
这未免有点麻烦。只需一个gjf文件,使用符合直觉的简单写法,MOKIT便可自动调用GAMESS做CASSCF计算,活性空间也不用指定,自动算出来就是CASSCF(4,4)。gjf文件如下
- %mem=8GB
- %nprocshared=4
- #p CASSCF/cc-pVDZ
- mokit{CASSCF_prog=GAMESS}
- 0 1
- C -2.3280701600 -0.1699583400 -1.8514691000
- H -1.7949064100 -1.0976632600 -1.8514691000
- H -3.3980701600 -0.1699583400 -1.8514691000
- C -2.4237513400 0.6322979400 0.6618613600
- H -1.8905876000 -0.2954069800 0.6618613600
- H -3.4937513400 0.6322979400 0.6618613600
- C -1.6527958500 1.0050189600 -1.8514691000
- H -2.1859596000 1.9327238800 -1.8514691000
- H -0.5827958500 1.0050189600 -1.8514691000
- C -1.7484770400 1.8072752300 0.6618613600
- H -2.2816407800 2.7349801500 0.6618613600
- H -0.6784770400 1.8072752300 0.6618613600
复制代码 提交
- automr c2h4_dimer.gjf >c2h4_dimer.out 2>&1
复制代码 中间无需停下来看轨道、调换轨道等操作。4核并行,2min算完,当前目录下就有fch文件c2h4_dimer_uhf_gvb12_CASSCF_NO.fch,内含CASSCF自然轨道及其占据数,可直接用GaussView或Multiwfn打开可视化。计算文件见附件
c2h4_dimer_GMS.tar.gz
(1.34 MB, 下载次数 Times of downloads: 11)
输出文件里有各种能量和未成对电子数
- E(CASCI) = -156.09059822 a.u.
- E(CASSCF) = -156.09202343 a.u.
- ----------------------- Radical index -----------------------
- biradical character (2c^2) y0= 0.111
- tetraradical character(2c^2) y1= 0.095
- Yamaguchi's unpaired electrons (sum_n n(2-n) ): 0.781
- Head-Gordon's unpaired electrons(sum_n min(n,(2-n))): 0.412
- Head-Gordon's unpaired electrons(sum_n (n(2-n))^2 ): 0.155
- -------------------------------------------------------------
复制代码
若不写CASSCF_prog=GAMESS,文件更简单,默认自动调用PySCF做CASSCF计算,更快(结果还是严格一样的)。激发态CASSCF计算等更多例子见https://jeanwsr.gitlab.io/mokit-doc-mdbook/chap5-1.html
|
|