<div dir="ltr"><div><div><div><div><div>Dear All,<br><br></div>I am trying to build a merger tree of halos over a time series with <tt class=""><span class="">MergerTree</span></tt>()<br></div>using the following code.<br>
<i>from yt.mods import *<br>from yt.analysis_modules.halo_merger_tree.api import *<br>from yt.analysis_modules.halo_finding.api import *<br>import sqlite3<br><br>files = []<br>start = 10<br>finish = 58<br>for i in range(start, finish + 1):<br>
    files.append('/data1/pdf/csurajit/cosmo-sim_1/RD%04d/RedshiftOutput%04d' % (i, i))<br><br>MergerTree(restart_files=files, database='/data1/pdf/csurajit/cosmo-sim_1/halos/halos.db', halo_finder_function=parallelHF)<br>
</i><br><br></div>But I am getting the following error <br><br>Traceback (most recent call last):<br>  File "halo_db.py", line 11, in <module><br>    MergerTree(restart_files=files, database='/data1/pdf/csurajit/cosmo-sim_1/halos/halos.db', halo_finder_function=parallelHF)<br>
  File "/home/pdf/csurajit/yt-x86_64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py", line 190, in __init__<br>    self._run_halo_finder_add_to_db()<br>  File "/home/pdf/csurajit/yt-x86_64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py", line 270, in _run_halo_finder_add_to_db<br>
    self.cursor.execute(line)<br>sqlite3.OperationalError: disk I/O error<br><br></div>What may be the problem?<br></div>Thank You..<br><div><div><div><div><div><div><div><br>-- <br><div dir="ltr">Reju Sam John</div>
</div></div></div></div></div></div></div></div>