[FLASH-USERS] FLASH 4.8 build error: missing Grid_blockType_mod with UG grid

Ryan Farber rjfarber at umich.edu
Tue Feb 3 01:25:58 EST 2026


Hi Subhasish,

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`)

Anyway, one quick, possibly inconsequential point is that Fortran is case
insensitive. So when you use grep, you should use the -i flag.
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).

Best wishes,
--------
Ryan


On Mon, Feb 2, 2026 at 10:10 PM Subhasish Bag <subhasish.bag at apctp.org>
wrote:

> Dear FLASH developers and users,
>
> I am trying to build *FLASH 4.8* with a custom simulation unit based on
> *Simulation/SimulationMain/AlfvenAntenna*, using:
>
>    -
>
>    Grid: Grid/GridMain/UG
>    -
>
>    Hydro: physics/Hydro/HydroMain/unsplit
>    -
>
>    EOS: physics/Eos/EosMain/Gamma
>    -
>
>    Source term: physics/sourceTerms/ExternalCurrent
>
> The setup command completes successfully:
>
> ./setup AlfvenAntenna -auto
>
> but the build fails with:
>
> Simulation_init.F90:50:7:
>   use Grid_blockType_mod
> Fatal Error: Cannot open module file ‘grid_blocktype_mod.mod’
>
> I checked the source tree and cannot find any file defining:
>
> module Grid_blockType_mod
>
> Commands run:
>
> grep -R "module Grid_blockType_mod" source/Grid
> find source/Grid -name "*block*"
>
> (no matches found)
>
> However, Simulation_init.F90 clearly requires blockType, and the UG grid
> is enabled.
>
> My questions are:
>
>    1.
>
>    Which unit in FLASH 4.8 is supposed to provide Grid_blockType_mod for
>    the UG grid?
>    2.
>
>    Is my source tree incomplete or corrupted, or has this module been
>    renamed in newer FLASH versions?
>    3.
>
>    Is Simulation/SimulationMain/AlfvenAntenna compatible with UG in FLASH
>    4.8?
>
> Any guidance would be greatly appreciated.
>
> Best regards,
> *Subhasish Bag*
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20260202/ffaea6ad/attachment.htm>


More information about the flash-users mailing list