Skip to content

Save output configuration #155

Closed
Closed

Description

@mquevill

Canonical Tinker would print out an output configuration file after a run with dynamic that would get appended with the version (file.xyz, file.xyz_2, etc.). I have been running simulations from the master branch of Tinker9, and it has not created these output files. While I can extract this last frame from file.arc (regardless of archive being present in the keyword file), having it automatically created at the end of the run is something that can be very useful.

Is there a keyword that I am missing to get this printed out? I have tried tweaking a few things, but have not been able to get that output.

The following commands create only "ar94.arc" and "ar94.dyn" files.

cd example/
tinker9 dynamic ar94 10000 1 1 1

Activity

  1. zhi-wang commented on May 31, 2021

    @zhi-wang
    Member

    I think ".xyz_2" file must have been created by another program, probably "minimize". I don't remember that "dynamic" may create an ".xyz_2" file.

  2. mquevill commented on Jun 1, 2021

    @mquevill
    Author

    Ah yes, you are right - dynamic doesn't produce an output .xyz_2 file. While the resulting .dyn file can be used to (re)start a simulation, is there an easy way of extracting the last configuration of an archive file without knowing how many steps were taken?

  3. zhi-wang commented on Jun 1, 2021

    @zhi-wang
    Member

    Let's say you have 1000 atoms in your system, how about the following command:

    tail -1002 file.arc > file.xyz_2
  4. leucinw commented on Jun 1, 2021

    @leucinw
    Member

    How about this

    tail -n `cat your.xyz | wc -l` your.arc > your.xyz_2

  5. locked and limited conversation to collaborators on Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions