Skip to content

Concatenating trajectories in AMDAT #63

@drayer587

Description

@drayer587

In my current computing environment, I have a ceiling of 96 hours of compute time on a single execution of LAMMPS. As a result, if I want to analyze a trajectory that is longer, I need to manually stitch the trajectories together (by running two identical runs, and eliminating the one repeated frame: last of the first run, the first of the second run). I suppose I could instead have LAMMPS not write the first frame of the second block, but also, best practice is not to have a single file become too large anyway, and it's good to have that frame if you want to analyze each half of the run independently anyway.

Is this something that is within scope for AMDAT? This doesn't seem like it would be too cumbersome to implement, but I don't trust my impression. I experienced first hand that this is not too bad to do by hand, but is somewhat painful to do in a script with good performance. I'm happy to share the bash script I use to do this now (it's not pretty but it worked for me).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions