计算化学公社

标题: 求助如何合并AMBER输出OUT文件? [打印本页]

作者
Author:
hhhnano    时间: 2021-11-17 22:25
标题: 求助如何合并AMBER输出OUT文件?
我在进行AMBER计算时,突然断电,就将第一次的RST文件作为输入第二次续跑,这样就有两个输出文件,1.out和2.out, 如何合并这两个out文件?非常感谢!

作者
Author:
rpestana94    时间: 2021-11-17 23:13
本帖最后由 rpestana94 于 2021-11-17 10:16 编辑

Why do you need to combine these two files? You can just copy and paste the info when it begins to show the cycles, energy, and all that info which is the important info, maybe with a script, I don't think there is an automatic tool for this task.
Look at this tutorial, maybe it can help https://ambermd.org/tutorials/basic/tutorial1/section6.htm

作者
Author:
sobereva    时间: 2021-11-18 06:02
cat 1.out 2.out > new.out
如果非要无缝衔接,自己再编辑new.out

作者
Author:
hhhnano    时间: 2021-11-18 09:59
非常感谢rpestana94和sob老师,已经合并文件。
作者
Author:
WJun    时间: 2022-10-27 21:23
本帖最后由 WJun 于 2022-10-27 21:24 编辑

请问合并后两个out文件中前后顺序不一致怎么处理呀
作者
Author:
一个用户名    时间: 2022-10-28 19:54
本帖最后由 一个用户名 于 2022-10-28 19:55 编辑
WJun 发表于 2022-10-27 21:23
请问合并后两个out文件中前后顺序不一致怎么处理呀

我不太明白这么做的目的,因为TIME已经是连续的了,再去纠结NSTEP连不连续没有意义。实在想改,可以自行编程进行文件处理。没有开发者会对这么特殊的需求提供解决方案的。




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3