[Enzo 2.5] issue with running rockstar for Dark Matter only simulation

Hello,
I'm trying to run rockstar on some Dark Matter data to get merger trees but I keep getting this error:
Traceback (most recent call last): File "halos_rockstar.py", line 53, in <module> rh = RockstarHaloFinder(es, num_readers= 2, num_writers= 4, particle_type= "dark_matter_nested") File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 203, in __init__ self.runner = StandardRunner(num_readers, num_writers) File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 85, in __init__ raise RuntimeError RuntimeError
Not entirely sure what this means I've been able to run rockstar before on the same halo with baryons on. But now rockstar isn't running on anything. Hope someone can shed some light on this situation.
Thank you very much Andy

Andy,
Did you and Sam try to sort this out? What happened?
Dan
On Fri, Jan 18, 2019 at 1:19 PM Andrew Cook Andrew.Cook1@myport.ac.uk wrote:
Hello,
I'm trying to run rockstar on some Dark Matter data to get merger trees but I keep getting this error:
Traceback (most recent call last): File "halos_rockstar.py", line 53, in <module> rh = RockstarHaloFinder(es, num_readers= 2, num_writers= 4, particle_type= "dark_matter_nested") File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 203, in __init__ self.runner = StandardRunner(num_readers, num_writers) File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 85, in __init__ raise RuntimeError RuntimeError
Not entirely sure what this means I've been able to run rockstar before on the same halo with baryons on. But now rockstar isn't running on anything. Hope someone can shed some light on this situation.
Thank you very much Andy _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org

Hi Andy,
That error gets raised when the number of MPI processes running rockstar is not correct (usually when it is less than three), since rockstar needs at least one reader, one writer, and one halo finding process. An error message is getting logged in yt's logging messages, but that information isn't getting printed in the RuntimeError itself.
I've issued a PR to yt_astro_analysis to make the error message clearer:
https://github.com/yt-project/yt_astro_analysis/pull/42
By the way, the analysis modules in yt itself are now deprecated (i.e. they are not being actively maintained and will be removed eventually) and we encourage people to use yt_astro_analysis from now on.
-Nathan
On Fri, Jan 18, 2019 at 7:19 AM Andrew Cook Andrew.Cook1@myport.ac.uk wrote:
Hello,
I'm trying to run rockstar on some Dark Matter data to get merger trees but I keep getting this error:
Traceback (most recent call last): File "halos_rockstar.py", line 53, in <module> rh = RockstarHaloFinder(es, num_readers= 2, num_writers= 4, particle_type= "dark_matter_nested") File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 203, in __init__ self.runner = StandardRunner(num_readers, num_writers) File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 85, in __init__ raise RuntimeError RuntimeError
Not entirely sure what this means I've been able to run rockstar before on the same halo with baryons on. But now rockstar isn't running on anything. Hope someone can shed some light on this situation.
Thank you very much Andy _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org

Hello,
Latif, I'm not exactly sure where to find this particle_type parameter would it be in the parameter file? Also I have tried running it on multi particle sims and it still doesn't work.
Nathan, thank you for asking the question. Currently the num_readers is 2 and num_writers is 4, not sure what this does if i'm honest but if this is wrong what should I change it to?
Cheers Andy
On Fri, 18 Jan 2019 at 15:13, Nathan Goldbaum nathan12343@gmail.com wrote:
Hi Andy,
That error gets raised when the number of MPI processes running rockstar is not correct (usually when it is less than three), since rockstar needs at least one reader, one writer, and one halo finding process. An error message is getting logged in yt's logging messages, but that information isn't getting printed in the RuntimeError itself.
I've issued a PR to yt_astro_analysis to make the error message clearer:
https://github.com/yt-project/yt_astro_analysis/pull/42
By the way, the analysis modules in yt itself are now deprecated (i.e. they are not being actively maintained and will be removed eventually) and we encourage people to use yt_astro_analysis from now on.
-Nathan
On Fri, Jan 18, 2019 at 7:19 AM Andrew Cook Andrew.Cook1@myport.ac.uk wrote:
Hello,
I'm trying to run rockstar on some Dark Matter data to get merger trees but I keep getting this error:
Traceback (most recent call last): File "halos_rockstar.py", line 53, in <module> rh = RockstarHaloFinder(es, num_readers= 2, num_writers= 4, particle_type= "dark_matter_nested") File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 203, in __init__ self.runner = StandardRunner(num_readers, num_writers) File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 85, in __init__ raise RuntimeError RuntimeError
Not entirely sure what this means I've been able to run rockstar before on the same halo with baryons on. But now rockstar isn't running on anything. Hope someone can shed some light on this situation.
Thank you very much Andy _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org

In that case you need to be running Python with 7 MPI processes.
On Fri, Jan 18, 2019 at 7:14 PM Andrew Cook Andrew.Cook1@myport.ac.uk wrote:
Hello,
Latif, I'm not exactly sure where to find this particle_type parameter would it be in the parameter file? Also I have tried running it on multi particle sims and it still doesn't work.
Nathan, thank you for asking the question. Currently the num_readers is 2 and num_writers is 4, not sure what this does if i'm honest but if this is wrong what should I change it to?
Cheers Andy
On Fri, 18 Jan 2019 at 15:13, Nathan Goldbaum nathan12343@gmail.com wrote:
Hi Andy,
That error gets raised when the number of MPI processes running rockstar is not correct (usually when it is less than three), since rockstar needs at least one reader, one writer, and one halo finding process. An error message is getting logged in yt's logging messages, but that information isn't getting printed in the RuntimeError itself.
I've issued a PR to yt_astro_analysis to make the error message clearer:
https://github.com/yt-project/yt_astro_analysis/pull/42
By the way, the analysis modules in yt itself are now deprecated (i.e. they are not being actively maintained and will be removed eventually) and we encourage people to use yt_astro_analysis from now on.
-Nathan
On Fri, Jan 18, 2019 at 7:19 AM Andrew Cook Andrew.Cook1@myport.ac.uk wrote:
Hello,
I'm trying to run rockstar on some Dark Matter data to get merger trees but I keep getting this error:
Traceback (most recent call last): File "halos_rockstar.py", line 53, in <module> rh = RockstarHaloFinder(es, num_readers= 2, num_writers= 4, particle_type= "dark_matter_nested") File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 203, in __init__ self.runner = StandardRunner(num_readers, num_writers) File "/opt/apps/yt/3.3.5b/yt-conda/src/yt-git/yt/analysis_modules/halo_finding/rockstar/rockstar.py", line 85, in __init__ raise RuntimeError RuntimeError
Not entirely sure what this means I've been able to run rockstar before on the same halo with baryons on. But now rockstar isn't running on anything. Hope someone can shed some light on this situation.
Thank you very much Andy _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
participants (3)
-
Andrew Cook
-
Daniel Whalen
-
Nathan Goldbaum