<div dir="ltr">Hi all,<div><br></div><div>I am trying to run Rockstar Halo Finding with the following code.</div><div><br></div><div><font face="monospace, monospace">from yt.mods import *</font><div><font face="monospace, monospace">from yt.analysis_modules.halo_finding.rockstar.api import RockstarHaloFinder</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">#find all of our simulation files</font></div><div><font face="monospace, monospace">files = glob.glob("RD*/*hierarchy")</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">#hopefully the file name order is chronological</font></div><div><font face="monospace, monospace">files.sort()</font></div><div><font face="monospace, monospace">print files</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">ts = TimeSeriesData.from_filenames(files[:])</font></div><div><font face="monospace, monospace">rh = RockstarHaloFinder(ts)</font></div><div><font face="monospace, monospace">rh.run()</font></div><div><br></div><div>but I am getting the following error. <br><div> <font face="monospace, monospace">File "rockstar_halo_finding.py", line 14, in <module></font></div><div><font face="monospace, monospace"> rh = RockstarHaloFinder(ts)</font></div><div><font face="monospace, monospace"> File "/home/john/yt_new/yt-x86_64/src/yt-hg/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 220, in __init__</font></div><div><font face="monospace, monospace"> self.pool, self.workgroup = self.runner.setup_pool()</font></div><div><font face="monospace, monospace"> File "/home/john/yt_new/yt-x86_64/src/yt-hg/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 102, in setup_pool</font></div><div><font face="monospace, monospace"> (self.num_writers, "writers") ]</font></div><div><font face="monospace, monospace"> File "/home/john/yt_new/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 325, in from_sizes</font></div><div><font face="monospace, monospace"> pool.add_workgroup(size, name = name)</font></div><div><font face="monospace, monospace"> File "/home/john/yt_new/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 293, in add_workgroup</font></div><div><font face="monospace, monospace"> group = self.comm.comm.Get_group().Incl(ranks)</font></div><div><font face="monospace, monospace">AttributeError: 'NoneType' object has no attribute 'Get_group'</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">could you please explain what is going wrong here ?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thank you. </font></div><div>-- <br></div><div class="gmail_signature"><div dir="ltr">Reju Sam John</div></div>
</div></div>