目录

Gaussian

misaraty 更新 | 2026-09-10
前言
Gaussian 16为例。

安装

1
2
3
tar -xvjf Gaussian_16-A03-AVX2.tar.bz2
cd ./g16
./bsd/install # run this script in the g16 directory

测试

  • job.sh
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
#SBATCH --job-name=g16_test
#SBATCH --partition=cpu3_q
#SBATCH --output=%j.out
#SBATCH --error=%j.err
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=32
#SBATCH --mem=240G

export g16root=/opt/ohpc/pub/apps/gaussian
source $g16root/g16/bsd/g16.profile

export GAUSS_SCRDIR=$PWD/tmp
mkdir -p "$GAUSS_SCRDIR"

g16 test.gjf test.log

rm -rf "$GAUSS_SCRDIR"

SLURM --mem物理内存的93–94%;Gaussian %MemSLURM内存的92–95%。

192 GB节点:

#SBATCH --mem=180G

%Mem=170GB

256 GB节点:

#SBATCH --mem=240G

%Mem=220GB

  • test.gjf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
%chk=test.chk
%NProcShared=32
%Mem=220GB
#p B3LYP/6-31G(d) Opt Freq

Gaussian 16 test

0 1
O
H 1 0.9600
H 1 0.9600 2 104.5000

文档