[gmx-users] concatenate log files

Justin A. Lemkul jalemkul at vt.edu
Mon May 21 19:50:41 CEST 2012

On 5/21/12 7:25 PM, Andreas Zink wrote:
> Hi,
> what is the easiest way to concatenate .log files? Is there a tool like trjcat
> for trajectory files? Or do I have to do it by hand?
> I recently had to restart a REMD simulation from checkpoint files after it
> crashed. I did not use the append option and now have two log files for each
> replica. I want to concatenate the log files in order to run the demux script on
> them. (See postprocessing section at
> http://www.gromacs.org/Documentation/How-tos/REMD)

Since it's just a text file, use the Unix 'cat' command:

cat log1.log log2.log > full.log



Justin A. Lemkul, Ph.D.
Research Scientist
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080


More information about the gromacs.org_gmx-users mailing list