<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="">Additionally, I may not receive the mail from the flash-user mail list. I try to join the mail list. If you have any idea about the question, please CC to me at <a href="mailto:juwj@mail2.sysu.edu.cn" class="">juwj@mail2.sysu.edu.cn</a>. Thanks everyone !<div class="">Best wishes! <br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Begin forwarded message:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Tristan <<a href="mailto:juwj@mail2.sysu.edu.cn" class="">juwj@mail2.sysu.edu.cn</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Some Problem when restart the StirTurb</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">May 25, 2021 at 12:18:44 AM GMT+8<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:flash-users@flash.uchicago.edu" class="">flash-users@flash.uchicago.edu</a><br class=""></span></div><br class=""><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div 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);" class="">Stir_finalize.F90 is below:</span></div><div class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><div class=""><font 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 class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! NAME</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! Stir_finalize</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! SYNOPSIS</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! call Stir_finalize()</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! ARGUMENTS</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! none</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! DESCRIPTION</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !! Clean up the Stir unit</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> !!***</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> subroutine Stir_finalize()</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> use Stir_data, ONLY : st_randseed, st_reproducible, &</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> st_saveReproducible, st_randomSaveUnit</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> implicit none</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> deallocate(st_randseed) !!!!!!!! This is the 25th line.</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> if(st_reproducible.or.st_saveReproducible)&</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> close(unit=st_randomSaveUnit)</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> return</span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""> end subroutine Stir_finalize</span></font></div></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font 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></div></div></blockquote></div></div></body></html>