-
Notifications
You must be signed in to change notification settings - Fork 58
t8_time_set_join_by_vertices.cxx
This benchmark specifically measures the performance of joining mesh sets by their vertices, a common operation in mesh processing tasks.
mpirun -np 4 ./t8_time_set_join_by_vertices -f mymesh
Replace mymesh
with the prefix of your mesh file.
Statistics for t8_cmesh_from_msh_file
...
(Output will display detailed timing statistics similar to the example below.)
This block shows how long it took on each MPI process (rank) to read and parse the mesh file.
-
Global number of values:
4
means you ran the program with 4 MPI processes (ranks 0, 1, 2, and 3). -
Mean value (std. dev.):
Average time (in seconds) each process spent reading the mesh file, with standard deviation as a percentage.
Example:0.00453795 (0.000308 = 6.79%)
Average time is 0.00454 seconds, with standard deviation 0.00031.
-
Minimum attained at rank:
Fastest time was on rank 2: 0.00400532 seconds. -
Maximum attained at rank:
Slowest time was on rank 3: 0.00473786 seconds. -
Summary:
List of average time(s). -
Maximum:
Maximum time measured (0.00473786 seconds). -
ntrees = 409:
The mesh consists of 409 trees (subdomains or mesh blocks).
This block shows the timings for building the face connectivity by joining mesh sets via their vertices.
-
Global number of values:
Again, 4 MPI ranks. -
Mean value (std. dev.):
Average time spent on this operation, with standard deviation.
Example:0.00116814 (0.000124 = 10.6%)
Average time is 0.00117 seconds.
-
Minimum attained at rank:
Fastest rank was 2: 0.000953369 seconds. -
Maximum attained at rank:
Slowest was rank 3: 0.00124739 seconds. -
Summary / Maximum:
Same as before, summary and max timing values.
- The mesh reading step (t8_cmesh_from_msh_file) took, on average, ~0.00454 seconds.
- The join-by-vertices step (t8_cmesh_set_join_by_vertices) was faster, ~0.00117 seconds.
- There is some variability (see std. dev.), but it is not extreme.
- Times are reported per rank; the slowest rank determines parallel efficiency.
- 409 trees indicates the size or decomposition of your mesh.
- These numbers help you benchmark your mesh processing speed.
- Running with larger meshes or more MPI ranks will change times and scaling behavior.
- You can use these stats to identify bottlenecks or compare with future optimizations.
Installation Guide
Configure Options
Setup t8code on JUWELS and other Slurm based systems
Setup t8code for VTK
General
Step 0 Hello World
Step 1 Creating a coarse mesh
Step 2 Creating a uniform forest
Step 3 Adapting a forest
Step 4 Partition,-Balance,-Ghost
Step 5 Store element data
Step 6 Computing stencils
Step 7 Interpolation
Features
Prerequisites & Compilation
t8_time_forest_partition
t8_time_fractal
t8_time_new_refine
t8_time_partition
t8_time_prism
t8_time_set_join_by_vertices