| 查看: 949 | 回复: 2 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
[交流]
Ubuntu Server 16.04.3 LTS 下编译不弛豫C轴的vasp5.3 已有2人参与
|
||
|
/******************************************************************************************* 不弛豫C轴的VASP 安装整理 *******************************************************************************************/ 将vasp源文件夹复制一份命名为vasp_src_relaxC 进入 /home/software/vasp/vasp_src_relaxC/vasp.5.3 vi constr_cell_relax.f90 修改为以下内容 # 1 "constr_cell_relax.F" SUBROUTINE CONSTR_CELL_RELAX(FCELL) USE prec REAL(q) FCELL(3,3) ! just one simple example ! relaxation in x directions only ! SAVE=FCELL(1,1) ! FCELL=0 ! F90 style: set the whole array to zero ! FCELL(1,1)=SAVE ! relaxation in z direction only ! SAVE=FCELL(3,3) ! FCELL=0 ! F90 style: set the whole array to zero ! FCELL(3,3)=SAVE FCELL(3,3)=0 RETURN END SUBROUTINE vi constr_cell_relax.F 修改为上文同样内容 |
3楼2018-01-20 21:56:57
![]() ![]() |
2楼2018-01-02 19:48:42









回复此楼
