You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importnumpyasnpimportytfromyt.data_objects.level_sets.apiimportClump, find_clumpsyt.enable_parallelism()
defyt_inline():
ds=yt.frontends.libyt.libytDataset()
data_source=ds.all_data()
c_min=10**np.floor(np.log10(data_source[("gas", "density")]).min())
c_max=10**np.floor(np.log10(data_source[("gas", "density")]).max() +1)
master_clump=Clump(data_source, ("gas", "density"))
master_clump.add_validator("min_cells", 20)
find_clumps(master_clump, c_min, c_max, 2.0)
leaf_clumps=master_clump.leavesprj=yt.ProjectionPlot(ds, "z", ("gamer","Dens"), center="c")
prj.annotate_clumps(leaf_clumps)
# Either having this is clause or not, it will still failed when MPI = 3.ifyt.is_root():
prj.save()
Description:
FAILED in MPI = 3, stuck at somewhere else, other than class IOHandlerlibyt.
SUCCEED in MPI = 1, and MPI = 4.
Just like the projection plot, because i didn't set a range that actually grab a clump.
The text was updated successfully, but these errors were encountered:
Annotate Clumps Not Working in Odd MPI Size
gamer
MHD Vortexclass IOHandlerlibyt
.The text was updated successfully, but these errors were encountered: