Dear all,

Two things this week: the MPI problem I reported, and the state of the binary
black hole test.


1. The MPI error, and what I am changing


The local27 metric sampler builds a centred stencil around each particle. When
that stencil did not fit inside the patch owned by the rank holding the
particle, the thorn silently used an off-centre stencil instead of refusing the
point, so the answer depended on how many ranks the run was split over. On the
circular-orbit test (Kerr-Schild M = 2, a = 0.5, equatorial orbit, 100^3 grid,
dx = 0.5, t = 20) the final x was 6.3986865582990369 with one rank,
6.398657345689692 with two and 6.3986562170674013 with four, and |z| and |u_z|
grew from 1e-9 to 4e-6 -- quantities that should stay at roundoff level for an
equatorial orbit. The l27 back-end already rejected these points; local27 did
not.


What I am changing, in this order: the off-centre stencil becomes a hard
failure through the existing drop path rather than a silent shift; a run whose
rank faces would cut through the particle region is reported at start-up
instead of being accepted; and the real fix, which I will do next rather than
rush, is to make the centred stencil available across a face explicitly by
exchanging the few stencil values needed with the neighbouring rank, so that
the number of ranks stops being an accuracy parameter at all. Two regression
tests will be added: the same parameter file at 1, 2 and 4 ranks with the dumps
compared bit for bit, and an equatorial-orbit test asserting that |z| and |u_z|
stay at roundoff level in every rank configuration. The sampler comparison
table in the paper will be recomputed and the thorn re-released before I
resubmit.


On the efficiency figures I am replacing the wording with measurements: the
10.4% was against 88 logical threads on a 44-core machine, 21% against physical
cores, and with 100 particles on 4 ranks and 21 OpenMP threads the particle
integration is 5.4% of the run time at h = 1/8.


2. The binary black hole test at h = 1/4


The particles now live on a fully evolved background: TwoPunctures GW150914
initial data evolved with ML_BSSN on a single Carpet grid (domain +/-9.25),
100 particles on a ring of radius 8, dumped every 0.05. At h = 1/4 every
particle is eventually lost, and the reason is that the grid is too coarse,
not the geodesic integration: ML_BSSN::phi goes Inf and then NaN at a point
close to one puncture at t = 9.60, and from that seed the bad region grows by
about 1.5 grid points per iteration, so that within two or three steps the
whole grid is affected. The particles are dropped when that front sweeps over
the ring at
r = 8, which is why their survival collapses in two or three dumps rather than
decaying gradually.


3. What we are doing about it


(a) Delayed particle start. The particles are now released only after the
evolution has had time to settle, using Geodesic::particle_start_time (with
particle_start_steps as the alternative in step units), which also avoids
integrating particles during the part of the run we do not need. This clearly
helps: the first particle loss moves from t = 4.60 to t = 5.50 at h = 1/4, and
from t = 5.40 to t = 7.35 at h = 1/8.


(b) A resolution test at h = 1/4, 1/8 and 1/16 with everything else identical
(201 snapshots each, release at t = 1.60, output every 0.05). Comparing the
runs particle by particle, the RMS position difference is 0.017 between h=1/4
and h=1/8, 0.025 between h=1/4 and h=1/16, and 0.008 between h=1/8 and h=1/16,
so h=1/8 sits about three times closer to h=1/16 than h=1/4 does.


I should be clear that this test is still in progress and I am not yet in a
position to present it as a convergence result. The reason is that the
background spacetime itself breaks down: the NaN appears at t = 9.60 at
h = 1/4 and at t = 10.75 at h = 1/8, in both cases at the same physical
location near the puncture, and refining only delays it. The h = 1/16 run is
still going (about 51 s per step) and will finish tomorrow.


I think the cause is simply that my grid is too coarse. The NaN starts where
the field is hardest to resolve, right next to a puncture, and refining the
grid pushes it later (t = 9.60 at h = 1/4, t = 10.75 at h = 1/8, with h = 1/16
still to be measured), which is the behaviour one expects from a resolution
limit rather than from anything in the particle integration. My setup is also
simplified: it runs on a single uniform grid with no SpaceMask region, no
PunctureTracker or CarpetTracker and no CarpetRegrid2, whereas the standard
GW150914 example parameter file resolves the neighbourhood of each puncture
with seven refinement levels recentred every 128 steps. Next week I intend to
deal with the background NaN first -- a finer grid, and a grid structure
closer to the example -- and only then continue with the resolution test and
the sampler comparison. If anyone has a view on how fine the grid needs to be
near the punctures for a run of this kind, I would be glad to hear it.


Best regards,
Yuhua Li

_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to