Note
Go to the end to download the full example code.
Shearing box in SPH#
This simple example shows how to run an unstratified shearing box simulaiton
9 import shamrock
10
11 # If we use the shamrock executable to run this script instead of the python interpreter,
12 # we should not initialize the system as the shamrock executable needs to handle specific MPI logic
13 if not shamrock.sys.is_initialized():
14 shamrock.change_loglevel(1)
15 shamrock.sys.init("0:0")
Initialize context & attach a SPH model to it
21 ctx = shamrock.Context()
22 ctx.pdata_layout_new()
23
24 model = shamrock.get_Model_SPH(context=ctx, vector_type="f64_3", sph_kernel="M4")
Setup parameters
29 gamma = 5.0 / 3.0
30 rho = 1
31 uint = 1
32
33 dr = 0.02
34 bmin = (-0.6, -0.6, -0.1)
35 bmax = (0.6, 0.6, 0.1)
36 pmass = -1
37
38 bmin, bmax = model.get_ideal_fcc_box(dr, bmin, bmax)
39 xm, ym, zm = bmin
40 xM, yM, zM = bmax
41
42 Omega_0 = 1
43 eta = 0.00
44 q = 3.0 / 2.0
45
46 shear_speed = -q * Omega_0 * (xM - xm)
47
48
49 render_gif = True
50
51 dump_folder = "_to_trash"
52 sim_name = "sph_shear_test"
53
54 import os
55
56 # Create the dump directory if it does not exist
57 if shamrock.sys.world_rank() == 0:
58 os.makedirs(dump_folder, exist_ok=True)
Generate the config & init the scheduler
62 cfg = model.gen_default_config()
63 # cfg.set_artif_viscosity_Constant(alpha_u = 1, alpha_AV = 1, beta_AV = 2)
64 # cfg.set_artif_viscosity_VaryingMM97(alpha_min = 0.1,alpha_max = 1,sigma_decay = 0.1, alpha_u = 1, beta_AV = 2)
65 cfg.set_artif_viscosity_VaryingCD10(
66 alpha_min=0.0, alpha_max=1, sigma_decay=0.1, alpha_u=1, beta_AV=2
67 )
68 cfg.set_boundary_shearing_periodic((1, 0, 0), (0, 1, 0), shear_speed)
69 cfg.set_eos_adiabatic(gamma)
70 cfg.add_ext_force_shearing_box(Omega_0=Omega_0, eta=eta, q=q)
71 cfg.set_units(shamrock.UnitSystem())
72 cfg.print_status()
73 model.set_solver_config(cfg)
74
75 model.init_scheduler(int(1e7), 1)
76
77 model.resize_simulation_box(bmin, bmax)
----- SPH Solver configuration -----
[
{
"artif_viscosity": {
"alpha_max": 1.0,
"alpha_min": 0.0,
"alpha_u": 1.0,
"av_type": "varying_cd10",
"beta_AV": 2.0,
"sigma_decay": 0.1
},
"boundary_config": {
"bc_type": "shearing_periodic",
"shear_base": [
1,
0,
0
],
"shear_dir": [
0,
1,
0
],
"shear_speed": -1.8000000000000003
},
"cfl_config": {
"cfl_cour": 0.0,
"cfl_force": 0.0,
"cfl_multiplier_stiffness": 2.0,
"eta_sink": 0.05
},
"combined_dtdiv_divcurlv_compute": false,
"debug_dump_filename": "",
"do_debug_dump": false,
"enable_particle_reordering": false,
"eos_config": {
"Tvec": "f64_3",
"eos_type": "adiabatic",
"gamma": 1.6666666666666667
},
"epsilon_h": 1e-06,
"ext_force_config": {
"force_list": [
{
"Omega_0": 1.0,
"eta": 0.0,
"force_type": "shearing_box_force",
"q": 1.5,
"shear_base": [
1,
0,
0
],
"shear_dir": [
0,
1,
0
]
}
]
},
"gpart_mass": 0.0,
"h_iter_per_subcycles": 50,
"h_max_subcycles_count": 100,
"htol_up_coarse_cycle": 1.1,
"htol_up_fine_cycle": 1.1,
"kernel_id": "M4<f64>",
"mhd_config": {
"mhd_type": "none"
},
"particle_killing": [],
"particle_reordering_step_freq": 1000,
"self_grav_config": {
"softening_length": 1e-09,
"softening_mode": "plummer",
"type": "none"
},
"show_neigh_stats": false,
"smoothing_length_config": {
"type": "density_based"
},
"time_state": {
"cfl_multiplier": 0.01,
"dt_sph": 0.0,
"time": 0.0
},
"tree_reduction_level": 3,
"type_id": "sycl::vec<f64,3>",
"unit_sys": {
"unit_current": 1.0,
"unit_length": 1.0,
"unit_lumint": 1.0,
"unit_mass": 1.0,
"unit_qte": 1.0,
"unit_temperature": 1.0,
"unit_time": 1.0
},
"use_two_stage_search": true
}
]
------------------------------------
Add the particles & set fields values Note that every field that are not mentionned are set to zero
83 model.add_cube_fcc_3d(dr, bmin, bmax)
84
85 vol_b = (xM - xm) * (yM - ym) * (zM - zm)
86
87 totmass = rho * vol_b
88 # print("Total mass :", totmass)
89
90 pmass = model.total_mass_to_part_mass(totmass)
91
92 model.set_value_in_a_box("uint", "f64", 1, bmin, bmax)
93 # model.set_value_in_a_box("vxyz","f64_3", (-10,0,0) , bmin,bmax)
94
95 pen_sz = 0.1
96
97 mm = 1
98 MM = 0
99
100
101 def vel_func(r):
102 global mm, MM
103 x, y, z = r
104
105 s = (x - (xM + xm) / 2) / (xM - xm)
106 vel = (shear_speed) * s
107
108 mm = min(mm, vel)
109 MM = max(MM, vel)
110
111 return (0, vel, 0.0)
112 # return (1,0,0)
113
114
115 model.set_field_value_lambda_f64_3("vxyz", vel_func)
116 # print("Current part mass :", pmass)
117 model.set_particle_mass(pmass)
118
119
120 tot_u = pmass * model.get_sum("uint", "f64")
121 # print("total u :",tot_u)
122
123 print(f"v_shear = {shear_speed} | dv = {MM-mm}")
124
125
126 model.set_cfl_cour(0.3)
127 model.set_cfl_force(0.25)
Info: Add fcc lattice size : ( 31 34 6 ) [SPH][rank=0]
Info: Push particles : [Model][rank=0]
rank = 0 patch id=0, add N=6120 particles, coords = (-0.6,-0.6,-0.1) (0.6000000000000002,0.5777945491468365,0.09595917942265422)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 24.12 us (53.7%)
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.58 us (0.6%)
patch tree reduce : 3.02 us (0.4%)
gen split merge : 621.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 902.00 ns (0.1%)
LB compute : 724.46 us (97.5%)
LB move op cnt : 0
LB apply : 4.56 us (0.6%)
Info: current particle counts : min = 6120 max = 6120 [Model][rank=0]
v_shear = -1.8000000000000003 | dv = 1.7700000000000002
Perform the plot
132 from math import exp
133
134 import matplotlib.pyplot as plt
135 import numpy as np
136
137
138 def plot(iplot):
139 dic = ctx.collect_data()
140 fig, axs = plt.subplots(2, 1, figsize=(5, 8), sharex=True)
141 fig.suptitle("t = {:.2f}".format(model.get_time()))
142 axs[0].scatter(dic["xyz"][:, 0], dic["xyz"][:, 1], s=1)
143 axs[1].scatter(dic["xyz"][:, 0], dic["vxyz"][:, 1], s=1)
144
145 axs[0].set_ylabel("y")
146 axs[1].set_ylabel("vy")
147 axs[1].set_xlabel("x")
148
149 axs[0].set_xlim(xm - 0.1, xM + 0.1)
150 axs[0].set_ylim(ym - 0.1, yM + 0.1)
151
152 axs[1].set_xlim(xm - 0.1, xM + 0.1)
153 axs[1].set_ylim(shear_speed * 0.7, -shear_speed * 0.7)
154
155 plt.tight_layout()
156 plt.savefig(os.path.join(dump_folder, f"{sim_name}_{iplot:04}.png"))
157 plt.close(fig)
Performing the timestep loop
162 model.timestep()
163
164 dt_stop = 0.02
165 for i in range(20):
166
167 t_target = i * dt_stop
168 # skip if the model is already past the target
169 if model.get_time() > t_target:
170 continue
171
172 model.evolve_until(i * dt_stop)
173
174 # Dump name is "dump_xxxx.sham" where xxxx is the timestep
175 model.do_vtk_dump(os.path.join(dump_folder, f"{sim_name}_{i:04}.vtk"), True)
176 plot(i)
---------------- t = 0, dt = 0 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 22.35 us (2.3%)
patch tree reduce : 2.12 us (0.2%)
gen split merge : 531.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 981.00 ns (0.1%)
LB compute : 909.50 us (94.0%)
LB move op cnt : 0
LB apply : 3.80 us (0.4%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.18 us (67.5%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 0.741503267973856
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.022000000000000002 unconverged cnt = 6120
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 0.7684640522875816
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.024200000000000003 unconverged cnt = 6120
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 0.7684640522875816
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.026620000000000005 unconverged cnt = 6120
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 0.794607843137255
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.029282000000000006 unconverged cnt = 6120
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 0.8504901960784312
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.03221020000000001 unconverged cnt = 6120
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.320424836601307
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.03543122000000001 unconverged cnt = 6120
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.320424836601307
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.038974342000000016 unconverged cnt = 6120
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4184640522875813
Info: conservation infos : [sph::Model][rank=0]
sum v = (0,0.004154393760827168,0)
sum a = (5.749831422387759e-17,-1.268530749322839e-18,0.005082303061895425)
sum e = 0.3143698998713959
sum de = 9.604356448640144e-05
Info: CFL hydro = 0.00011089173088629873 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.00011089173088629873 cfl multiplier : 0.01 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 2.6527e+04 | 6120 | 1 | 2.307e-01 | 0.0% | 1.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 0 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 1 [SPH][rank=0]
Info: time since start : 1165.811733279 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0000.vtk [VTK Dump][rank=0]
- took 3.25 ms, bandwidth = 150.99 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0, dt = 0.00011089173088629873 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.19 us (1.8%)
patch tree reduce : 1032.00 ns (0.2%)
gen split merge : 591.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1292.00 ns (0.2%)
LB compute : 527.53 us (95.5%)
LB move op cnt : 0
LB apply : 4.53 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.66 us (76.0%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4470588235294115
Info: conservation infos : [sph::Model][rank=0]
sum v = (6.376090467813486e-21,9.003538195076239e-18,5.635853834223197e-07)
sum a = (5.3192228938715534e-17,5.133918680613858e-18,0.005082303030646949)
sum e = 0.31436991054897806
sum de = 9.744668853644862e-05
Info: CFL hydro = 0.0037703106533756884 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.0037703106533756884 cfl multiplier : 0.34 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.0839e+05 | 6120 | 1 | 5.646e-02 | 0.0% | 1.5% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 7.070246700667248 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.00011089173088629873, dt = 0.0037703106533756884 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.56 us (1.3%)
patch tree reduce : 1343.00 ns (0.4%)
gen split merge : 621.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1242.00 ns (0.4%)
LB compute : 324.13 us (94.9%)
LB move op cnt : 0
LB apply : 3.83 us (1.1%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.78 us (66.9%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4388888888888887
Info: conservation infos : [sph::Model][rank=0]
sum v = (2.0668861859324668e-19,-2.7010614585228717e-17,1.9725446641821464e-05)
sum a = (6.37773126809808e-17,-2.1959727729691148e-17,0.005082264782670172)
sum e = 0.31437028333439715
sum de = 0.00013824059786473767
Info: CFL hydro = 0.006209449394346196 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.006209449394346196 cfl multiplier : 0.56 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1278e+05 | 6120 | 1 | 5.427e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 250.11885014426403 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.003881202384261987, dt = 0.006209449394346196 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.21 us (1.2%)
patch tree reduce : 1182.00 ns (0.3%)
gen split merge : 671.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1322.00 ns (0.4%)
LB compute : 327.11 us (94.9%)
LB move op cnt : 0
LB apply : 3.89 us (1.1%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.42 us (68.2%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4367647058823527
Info: conservation infos : [sph::Model][rank=0]
sum v = (6.226330441557511e-19,-6.431098710768742e-18,5.12834405151026e-05)
sum a = (6.52027996242198e-17,3.244061253126282e-18,0.005082044319848353)
sum e = 0.3143712315922658
sum de = 0.00020394600495907332
Info: CFL hydro = 0.007834596847674341 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.007834596847674341 cfl multiplier : 0.7066666666666667 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1213e+05 | 6120 | 1 | 5.458e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 409.58420071974007 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.010090651778608184, dt = 0.007834596847674341 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.73 us (1.4%)
patch tree reduce : 1212.00 ns (0.4%)
gen split merge : 791.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1032.00 ns (0.3%)
LB compute : 320.31 us (94.9%)
LB move op cnt : 0
LB apply : 3.42 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.40 us (69.0%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4455882352941174
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.1377257946042637e-18,2.572439484307497e-17,9.10985244467601e-05)
sum a = (5.818040409351076e-17,-4.731463811165689e-18,0.005081486569882726)
sum e = 0.31437304989827836
sum de = 0.00028163943820289734
Info: CFL hydro = 0.008916682434912379 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.008916682434912379 cfl multiplier : 0.8044444444444444 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1385e+05 | 6120 | 1 | 5.375e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 524.7017296240552 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.017925248626282524, dt = 0.0020747513737174768 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.32 us (1.0%)
patch tree reduce : 902.00 ns (0.3%)
gen split merge : 571.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 842.00 ns (0.3%)
LB compute : 314.52 us (95.9%)
LB move op cnt : 0
LB apply : 3.39 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.37 us (66.2%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4467320261437906
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.2312566930219495e-18,3.344171329599746e-17,0.00010163916081508996)
sum a = (3.411967921965711e-17,3.0411905878475378e-18,0.005081286630760631)
sum e = 0.3143739106097337
sum de = 0.00029958831083358244
Info: CFL hydro = 0.00963850731030316 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.00963850731030316 cfl multiplier : 0.8696296296296296 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1426e+05 | 6120 | 1 | 5.356e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 139.45231847719157 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 6 [SPH][rank=0]
Info: time since start : 1166.3239412980001 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0001.vtk [VTK Dump][rank=0]
- took 2.90 ms, bandwidth = 169.46 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.02, dt = 0.00963850731030316 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 9.90 us (2.1%)
patch tree reduce : 1473.00 ns (0.3%)
gen split merge : 491.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1332.00 ns (0.3%)
LB compute : 450.53 us (94.9%)
LB move op cnt : 0
LB apply : 4.58 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.00 us (72.5%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4491830065359474
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.5347064998961894e-18,2.8296834327382466e-17,0.00015061497173943786)
sum a = (5.4266791630995575e-17,-3.741922852158107e-18,0.00508007095510985)
sum e = 0.3143768803709604
sum de = 0.00038351310088209086
Info: CFL hydro = 0.010116956736282257 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010116956736282257 cfl multiplier : 0.9130864197530864 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.0792e+05 | 6120 | 1 | 5.671e-02 | 0.0% | 1.0% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 611.8711964213282 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.02963850731030316, dt = 0.010116956736282257 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.39 us (1.0%)
patch tree reduce : 711.00 ns (0.2%)
gen split merge : 861.00 ns (0.3%)
split / merge op : 0/0
apply split merge : 962.00 ns (0.3%)
LB compute : 320.48 us (95.7%)
LB move op cnt : 0
LB apply : 3.04 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.43 us (68.2%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4441176470588233
Info: conservation infos : [sph::Model][rank=0]
sum v = (2.180446275841359e-18,2.3151955358767472e-17,0.00020200397116020482)
sum a = (4.189823127846827e-17,1.5821036659927059e-18,0.005078287269450844)
sum e = 0.31438124059551814
sum de = 0.00045408407183097183
Info: CFL hydro = 0.01043389391685921 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.01043389391685921 cfl multiplier : 0.9420576131687243 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1042e+05 | 6120 | 1 | 5.543e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 657.1096859740138 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.03975546404658542, dt = 0.0002445359534145805 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.25 us (1.0%)
patch tree reduce : 622.00 ns (0.2%)
gen split merge : 561.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 461.00 ns (0.1%)
LB compute : 326.15 us (96.5%)
LB move op cnt : 0
LB apply : 2.60 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.38 us (68.2%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4441176470588233
Info: conservation infos : [sph::Model][rank=0]
sum v = (2.1269846276231762e-18,0,0.00020323677224403153)
sum a = (5.844888990394568e-17,6.103734433133175e-19,0.0050782377225882785)
sum e = 0.31438158754687173
sum de = 0.00045263263221905945
Info: CFL hydro = 0.010647609055143644 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010647609055143644 cfl multiplier : 0.9613717421124829 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1125e+05 | 6120 | 1 | 5.501e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 16.002771084340996 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 9 [SPH][rank=0]
Info: time since start : 1166.710205537 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0002.vtk [VTK Dump][rank=0]
- took 2.91 ms, bandwidth = 168.73 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.04, dt = 0.010647609055143644 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 9.61 us (2.0%)
patch tree reduce : 1382.00 ns (0.3%)
gen split merge : 491.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 972.00 ns (0.2%)
LB compute : 468.74 us (95.2%)
LB move op cnt : 0
LB apply : 4.24 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.43 us (74.8%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4464052287581697
Info: conservation infos : [sph::Model][rank=0]
sum v = (2.7529216124331968e-18,1.0289757937229987e-17,0.0002573078561452399)
sum a = (5.520319477335458e-17,8.489960951840776e-18,0.005075785873042757)
sum e = 0.314386613498841
sum de = 0.000509517106135804
Info: CFL hydro = 0.010785653087727247 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010785653087727247 cfl multiplier : 0.9742478280749886 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1436e+05 | 6120 | 1 | 5.352e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 716.252991219579 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.05064760905514364, dt = 0.009352390944856355 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.31 us (0.9%)
patch tree reduce : 721.00 ns (0.2%)
gen split merge : 671.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 941.00 ns (0.3%)
LB compute : 344.30 us (96.3%)
LB move op cnt : 0
LB apply : 3.00 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.52 us (70.3%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4464052287581697
Info: conservation infos : [sph::Model][rank=0]
sum v = (3.2542913868023932e-18,1.672085664799873e-17,0.00030476553681460327)
sum a = (6.555450033496497e-17,-1.3965344383008706e-17,0.005073157569026577)
sum e = 0.3143918017543312
sum de = 0.000537905390188087
Info: CFL hydro = 0.010876474376302065 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010876474376302065 cfl multiplier : 0.9828318853833258 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1817e+05 | 6120 | 1 | 5.179e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 650.076751646679 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 11 [SPH][rank=0]
Info: time since start : 1167.03344184 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0003.vtk [VTK Dump][rank=0]
- took 2.82 ms, bandwidth = 173.82 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.06, dt = 0.010876474376302065 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.04 us (2.1%)
patch tree reduce : 1373.00 ns (0.3%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 962.00 ns (0.2%)
LB compute : 462.65 us (95.1%)
LB move op cnt : 0
LB apply : 4.10 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.45 us (76.1%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4460784313725488
Info: conservation infos : [sph::Model][rank=0]
sum v = (4.0131170720842614e-18,2.958305406953622e-17,0.0003599313146577231)
sum a = (5.5400398386165265e-17,1.0130236543427716e-18,0.00506954285672851)
sum e = 0.314398066537774
sum de = 0.0005538934047375997
Info: CFL hydro = 0.010726584630226963 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010726584630226963 cfl multiplier : 0.9885545902555505 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1637e+05 | 6120 | 1 | 5.259e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 744.5214500674358 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.07087647437630207, dt = 0.009123525623697934 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.28 us (1.0%)
patch tree reduce : 661.00 ns (0.2%)
gen split merge : 561.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 451.00 ns (0.1%)
LB compute : 317.52 us (96.5%)
LB move op cnt : 0
LB apply : 2.50 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.77 us (69.0%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4452614379084965
Info: conservation infos : [sph::Model][rank=0]
sum v = (4.457099967088566e-18,2.1865735616613723e-17,0.00040616376114867677)
sum a = (5.1319414067554394e-17,1.187947655164731e-17,0.005066048202374978)
sum e = 0.3144032657404142
sum de = 0.0005629443526149304
Info: CFL hydro = 0.010730673893516925 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010730673893516925 cfl multiplier : 0.9923697268370336 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.2128e+05 | 6120 | 1 | 5.046e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 650.8565387046194 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 13 [SPH][rank=0]
Info: time since start : 1167.355026125 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0004.vtk [VTK Dump][rank=0]
- took 2.65 ms, bandwidth = 185.34 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.08, dt = 0.010730673893516925 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 9.92 us (2.1%)
patch tree reduce : 1453.00 ns (0.3%)
gen split merge : 472.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1262.00 ns (0.3%)
LB compute : 454.67 us (94.9%)
LB move op cnt : 0
LB apply : 4.53 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.15 us (74.4%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4462418300653592
Info: conservation infos : [sph::Model][rank=0]
sum v = (4.984729537829249e-18,2.3151955358767472e-17,0.00046050993055293)
sum a = (6.337898022421274e-17,-1.1253166669878351e-17,0.005061398291529141)
sum e = 0.3144097430648784
sum de = 0.0005764878710947391
Info: CFL hydro = 0.010713031805414936 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010713031805414936 cfl multiplier : 0.9949131512246892 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1193e+05 | 6120 | 1 | 5.468e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 706.5340107448853 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.09073067389351692, dt = 0.00926932610648308 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.71 us (1.1%)
patch tree reduce : 1062.00 ns (0.3%)
gen split merge : 571.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1042.00 ns (0.3%)
LB compute : 329.16 us (95.8%)
LB move op cnt : 0
LB apply : 2.81 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.35 us (68.3%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4452614379084965
Info: conservation infos : [sph::Model][rank=0]
sum v = (5.633020714019779e-18,1.1575977679383736e-17,0.0005074007335334497)
sum a = (4.163885200429371e-17,-1.082170526223205e-17,0.00505691246736262)
sum e = 0.3144151485489983
sum de = 0.0005915862789521898
Info: CFL hydro = 0.010690284316888135 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010690284316888135 cfl multiplier : 0.9966087674831261 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1857e+05 | 6120 | 1 | 5.161e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 646.526392027437 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 15 [SPH][rank=0]
Info: time since start : 1167.679925852 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0005.vtk [VTK Dump][rank=0]
- took 2.91 ms, bandwidth = 168.59 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.1, dt = 0.010690284316888135 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 9.98 us (2.1%)
patch tree reduce : 1392.00 ns (0.3%)
gen split merge : 511.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1243.00 ns (0.3%)
LB compute : 448.79 us (94.8%)
LB move op cnt : 0
LB apply : 4.24 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.08 us (73.5%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4452614379084965
Info: conservation infos : [sph::Model][rank=0]
sum v = (5.97168965735787e-18,-5.144878968614994e-18,0.0005614397752916442)
sum a = (4.9544581552258257e-17,-1.6585514678060187e-17,0.00505119947402526)
sum e = 0.3144219954154028
sum de = 0.0006185763963620928
Info: CFL hydro = 0.010654733687645338 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010654733687645338 cfl multiplier : 0.997739178322084 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1238e+05 | 6120 | 1 | 5.446e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 706.7086588183145 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.11069028431688814, dt = 0.009309715683111855 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.27 us (1.2%)
patch tree reduce : 1042.00 ns (0.3%)
gen split merge : 641.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1053.00 ns (0.3%)
LB compute : 329.15 us (95.1%)
LB move op cnt : 0
LB apply : 3.70 us (1.1%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.44 us (69.1%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4464052287581697
Info: conservation infos : [sph::Model][rank=0]
sum v = (6.481027650954886e-18,2.0579515874459975e-17,0.0006084344694919652)
sum a = (5.750557835476846e-17,-2.44362909899708e-17,0.005045754017867572)
sum e = 0.31442778420101714
sum de = 0.0006597550770002989
Info: CFL hydro = 0.010612986421897093 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010612986421897093 cfl multiplier : 0.998492785548056 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1903e+05 | 6120 | 1 | 5.142e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 651.8271138020862 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 17 [SPH][rank=0]
Info: time since start : 1168.006425041 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0006.vtk [VTK Dump][rank=0]
- took 2.65 ms, bandwidth = 185.16 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.12, dt = 0.010612986421897093 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.35 us (2.1%)
patch tree reduce : 1522.00 ns (0.3%)
gen split merge : 470.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 972.00 ns (0.2%)
LB compute : 457.88 us (94.6%)
LB move op cnt : 0
LB apply : 4.71 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.17 us (72.0%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4499999999999997
Info: conservation infos : [sph::Model][rank=0]
sum v = (7.124765559015234e-18,1.543463690584498e-17,0.00066195964054753)
sum a = (6.415774608371988e-17,-2.4768522554228287e-17,0.005039012814655462)
sum e = 0.31443544274085306
sum de = 0.00073428583657081
Info: CFL hydro = 0.010558865678826412 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010558865678826412 cfl multiplier : 0.9989951903653708 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1226e+05 | 6120 | 1 | 5.452e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 700.834616587837 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.1306129864218971, dt = 0.009387013578102926 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.39 us (1.0%)
patch tree reduce : 712.00 ns (0.2%)
gen split merge : 751.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 822.00 ns (0.2%)
LB compute : 329.02 us (96.2%)
LB move op cnt : 0
LB apply : 2.91 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.48 us (67.9%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4444444444444442
Info: conservation infos : [sph::Model][rank=0]
sum v = (7.757669829110664e-18,3.215549355384371e-17,0.0007092251501098569)
sum a = (4.979579634564766e-17,-1.3251580351291061e-17,0.005032577317428315)
sum e = 0.3144425069420083
sum de = 0.0008280394943821125
Info: CFL hydro = 0.010513104778996033 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010513104778996033 cfl multiplier : 0.9993301269102473 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1940e+05 | 6120 | 1 | 5.126e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 659.3158723156222 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 19 [SPH][rank=0]
Info: time since start : 1168.334402533 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0007.vtk [VTK Dump][rank=0]
- took 2.74 ms, bandwidth = 179.33 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.14, dt = 0.010513104778996033 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.00 us (2.1%)
patch tree reduce : 1213.00 ns (0.3%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 952.00 ns (0.2%)
LB compute : 459.25 us (95.1%)
LB move op cnt : 0
LB apply : 4.27 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.70 us (71.4%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4472222222222217
Info: conservation infos : [sph::Model][rank=0]
sum v = (8.207501318523565e-18,1.4148417163691233e-17,0.000762102957706453)
sum a = (4.0857573996852665e-17,-1.7091398468248102e-17,0.005024843362921856)
sum e = 0.31445200028430653
sum de = 0.0009650219299714227
Info: CFL hydro = 0.010461551131322421 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010461551131322421 cfl multiplier : 0.9995534179401648 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1265e+05 | 6120 | 1 | 5.433e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 696.6609047387301 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.15051310477899604, dt = 0.00948689522100396 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.69 us (1.0%)
patch tree reduce : 942.00 ns (0.3%)
gen split merge : 611.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 842.00 ns (0.2%)
LB compute : 358.02 us (95.7%)
LB move op cnt : 0
LB apply : 3.18 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.56 us (68.5%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4472222222222217
Info: conservation infos : [sph::Model][rank=0]
sum v = (8.535650642388474e-18,-7.71731845292249e-18,0.0008097324662554088)
sum a = (5.275761875970873e-17,-2.2220576512276257e-17,0.005017387636775807)
sum e = 0.3144615372545804
sum de = 0.001118853771402685
Info: CFL hydro = 0.010418362389331656 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010418362389331656 cfl multiplier : 0.9997022786267765 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1723e+05 | 6120 | 1 | 5.221e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 654.1876520116275 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 21 [SPH][rank=0]
Info: time since start : 1168.6613363820002 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0008.vtk [VTK Dump][rank=0]
- took 2.84 ms, bandwidth = 172.62 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.16, dt = 0.010418362389331656 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.00 us (2.1%)
patch tree reduce : 1643.00 ns (0.3%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1062.00 ns (0.2%)
LB compute : 455.54 us (94.8%)
LB move op cnt : 0
LB apply : 4.87 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.23 us (74.9%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4452614379084963
Info: conservation infos : [sph::Model][rank=0]
sum v = (9.134483906130466e-18,9.003538195076239e-18,0.000861970063056719)
sum a = (7.360593446309537e-17,-3.668615235262161e-17,0.005008679619624111)
sum e = 0.3144740631842985
sum de = 0.0013206025027363078
Info: CFL hydro = 0.010373607766386924 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010373607766386924 cfl multiplier : 0.9998015190845176 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1001e+05 | 6120 | 1 | 5.563e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 674.1908003104576 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.17041836238933167, dt = 0.009581637610668325 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.74 us (1.1%)
patch tree reduce : 1363.00 ns (0.4%)
gen split merge : 631.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 852.00 ns (0.3%)
LB compute : 317.79 us (95.5%)
LB move op cnt : 0
LB apply : 3.49 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.35 us (69.4%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.446241830065359
Info: conservation infos : [sph::Model][rank=0]
sum v = (9.96914505716676e-18,-5.144878968614994e-18,0.0009099160544407081)
sum a = (6.269190776429271e-17,-1.765160745750647e-17,0.005000191051610892)
sum e = 0.31448734652384236
sum de = 0.0015356433299962336
Info: CFL hydro = 0.010342602027510788 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010342602027510788 cfl multiplier : 0.9998676793896785 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1837e+05 | 6120 | 1 | 5.170e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 667.1835139603838 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 23 [SPH][rank=0]
Info: time since start : 1168.987709476 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0009.vtk [VTK Dump][rank=0]
- took 2.86 ms, bandwidth = 171.47 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.18, dt = 0.010342602027510788 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 9.83 us (2.0%)
patch tree reduce : 1322.00 ns (0.3%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 951.00 ns (0.2%)
LB compute : 473.72 us (95.1%)
LB move op cnt : 0
LB apply : 4.32 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.19 us (74.5%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4482026143790845
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.0560127858615333e-17,-5.144878968614994e-18,0.0009615903733577721)
sum a = (4.9691542206391055e-17,-1.8362545322798485e-17,0.00499051313882583)
sum e = 0.31450417212993026
sum de = 0.0017949460225750082
Info: CFL hydro = 0.010282546915995573 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010282546915995573 cfl multiplier : 0.9999117862597856 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1242e+05 | 6120 | 1 | 5.444e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 683.9323479053804 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.19034260202751077, dt = 0.00965739797248924 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.05 us (1.1%)
patch tree reduce : 1122.00 ns (0.3%)
gen split merge : 571.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 852.00 ns (0.2%)
LB compute : 343.54 us (95.6%)
LB move op cnt : 0
LB apply : 3.62 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.45 us (68.8%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.446241830065359
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.0975260304691323e-17,2.1865735616613723e-17,0.0010097356974261534)
sum a = (5.17602960299528e-17,-2.8136056859613244e-17,0.004980994440290114)
sum e = 0.3145224172541139
sum de = 0.002057658714965137
Info: CFL hydro = 0.010219385706149673 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010219385706149673 cfl multiplier : 0.9999411908398571 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1564e+05 | 6120 | 1 | 5.292e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 656.9300226930418 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 25 [SPH][rank=0]
Info: time since start : 1169.315798195 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0010.vtk [VTK Dump][rank=0]
- took 2.80 ms, bandwidth = 175.29 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.2, dt = 0.010219385706149673 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.25 us (2.2%)
patch tree reduce : 1303.00 ns (0.3%)
gen split merge : 471.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 942.00 ns (0.2%)
LB compute : 446.87 us (94.8%)
LB move op cnt : 0
LB apply : 4.26 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.29 us (71.8%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.446241830065359
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.1529188924114959e-17,2.7010614585228717e-17,0.001060592437881695)
sum a = (5.315579420723094e-17,-1.0965525731447485e-17,0.004970415934270095)
sum e = 0.3145445078982802
sum de = 0.0023499954705765635
Info: CFL hydro = 0.010166124156600629 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010166124156600629 cfl multiplier : 0.999960793893238 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1202e+05 | 6120 | 1 | 5.464e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 673.3699953672614 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.21021938570614968, dt = 0.009780614293850326 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.88 us (1.2%)
patch tree reduce : 1002.00 ns (0.3%)
gen split merge : 591.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 661.00 ns (0.2%)
LB compute : 311.44 us (95.7%)
LB move op cnt : 0
LB apply : 2.81 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.48 us (68.6%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4464052287581697
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.203821289922024e-17,-9.003538195076239e-18,0.001109152106098192)
sum a = (4.8474642046288195e-17,-1.3775991232491442e-17,0.004959805481355007)
sum e = 0.3145687389019704
sum de = 0.002638303310647576
Info: CFL hydro = 0.010130677211589013 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010130677211589013 cfl multiplier : 0.999973862595492 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1815e+05 | 6120 | 1 | 5.180e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 679.728221884916 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 27 [SPH][rank=0]
Info: time since start : 1169.640208795 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0011.vtk [VTK Dump][rank=0]
- took 2.88 ms, bandwidth = 170.51 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.22, dt = 0.010130677211589013 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.38 us (1.9%)
patch tree reduce : 1163.00 ns (0.2%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1412.00 ns (0.2%)
LB compute : 580.80 us (95.5%)
LB move op cnt : 0
LB apply : 5.17 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 5.53 us (78.2%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.441503267973856
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.250076213754848e-17,-1.2862197421537484e-18,0.0011593464060883462)
sum a = (5.95699359194459e-17,-2.048342621598853e-17,0.004948315031096232)
sum e = 0.3145968373205127
sum de = 0.0029367197737408418
Info: CFL hydro = 0.010109672913288126 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010109672913288126 cfl multiplier : 0.9999825750636614 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.0984e+05 | 6120 | 1 | 5.572e-02 | 0.0% | 1.0% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 654.5761947643659 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.230130677211589, dt = 0.009869322788410989 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 5.32 us (1.5%)
patch tree reduce : 1543.00 ns (0.4%)
gen split merge : 671.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1031.00 ns (0.3%)
LB compute : 329.94 us (94.5%)
LB move op cnt : 0
LB apply : 3.94 us (1.1%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.79 us (69.8%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.447222222222222
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.3168051432489083e-17,1.2862197421537484e-18,0.0012081247213676877)
sum a = (5.86737271440292e-17,-3.140310524764245e-17,0.004936632649933872)
sum e = 0.3146274520044908
sum de = 0.0032139322346367663
Info: CFL hydro = 0.010108884117589867 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010108884117589867 cfl multiplier : 0.9999883833757742 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1394e+05 | 6120 | 1 | 5.371e-02 | 0.0% | 1.0% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 661.4935367352584 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 29 [SPH][rank=0]
Info: time since start : 1170.162298897 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0012.vtk [VTK Dump][rank=0]
- took 3.06 ms, bandwidth = 160.54 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.24, dt = 0.010108884117589867 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.00 us (1.9%)
patch tree reduce : 1583.00 ns (0.3%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1182.00 ns (0.2%)
LB compute : 497.77 us (95.2%)
LB move op cnt : 0
LB apply : 4.44 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.85 us (76.5%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4442810457516337
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.3745531438792976e-17,1.4148417163691233e-17,0.0012579709201616656)
sum a = (5.767514834030631e-17,-6.977176867898959e-18,0.004924168203783804)
sum e = 0.31466162354562016
sum de = 0.003468768067304332
Info: CFL hydro = 0.010127065828289997 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010127065828289997 cfl multiplier : 0.9999922555838495 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1477e+05 | 6120 | 1 | 5.333e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 682.4530610454011 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.25010888411758986, dt = 0.00989111588241015 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 5.18 us (1.4%)
patch tree reduce : 1644.00 ns (0.5%)
gen split merge : 592.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1272.00 ns (0.4%)
LB compute : 340.90 us (94.7%)
LB move op cnt : 0
LB apply : 3.99 us (1.1%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.45 us (70.2%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4462418300653592
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.429286566989014e-17,1.543463690584498e-17,0.0013066134376689099)
sum a = (5.0376102518377184e-17,-2.0137063819602887e-17,0.004911485214821268)
sum e = 0.314697662038221
sum de = 0.0036669096693997916
Info: CFL hydro = 0.01016498951203815 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.01016498951203815 cfl multiplier : 0.9999948370558996 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1568e+05 | 6120 | 1 | 5.291e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 673.0501529611308 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 31 [SPH][rank=0]
Info: time since start : 1170.4900125860001 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0013.vtk [VTK Dump][rank=0]
- took 2.97 ms, bandwidth = 164.94 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.26, dt = 0.01016498951203815 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.44 us (2.0%)
patch tree reduce : 1283.00 ns (0.3%)
gen split merge : 490.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1012.00 ns (0.2%)
LB compute : 486.54 us (95.1%)
LB move op cnt : 0
LB apply : 4.25 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.86 us (76.1%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4803921568627447
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.479152703476811e-17,-5.144878968614994e-18,0.001356475908909317)
sum a = (5.0529343542344717e-17,-3.543792884796801e-17,0.0048979503959791755)
sum e = 0.3147365031489073
sum de = 0.0038060825004026795
Info: CFL hydro = 0.010214997560642812 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010214997560642812 cfl multiplier : 0.9999965580372665 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1896e+05 | 6120 | 1 | 5.145e-02 | 0.0% | 0.9% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 711.2815276209818 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.27016498951203816, dt = 0.00983501048796187 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.52 us (1.1%)
patch tree reduce : 911.00 ns (0.3%)
gen split merge : 590.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 931.00 ns (0.3%)
LB compute : 319.56 us (95.6%)
LB move op cnt : 0
LB apply : 3.17 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.54 us (71.3%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4813725490196075
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.5307616425937463e-17,-6.431098710768742e-18,0.0014045785117775004)
sum a = (5.486531087624583e-17,-2.8563122008375235e-17,0.0048843732346648926)
sum e = 0.3147751231350725
sum de = 0.003870880049808949
Info: CFL hydro = 0.010274404040263562 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010274404040263562 cfl multiplier : 0.9999977053581777 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.2074e+05 | 6120 | 1 | 5.069e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 698.5278443062825 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 33 [SPH][rank=0]
Info: time since start : 1170.81108003 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0014.vtk [VTK Dump][rank=0]
- took 2.70 ms, bandwidth = 181.40 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.28, dt = 0.010274404040263562 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.33 us (1.9%)
patch tree reduce : 1302.00 ns (0.2%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 961.00 ns (0.2%)
LB compute : 507.46 us (95.4%)
LB move op cnt : 0
LB apply : 4.68 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.99 us (72.5%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4789215686274506
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.5909275856105086e-17,-4.6303910717534944e-17,0.0014546957701119356)
sum a = (6.713715353331821e-17,-3.494806000085867e-17,0.004869684908037079)
sum e = 0.31481585936594814
sum de = 0.003860818316545008
Info: CFL hydro = 0.010351377417880756 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010351377417880756 cfl multiplier : 0.9999984702387851 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1652e+05 | 6120 | 1 | 5.252e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 704.229005193963 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.2902744040402636, dt = 0.009725595959736377 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.89 us (1.4%)
patch tree reduce : 1012.00 ns (0.3%)
gen split merge : 751.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 942.00 ns (0.3%)
LB compute : 325.49 us (94.9%)
LB move op cnt : 0
LB apply : 3.73 us (1.1%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.73 us (67.2%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.479411764705882
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.661848661969255e-17,-1.4148417163691233e-17,0.0015019809010775051)
sum a = (6.550928167215488e-17,-2.1388427509173855e-17,0.004855307553624933)
sum e = 0.3148535436656818
sum de = 0.003787151394065035
Info: CFL hydro = 0.01043897501810272 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.01043897501810272 cfl multiplier : 0.99999898015919 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1797e+05 | 6120 | 1 | 5.188e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 674.9027538422129 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 35 [SPH][rank=0]
Info: time since start : 1171.1342972270002 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0015.vtk [VTK Dump][rank=0]
- took 2.84 ms, bandwidth = 172.66 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.3, dt = 0.01043897501810272 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.39 us (2.2%)
patch tree reduce : 1222.00 ns (0.3%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1112.00 ns (0.2%)
LB compute : 451.49 us (95.0%)
LB move op cnt : 0
LB apply : 3.81 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.53 us (72.7%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.481209150326797
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.7286246942370756e-17,-1.0289757937229987e-17,0.00155259542116501)
sum a = (5.637762393245004e-17,-3.1476899593200584e-17,0.0048393645955816965)
sum e = 0.31489333572258366
sum de = 0.00367381561202916
Info: CFL hydro = 0.010543484531509103 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010543484531509103 cfl multiplier : 0.9999993201061267 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1643e+05 | 6120 | 1 | 5.256e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 714.9689338320126 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.3104389750181027, dt = 0.009561024981897315 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 4.13 us (1.1%)
patch tree reduce : 1053.00 ns (0.3%)
gen split merge : 652.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 822.00 ns (0.2%)
LB compute : 336.20 us (93.4%)
LB move op cnt : 0
LB apply : 3.18 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.48 us (64.8%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.481209150326797
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.7782867187052436e-17,1.0289757937229987e-17,0.001598781492889512)
sum a = (5.940978648866014e-17,-2.8326980102589195e-17,0.004824299796686284)
sum e = 0.3149275809260198
sum de = 0.003566890487470343
Info: CFL hydro = 0.010648819723315354 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010648819723315354 cfl multiplier : 0.9999995467374179 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.2160e+05 | 6120 | 1 | 5.033e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 683.8823363449129 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 37 [SPH][rank=0]
Info: time since start : 1171.4536705090002 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0016.vtk [VTK Dump][rank=0]
- took 2.73 ms, bandwidth = 179.50 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.32, dt = 0.010648819723315354 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 9.18 us (2.0%)
patch tree reduce : 1082.00 ns (0.2%)
gen split merge : 471.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1002.00 ns (0.2%)
LB compute : 438.60 us (95.0%)
LB move op cnt : 0
LB apply : 4.06 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.65 us (71.4%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4803921568627447
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.842691911360452e-17,1.2862197421537484e-18,0.0016500825742563582)
sum a = (6.00202384365964e-17,-2.981542775342141e-17,0.004807001896258482)
sum e = 0.31496567730837294
sum de = 0.003453963152406446
Info: CFL hydro = 0.010771443074529699 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010771443074529699 cfl multiplier : 0.9999996978249452 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1376e+05 | 6120 | 1 | 5.380e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 712.604190486629 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.33064881972331533, dt = 0.00935118027668469 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 5.61 us (1.6%)
patch tree reduce : 1332.00 ns (0.4%)
gen split merge : 581.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1032.00 ns (0.3%)
LB compute : 339.18 us (94.5%)
LB move op cnt : 0
LB apply : 4.11 us (1.1%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.38 us (68.8%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4785947712418297
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.899458604204164e-17,0,0.0016949416144670122)
sum a = (4.2965266113389765e-17,-3.603393594528437e-17,0.004791362364776225)
sum e = 0.31499663305751313
sum de = 0.0033701542374081988
Info: CFL hydro = 0.010882085404969013 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010882085404969013 cfl multiplier : 0.9999997985499635 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1650e+05 | 6120 | 1 | 5.253e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 640.817036364668 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 39 [SPH][rank=0]
Info: time since start : 1171.7769300490002 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0017.vtk [VTK Dump][rank=0]
- took 2.88 ms, bandwidth = 170.59 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.34, dt = 0.010882085404969013 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.04 us (2.1%)
patch tree reduce : 1162.00 ns (0.2%)
gen split merge : 661.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 972.00 ns (0.2%)
LB compute : 453.46 us (95.0%)
LB move op cnt : 0
LB apply : 3.62 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.65 us (70.0%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4807189542483656
Info: conservation infos : [sph::Model][rank=0]
sum v = (1.9382049288437526e-17,2.0579515874459975e-17,0.0017470085048874949)
sum a = (6.506965578372343e-17,-3.7572940573286205e-17,0.004772634965068001)
sum e = 0.3150336262833863
sum de = 0.0032947356756376617
Info: CFL hydro = 0.010999931142308614 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.010999931142308614 cfl multiplier : 0.9999998656999756 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1464e+05 | 6120 | 1 | 5.338e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 733.837441272241 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.350882085404969, dt = 0.009117914595030974 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.88 us (1.0%)
patch tree reduce : 1172.00 ns (0.3%)
gen split merge : 561.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 842.00 ns (0.2%)
LB compute : 362.23 us (96.0%)
LB move op cnt : 0
LB apply : 3.02 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.38 us (67.6%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4813725490196075
Info: conservation infos : [sph::Model][rank=0]
sum v = (2.0094102164702152e-17,1.8007076390152478e-17,0.0017904230863107252)
sum a = (5.0222861494409645e-17,-4.313295198797719e-17,0.004756508430043017)
sum e = 0.3150621984163235
sum de = 0.0032546041946390192
Info: CFL hydro = 0.01109316770262228 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.01109316770262228 cfl multiplier : 0.9999999104666504 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1909e+05 | 6120 | 1 | 5.139e-02 | 0.0% | 0.7% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 638.7287710051904 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 41 [SPH][rank=0]
Info: time since start : 1172.0971436280001 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0018.vtk [VTK Dump][rank=0]
- took 2.84 ms, bandwidth = 172.59 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.36, dt = 0.01109316770262228 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.25 us (2.1%)
patch tree reduce : 1372.00 ns (0.3%)
gen split merge : 481.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 1012.00 ns (0.2%)
LB compute : 466.60 us (95.0%)
LB move op cnt : 0
LB apply : 4.22 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.67 us (70.4%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.479411764705882
Info: conservation infos : [sph::Model][rank=0]
sum v = (2.058391213334429e-17,1.9293296132306227e-17,0.0018431143118195928)
sum a = (6.368043797628001e-17,-4.8504552307626123e-17,0.004736355117973263)
sum e = 0.3150989349578896
sum de = 0.003229913618665316
Info: CFL hydro = 0.011042415916747077 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.011042415916747077 cfl multiplier : 0.9999999403111003 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1535e+05 | 6120 | 1 | 5.306e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 752.6975122470707 (tsim/hr) [sph::Model][rank=0]
---------------- t = 0.37109316770262224, dt = 0.008906832297377765 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 6120 min = 6120 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 6120
max = 6120
avg = 6120
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.25 us (1.0%)
patch tree reduce : 761.00 ns (0.2%)
gen split merge : 551.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 742.00 ns (0.2%)
LB compute : 312.79 us (96.2%)
LB move op cnt : 0
LB apply : 2.85 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.68 us (66.6%)
Warning: High interface/patch volume ratio. [InterfaceGen][rank=0]
This can lead to high mpi overhead, try to increase the patch split crit
patch 0 high interf/patch volume: 1.4883986928104571
Info: conservation infos : [sph::Model][rank=0]
sum v = (2.12273360229129e-17,-6.431098710768742e-18,0.0018851884505209308)
sum a = (4.964255532168012e-17,-4.0705589046852074e-17,0.00471975193205617)
sum e = 0.31512637571838814
sum de = 0.0032247565929294053
Info: CFL hydro = 0.011011693683356997 sink sink = inf [SPH][rank=0]
Info: cfl dt = 0.011011693683356997 cfl multiplier : 0.9999999602074002 [sph::Model][rank=0]
Info: Timestep perf report: [sph::Model][rank=0]
+======+============+======+========+===========+======+=============+=============+=============+
| rank | rate (N/s) | Nobj | Npatch | tstep | MPI | alloc d% h% | mem (max) d | mem (max) h |
+======+============+======+========+===========+======+=============+=============+=============+
| 0 | 1.1815e+05 | 6120 | 1 | 5.180e-02 | 0.0% | 0.8% 0.0% | 935.14 MB | 5.04 MB |
+------+------------+------+--------+-----------+------+-------------+-------------+-------------+
Info: estimated rate : 619.0025115729725 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 43 [SPH][rank=0]
Info: time since start : 1172.4183906110002 (s) [SPH][rank=0]
Info: dump to _to_trash/sph_shear_test_0019.vtk [VTK Dump][rank=0]
- took 2.89 ms, bandwidth = 170.03 MB/s
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
Convert PNG sequence to Image sequence in mpl#
181 import matplotlib.animation as animation
182
183
184 def show_image_sequence(glob_str):
185
186 if render_gif and shamrock.sys.world_rank() == 0:
187
188 import glob
189
190 files = sorted(glob.glob(glob_str))
191
192 from PIL import Image
193
194 image_array = []
195 for my_file in files:
196 image = Image.open(my_file)
197 image_array.append(image)
198
199 if not image_array:
200 raise RuntimeError(f"Warning: No images found for glob pattern: {glob_str}")
201
202 pixel_x, pixel_y = image_array[0].size
203
204 # Create the figure and axes objects
205 # Remove axes, ticks, and frame & set aspect ratio
206 dpi = 200
207 fig = plt.figure(dpi=dpi)
208 plt.gca().set_position((0, 0, 1, 1))
209 plt.gcf().set_size_inches(pixel_x / dpi, pixel_y / dpi)
210 plt.axis("off")
211
212 # Set the initial image with correct aspect ratio
213 im = plt.imshow(image_array[0], animated=True, aspect="auto")
214
215 def update(i):
216 im.set_array(image_array[i])
217 return (im,)
218
219 # Create the animation object
220 ani = animation.FuncAnimation(
221 fig,
222 update,
223 frames=len(image_array),
224 interval=50,
225 blit=True,
226 repeat_delay=10,
227 )
228
229 return ani
230
231
232 # If the animation is not returned only a static image will be shown in the doc
233 glob_str = os.path.join(dump_folder, f"{sim_name}_*.png")
234 ani = show_image_sequence(glob_str)
235
236 if render_gif and shamrock.sys.world_rank() == 0:
237 # To save the animation using Pillow as a gif
238 # writer = animation.PillowWriter(fps=15,
239 # metadata=dict(artist='Me'),
240 # bitrate=1800)
241 # ani.save('scatter.gif', writer=writer)
242
243 # Show the animation
244 plt.show()
Total running time of the script: (0 minutes 11.893 seconds)
Estimated memory usage: 113 MB