计算化学公社

 找回密码 Forget password
 注册 Register
Views: 213|回复 Reply: 1
打印 Print 上一主题 Last thread 下一主题 Next thread

[Lammps] 我用mtp势函数来跑lammps压缩Ag2S,过程不报错但是也不输出

[复制链接 Copy URL]

7

帖子

0

威望

107

eV
积分
114

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
两个附件一个是输入文件,一个是mtp势函数文件,为方便上传都改为txt文件。

mpirun -np 20 lmp_mpi -in Ag2S-fuxian.imp
LAMMPS (22 Jul 2025 - Update 1)
Reading data file ...
  triclinic box = (0 0 0) to (106.35932 89.659726 94.530658) with tilt (0 -32.89871 0)
  5 by 2 by 2 MPI processor grid
  reading atoms ...
  50700 atoms
  reading velocities ...
  50700 velocities
  read_data CPU = 0.303 seconds
WARNING: No fixes with time integration, atoms won't move
For more information see https://docs.lammps.org/err0028 (../verlet.cpp:60)
Wrapper initialization
    abinitio = false
    calculate_efs = true
    check_errors = false
    extrapolation_control = true
    fit = false
    lotf = false
    mlip = true
    select = false
    write_cfgs = false
    write_cfgs:skip = 0
    mlip:load_from = pot.mtp08
MLIP type is non-linear MTP
Selection: loading state from "pot.mtp08"
No selection data provided with MLIP
这个是输入完出现的,然后就什么都没了。是因为我的输入文件有问题吗?求指导










Ag2S-fuxian.txt (2.13 KB, 下载次数 Times of downloads: 6) pot.mtp08.txt (2.66 KB, 下载次数 Times of downloads: 5)

35

帖子

0

威望

362

eV
积分
397

Level 3 能力者

2#
发表于 Post on 2025-10-16 10:49:48 | 只看该作者 Only view this author
虽然我和你做的领域不一样,代码也看不出来什么问题。但是你说既不报错也不出结果的问题我也遇到过,我只能从个人经验上分享一下我的原因:minimize消耗了一定的步数,导致后续分析没有跑够输出一次的步骤就结束了。我的处理方式是在能量最小化后添加一个 reset_timestep 0。你可以试试这样设置后有没有改变
# 能量最小化
min_style cg
minimize 1e-10 1e-10 5000 10000
reset_timestep 0

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-1-25 05:36 , Processed in 0.343851 second(s), 23 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list