<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 class="gmail-overflow-visible! gmail-px-0!"><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-corner-superellipse/1.1 gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-sticky gmail-top-[calc(--spacing(9)+var(--header-height))] gmail-@w-xl/main:top-9"><div class="gmail-absolute end-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-bg-elevated-secondary gmail-text-token-text-secondary gmail-flex gmail-items-center gmail-gap-4 gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"></div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><code class="gmail-whitespace-pre! gmail-language-bash">./setup AlfvenAntenna -auto
</code></div></div></pre>
<p>but the build fails with:</p>
<pre class="gmail-overflow-visible! gmail-px-0!"><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-corner-superellipse/1.1 gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-sticky gmail-top-[calc(--spacing(9)+var(--header-height))] gmail-@w-xl/main:top-9"><div class="gmail-absolute end-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-bg-elevated-secondary gmail-text-token-text-secondary gmail-flex gmail-items-center gmail-gap-4 gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"></div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><code class="gmail-whitespace-pre! gmail-language-text">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 class="gmail-overflow-visible! gmail-px-0!"><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-corner-superellipse/1.1 gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-sticky gmail-top-[calc(--spacing(9)+var(--header-height))] gmail-@w-xl/main:top-9"><div class="gmail-absolute end-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-bg-elevated-secondary gmail-text-token-text-secondary gmail-flex gmail-items-center gmail-gap-4 gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"></div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><code class="gmail-whitespace-pre! gmail-language-fortran">module Grid_blockType_mod
</code></div></div></pre>
<p>Commands run:</p>
<pre class="gmail-overflow-visible! gmail-px-0!"><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-corner-superellipse/1.1 gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-sticky gmail-top-[calc(--spacing(9)+var(--header-height))] gmail-@w-xl/main:top-9"><div class="gmail-absolute end-0 gmail-bottom-0 gmail-flex gmail-h-9 gmail-items-center gmail-pe-2"><div class="gmail-bg-token-bg-elevated-secondary gmail-text-token-text-secondary gmail-flex gmail-items-center gmail-gap-4 gmail-rounded-sm gmail-px-2 gmail-font-sans gmail-text-xs"></div></div></div><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"><code class="gmail-whitespace-pre! gmail-language-bash">grep -R <span class="gmail-hljs-string">"module Grid_blockType_mod"</span> <span class="gmail-hljs-built_in">source</span>/Grid
find <span class="gmail-hljs-built_in">source</span>/Grid -name <span class="gmail-hljs-string">"*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>