Closed cindytsai closed 2 years ago
gamer
Plummerimport yt
yt.enable_parallelism()
def yt_inline():
ds = yt.frontends.libyt.libytDataset()
par = yt.ParticlePlot( ds, 'particle_position_x', 'particle_position_y', "particle_mass", center='c' )
if yt.is_root():
par.save()
gamer
Plummerimport yt
yt.enable_parallelism()
def yt_inline():
ds = yt.frontends.libyt.libytDataset()
par = yt.ParticlePlot( ds, 'particle_position_x', 'particle_position_y', "particle_mass", center='c' )
if yt.is_root():
par.save()
OMPI_MCA_osc=sm,pt2pt mpirun -np 4 --output-filename log ./gamer
OMPI_MCA_osc=sm.pt2pt
at the front, otherwise will reach an assertion error when encountered RMA operations. This only happens in eureka.gamer
Plummerimport yt
yt.enable_parallelism()
def yt_inline():
ds = yt.frontends.libyt.libytDataset()
par_prj = yt.ParticleProjectionPlot( ds, "z" )
if yt.is_root():
par_prj.save()
OMPI_MCA_osc=sm,pt2pt mpirun -np 32 --output-filename log ./gamer
Output: MPI = 1 and MPI = 32 are the same.
MPI = 1
MPI = 32
Support Particle Functionalities
Initially, particle plots may generate false figure, if the MPI size is too large. After testing on different machine, this doesn't seems to be an issue in
libyt
. This is more or less related to memory space of one machine has. But we still cannot find where actually is this issue, we move to another issue.41
ParticleProjectionPlot