|
本帖最后由 fux 于 2023-10-24 21:05 编辑
ENCUT:
- #PBS -N test
- #PBS -l nodes=1:ppn=8
- #PBS -q high
- #PBS -j oe
- #PBS -l walltime=1000:00:00
- ulimit -s unlimited
- cd $PBS_O_WORKDIR
- NP=`cat $PBS_NODEFILE|wc -l`
- source /public/software/profile.d/conda.sh
- source /public/software/profile.d/hdf5.sh
- source /public/software/profile.d/compiler_intel-compiler-2017.5.239.sh
- VASP="/public/software/mpi/openmpi/2.1.3/bin/mpirun --mca btl_tcp_if_include enp24s0f0 --machinefile $PBS_NODEFILE -np $NP /public/software/apps/vasp/vasp-6/vasp_std >&vasp.log"
- echo 'ENCUT/eV,energy/eV'>finish.csv
- for i in 400 440 480 520 560 600 640 680
- do
- mkdir $i
- cd $i
- cp ../INCAR .
- cp ../PO* .
- cp ../KPOINTS .
- sed -i "s/^ENCUT = /&$i/g" INCAR
- $VASP
- if [ -e OUTCAR ];then
- count=`grep "without" OUTCAR | tail -1 | awk -v FS=" " '{print $4}'`
- echo $i','$count >>../finish.csv
- fi
- cd ..
- done
复制代码 有些细节可能要你自己动手改一下,k点测试也类似就是INCAR一致用不同的kmesh就行
|
|