<html>#2394: segfault in ID_converter_ILGRMHD when Avec and Aphi are not given storage outside of ILGRMHD
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></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>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Zach Etienne):</p>
<p>A single timelevel of storage is allocated for Bvec in Convert_to_HydroBase &amp; GiRaFFE_to_HydroBase, which are the only thorns that write to it.</p>
<p>Regarding ADMBase variables, they must first be set in CCTK_INITIAL outside IllinoisGRMHD, otherwise it doesn’t make sense to be using IllinoisGRMHD. The story is the same for vel[], rho, press, and eps gridfunctions – these must be set within CCTK_INITIAL or it doesn’t make sense. I.e., ID_converter_* assumes that ID already exist.  </p>
<p>There was a similar issue in ID_converter_GiRaFFE, in which there was the same parameter (lazily copied from ILGRMHD) “pure_hydro_run”, but this is nonsense in the case of GRFFE (which assumes a magnetically dominated plasma), so I removed it.</p>
<p>Should be fixed in WVUThorns git hash:</p>
<p>6313730fe1a0588fcaeddfe1552f776ab9c7929a</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2394/segfault-in-id_converter_ilgrmhd-when-avec'>https://bitbucket.org/einsteintoolkit/tickets/issues/2394/segfault-in-id_converter_ilgrmhd-when-avec</a></p>
</html>