<div dir="ltr"><div>Hi Subhasish,</div><div><br></div><div>My FLASH4.8 (although it was downloaded I guess April 10th 2025) does not contain an `AlfvenAntenna` problem (and I'm surprised that wouldn't be in `Sim*/Sim*Main/magnetoHD`)</div><div><br></div><div>Anyway, one quick, possibly inconsequential point is that Fortran is case insensitive. So when you use grep, you should use the -i flag.</div><div>Anyway anyway, probably the simulation unit you're working off of was set up for use with AMR (so with paramesh). If you want to use the problem with UG, modify Simulation_init (or find a simulation unit designed for UG and modify from there).</div><div><br></div><div>Best wishes,</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">--------<div>Ryan</div></div></div></div></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Feb 2, 2026 at 10:10 PM Subhasish Bag <<a href="mailto:subhasish.bag@apctp.org">subhasish.bag@apctp.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p>Dear FLASH developers and users,</p>
<p>I am trying to build <strong>FLASH 4.8</strong> with a custom simulation unit based on <strong>Simulation/SimulationMain/AlfvenAntenna</strong>, using:</p>
<ul>
<li>
<p>Grid: <code>Grid/GridMain/UG</code></p>
</li>
<li>
<p>Hydro: <code>physics/Hydro/HydroMain/unsplit</code></p>
</li>
<li>
<p>EOS: <code>physics/Eos/EosMain/Gamma</code></p>
</li>
<li>
<p>Source term: <code>physics/sourceTerms/ExternalCurrent</code></p>
</li>
</ul>
<p>The setup command completes successfully:</p>
<pre><div><div><div><div></div></div></div><div dir="ltr"><code>./setup AlfvenAntenna -auto
</code></div></div></pre>
<p>but the build fails with:</p>
<pre><div><div><div><div></div></div></div><div dir="ltr"><code>Simulation_init.F90:50:7:
use Grid_blockType_mod
Fatal Error: Cannot open module file ‘grid_blocktype_mod.mod’
</code></div></div></pre>
<p>I checked the source tree and cannot find any file defining:</p>
<pre><div><div><div><div></div></div></div><div dir="ltr"><code>module Grid_blockType_mod
</code></div></div></pre>
<p>Commands run:</p>
<pre><div><div><div><div></div></div></div><div dir="ltr"><code>grep -R <span>"module Grid_blockType_mod"</span> <span>source</span>/Grid
find <span>source</span>/Grid -name <span>"*block*"</span>
</code></div></div></pre>
<p>(no matches found)</p>
<p>However, <code>Simulation_init.F90</code> clearly requires <code>blockType</code>, and the UG grid is enabled.</p>
<p>My questions are:</p>
<ol>
<li>
<p>Which unit in FLASH 4.8 is supposed to provide <code>Grid_blockType_mod</code> for the UG grid?</p>
</li>
<li>
<p>Is my source tree incomplete or corrupted, or has this module been renamed in newer FLASH versions?</p>
</li>
<li>
<p>Is <code>Simulation/SimulationMain/AlfvenAntenna</code> compatible with UG in FLASH 4.8?</p>
</li>
</ol>
<p>Any guidance would be greatly appreciated.</p>
<p>Best regards,<br>
<strong>Subhasish Bag</strong></p></div>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div>