unzip script.zip 1.2 tar格式的解压 tar -xvf script.tar 1.3 tar.gz格式的解压 tar -zxvf script.tar.gz 2 直接输入脚本名执行代码的方法 pwd #记录解压文件的路径 cd空格 #回到根目录 ls ls -a #显示隐藏文件隐藏的文件都是带点的 vi .bashrc #配置环境变量,让脚本直接生效 export PATH=$PATH:/【解...
#!/bin/bash # This is scp script hom=`pwd` if [ "$1" != "" ];then temp=$1 else read -p "Target direct: " temp fi dir="${hom}/${temp}" if [ ! -e "${dir}" ];then mkdir ${dir} fi cp -pai ${hom}/INCAR ${hom}/POTCAR ${hom}/KPOINTS ${hom}/SUB ${dir} if...
forked fromAngel-Jia/VASP-script Notifications Fork0 Star1 Code Pull requests Actions Projects Security Insights Additional navigation options Files all2unix.py cel2vas.py chg2cube.pl chgflag.py choice.pl ck clc clean cluster.py cpfile
VASP_script 2unix.sh VASP INCAR里的tab输入程序是不认识的,往往会忽略这条参数, 可以将INCAR的格式转为UNIX的格式,同时可以将tab转为空格。 bash 2unix.sh INCAR vaspkit109功能支持该功能,一键处理并检查vaspkit输入文件。 animate-neb-xyz.sh ~~NEB插点后,将各个文件夹中的POSCAR.xyz组合成total.xyz,可以用...
VASP_script VASP_script 2unix.sh VASP INCAR里的tab输入程序是不认识的,往往会忽略这条参数, 可以将INCAR的格式转为UNIX的格式,同时可以将tab转为空格。 bash 2unix.sh INCAR vaspkit109功能支持该功能,一键处理并检查vaspkit输入文件。 animate-neb-xyz.sh ~~NEB插点后,将各个文件夹中的POSCAR.xyz组合成total...
the script has a flag (“–elements”) whereby you can specify the atomic species.Install: Click...
/bin/bash yhrun vasp_$vasp_type vasp.out eof yhbatch -J $name -N $nodes -n $ntasks -p bigdata vasp rm vasp ### 脚本使用前的准备工作: 建个文件夹(我的~/script )把脚本放进去 cd ~/script; chmod 777 vasp vi ~/.bashrc 编辑.bashrc 文件,加入 alias vivasp=vi / 目录/script/vasp...
找到需要的振动方向(目标化学键断裂/生成的振动方向)。可使用我的脚本Mabinogiysk/VASP-script:...
找到需要的振动方向(目标化学键断裂/生成的振动方向)。可使用我的脚本Mabinogiysk/VASP-script:...
4. 提交到集群(可选)如果使用作业调度系统(如 SLURM、PBS),需编写作业脚本并提交。SLURM 示例脚本 #!/bin/bash #SBATCH --job-name=VASP_Job #SBATCH --output=vasp_output.log #SBATCH --ntasks=16 #SBATCH --time=01:00:00 mpirun -np 16 /path/to/vasp_std 提交脚本:sbatch submit_script....