I'm annealing a system and setting multiple fixes in the same input script to change the thermostat parameters. When the below is contained in the input file (for example), the simulation completes and all other output files write successfully - but the trajectory file is empty.
fix ID all nvt temp 300.0 400.0 100.0 tchain 1 #anneal 300K to 400K
run 500000
fix ID all nvt temp 400.0 400.0 100.0 tchain 1 #hold at 400K
run 500000
dump ID all dcd 10000 trajectory.dcd
However, when removing all but one of the fixes (i.e., to run a simulation at constant T) - keeping everything else in the input file the same - the trajectory file is written as normal.
fix ID all nvt temp 300.0 300.0 100.0 tchain 1 #hold at 300k
run 500000
dump ID all dcd 10000 trajectory.dcd