<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello, everyone:<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>When I run the Flash code with the StirTrub unit for my turbulence simulation, it works well.But when I want to restart from a checkpointfile , something went wrong.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>To restart from a CheckPointFile, I changed my flash.par :</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>```</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>restart = .true.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>checkpointFileNumber = 5</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>plotFileNumber = 10</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>```</div><div class="">The total number of CheckPointFile is 10, and for plotfile is 20 when I run the code first time. So I just want to restart from half the number</div><div class="">That is the error I met :</div><div class="">```</div><div class=""><div class=""> [io_readData] Opening driventurb_3d_hdf5_chk_0005 for restart</div><div class=""> Progress: seed length = 0</div><div class=""> Random seed =</div><div class=""> nmodes = 188</div><div class=""> Source terms initialized</div><div class=""> Finished with Grid_initDomain, restart</div><div class=""> Ready to call Hydro_init</div><div class=""> Hydro initialized</div><div class=""> Gravity initialized</div><div class=""> Initial dt verified</div><div class=""> *** Wrote plotfile to driventurb_3d_forced_hdf5_plt_cnt_0000 ****</div><div class=""> Initial plotfile written</div><div class=""> Driver init all done</div><div class=""> n t dt ( x, y, z) |</div><div class=""> 106 2.5417E+00 4.9986E-02 ( 999. , 999. , 999. ) |</div><div class=""> 107 2.5917E+00 9.9972E-02 ( 999. , 999. , 999. ) |</div><div class=""> 108 2.6916E+00 1.9994E-01 ( 999. , 999. , 999. ) |</div><div class=""> *** Wrote plotfile to driventurb_3d_hdf5_plt_cnt_0010 ****</div><div class=""> 109 2.8916E+00 3.9989E-01 ( 999. , 999. , 999. ) |</div><div class=""> *** Wrote plotfile to driventurb_3d_hdf5_plt_cnt_0011 ****</div><div class=""> 110 3.2915E+00 7.9977E-01 ( 999. , 999. , 999. ) |</div><div class=""> *** Wrote checkpoint file to driventurb_3d_hdf5_chk_0006 ****</div><div class=""> *** Wrote plotfile to driventurb_3d_hdf5_plt_cnt_0012 ****</div><div class=""> 111 4.0912E+00 1.5995E+00 ( 999. , 999. , 999. ) |</div><div class=""> *** Wrote checkpoint file to driventurb_3d_hdf5_chk_0007 ****</div><div class=""> *** Wrote plotfile to driventurb_3d_hdf5_plt_cnt_0013 ****</div><div class=""> 112 5.6908E+00 3.1991E+00 ( 999. , 999. , 999. ) |</div><div class=""> *** Wrote checkpoint file to driventurb_3d_hdf5_chk_0008 ****</div><div class=""> *** Wrote plotfile to driventurb_3d_hdf5_plt_cnt_0014 ****</div><div class=""> 113 8.8899E+00 6.3982E+00 ( 999. , 999. , 999. ) |</div><div class=""> *** Wrote checkpoint file to driventurb_3d_hdf5_chk_0009 ****</div><div class=""> *** Wrote plotfile to driventurb_3d_hdf5_plt_cnt_0015 ****</div><div class=""> 114 1.5288E+01 1.2796E+01 ( 999. , 999. , 999. ) |</div><div class=""> *** Wrote checkpoint file to driventurb_3d_hdf5_chk_0010 ****</div><div class=""> exiting: reached max SimTime</div><div class=""> *** Wrote plotfile to driventurb_3d_forced_hdf5_plt_cnt_0001 ****</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated 'st_randseed'</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated 'st_randseed'</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated 'st_randseed'</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated 'st_randseed'</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated 'st_randseed'</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated 'st_randseed'</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated 'st_randseed'</div><div class="">At line 25 of file Stir_finalize.F90</div><div class="">Fortran runtime error: Attempt to DEALLOCATE unallocated ‘st_randseed'</div></div><div class="">```</div><div class="">The file <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Stir_finalize.F90 is below:</span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">!!****if* source/physics/sourceTerms/Stir/StirMain/Generate/Stir_finalize</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! NAME</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! Stir_finalize</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! SYNOPSIS</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! call Stir_finalize()</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! ARGUMENTS</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! none</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! DESCRIPTION</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! Clean up the Stir unit</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!***</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> subroutine Stir_finalize()</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> use Stir_data, ONLY : st_randseed, st_reproducible, &</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> st_saveReproducible, st_randomSaveUnit</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> implicit none</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> deallocate(st_randseed) !!!!!!!! This is the 25th line.</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> if(st_reproducible.or.st_saveReproducible)&</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> close(unit=st_randomSaveUnit)</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> return</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""> end subroutine Stir_finalize</span></font></div></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">I have updated the log file for you to check my work. If someone met the some questions, let me know. </span></font></div><div class=""></div></body></html>