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

Subhasish Bag subhasish.bag at apctp.org
Tue Feb 3 01:10:00 EST 2026


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20260203/ad41a87c/attachment.htm>


More information about the flash-users mailing list