Skip to content

COrrection for running the morphtrench and the flocvprof test cases

I think that you should make one additional change in the code in Model_Finalisation.f90

Subroutine write_phsics

Line 604 (?)

Change

IF (nt.EQ.0) itrestart = 0

to

IF (nt.EQ.0 .OR. nt.EQ.1) itrestart = 0

This is needed to let the testcases flocvprof and morphtrench run ok.

In these test cases different initialisation runs are executed after running a test case e.g. morphtest0A - morphtest1A and then morphtest0B morphtest1B and so further.

However when the new initialisation is done the time step is apparently not 0 but is 1. WHen it is 0, there is no writing of the final restart data in the fincon file. Therefore there is a crash...

I hope this is ok?

THanks! Kind regards, Dries.