I have a problem where the QM/MM calculations run fine with NPT_F ENSEMBLE for however long that you want it to be (say 20000 steps). However, if you stop the simulations halfway (say 10000 steps). Restarting the simulations with the restart file will give you CPASSERT failed error.<div><br></div><div>I have tried various systems and it seems that this is an error that only occurs when using NPT_F ENSEMBLE for QM/MM simulations. Running NPT_I ENSEMBLE for QM/MM simulations running fine.</div><div><br></div><div>So I have provided two input files which are for on the NPT-1.restart from the tutorial https://www.cp2k.org/howto:biochem_qmmm.</div><div><br></div><div>monitor_NPT_I.inp<br></div><div><br></div><div><div>&MOTION</div><div>  &MD</div><div>    ENSEMBLE NPT_I</div><div>    &BAROSTAT</div><div>      PRESSURE [bar] 1.0</div><div>    &END BAROSTAT</div></div><div>&END MD<br></div><div><br></div><div>works fine</div><div>monitor_NPT_F.inp<br></div><div><div><div>&MOTION</div><div>  &MD</div><div>    ENSEMBLE NPT_F</div><div>    &BAROSTAT</div><div>      PRESSURE [bar] 1.0</div><div>      VIRIAL XYZ<br></div><div>    &END BAROSTAT</div></div><div>  &END MD</div></div><div><br></div><div>won't work and would give Error in diagonalisation  .</div>