<html>#2890: CarpetX: crash/failed assertion in Z4c_RHS
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Miren Radia</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>submitted</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td>development version</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>CarpetX</td></tr>
</table>

<p>Changes (by Miren Radia):</p>
<p>Hello,</p>
<p>I’ve been trying to run a BH binary simulation with CarpetX on <a data-is-external-link="true" href="https://epcced.github.io/dirac-docs/tursa-user-guide/hardware/" rel="nofollow">tursa</a> (Nvidia A100 GPUs) but I seem to be running into problems with the code crashing/assertions failing that I can’t resolve. I have been using Liwei Ji’s development branches in order to use subcycling (following the guidance described <a data-is-external-link="true" href="https://github.com/lwJi/Tutorial-Subcycling" rel="nofollow">here</a>) so it’s possible my problems are related to this.</p>
<p>Please find attached the following:</p>
<ul>
<li>My thornlist: <code>carpetx-subcycling.th</code></li>
<li>My parameter file: <code>test-bbh.par</code> (this is a very low resolution/small configuration just to reproduce the crash. I was originally trying something bigger)</li>
<li>My OptionsList: <code>tursa.cfg</code></li>
<li>The full output from running the code through <code>cuda-gdb</code> including a backtrace at the failed assertion and printing out some variables that seem to be leading to the failed assertion: <code>test-bbh-debug.out</code></li>
</ul>
<p>Here’s the end of the output printed from the simulation (I have increased the verbosity):</p>
<div class="codehilite"><pre><span></span><code><span>INFO (CarpetX): Starting evolution...</span>
<span>INFO (CarpetX): Regridding...</span>
<span>INFO (CarpetX): Setting max_grid_size values for all levels before regridding</span>
<span>INFO (CarpetX): ErrorEst patch 0 level 0</span>
<span>INFO (CarpetX): ErrorEst patch 0 level 0 done. Set/clear/total=288/3808/4096=7%/93%/100%</span>
<span>INFO (CarpetX):   old levels 2, new levels 2</span>
<span>INFO (CarpetX):   level 0: 1 boxes, 4096 cells (100%)</span>
<span>INFO (CarpetX):   level 1: 1 boxes, 8192 cells (25%, 25%)</span>
<span>INFO (CarpetX): ScheduleTraverseGH iteration 1 CCTK_PRESTEP</span>
<span>INFO (CarpetX): ScheduleTraverseGH iteration 1 CCTK_EVOL</span>
<span>INFO (CarpetX): CallFunction iteration 1 C
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2890/carpetx-crash-failed-assertion-in-z4c_rhs'>https://bitbucket.org/einsteintoolkit/tickets/issues/2890/carpetx-crash-failed-assertion-in-z4c_rhs</a></p>
</html>