Hello,
I've used GROMACS to perform a short REMD simulation (200 ps) in order to test whether my choice of temperature range allowed sufficient exchanges between replicas.
The REMD simulations progressed and finished without problems and produced the following files in each replica directory: remd.part0001.log, remd.part0001.xtc, remd.part0001.edr, remd.part0001.trr, remd.part0001.gro (I used -deffnm remd and -noappend to run the REMD simulation, hence those file names).
Concatenating the .part0001.log files with the command below worked fine; the replica directories are named rep_0, rep_1, etc. and I was in a separate directory to create the new files (hence going up one directory with cat ../rep_{0..16}/etc.).
cat ../rep_{0..16}/remd.part0001.log > REMD.log
The replica_index.xvg and replica_temp.xvg files were created with the command:
demux.pl REMD.log
However when trying the command:
gmx trjcat -f ../rep_{0..16}/remd.part0001.xtc -demux replica_index.xvg
It results in the below. Note that it's calling the correct .xtc files from all replica directories. I've trying renaming the files remd_0.xtc, remd_1.xtc. etc. and work from a single directory, to no avail. There isn't much info to go by besides "Sorry, write_trxframe can not write unknown".
Command line:
gmx trjcat -f ../rep_0/remd.part0001.xtc ../rep_1/remd.part0001.xtc ../rep_2/remd.part0001.xtc ../rep_3/remd.part0001.xtc ../rep_4/remd.part0001.xtc ../rep_5/remd.part0001.xtc ../rep_6/remd.part0001.xtc ../rep_7/remd.part0001.xtc ../rep_8/remd.part0001.xtc ../rep_9/remd.part0001.xtc ..
/rep_10/remd.part0001.xtc ../rep_11/remd.part0001.xtc ../rep_12/remd.part0001.xtc ../rep_13/remd.part0001.xtc ../rep_14/remd.part0001.xtc ../rep_15/remd.part0001.xtc ../rep_16/remd.part0001.xtc -demux replica_index.xvg
Note that major changes are planned in future for trjcat, to improve usability and utility.Read 17 sets of 1684 points, dt = 0.117647
Reading frame 0 time 0.000
-------------------------------------------------------
Program: gmx trjcat, version 2020.1
Source file: src/gromacs/fileio/trxio.cpp (line 557)
Fatal error:
Sorry, write_trxframe can not write unknown
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors