[FLASH-USERS] HydroStatic unit does not compile

Klaus Weide klaus at flash.uchicago.edu
Mon Nov 23 16:30:01 EST 2015


On Mon, 23 Nov 2015, Ben Wibking wrote:

> Hi,
> 
> When I try to compile the HydroStatic unit included in FLASH4.3, I get
> the following error:
> 
> mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -Wuninitialized
>  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=1 -DNZB=1 -DN_DIM=1
> Grid_bcApplyToRegionSpecialized.F90
> Grid_bcApplyToRegionSpecialized.F90:204.23:
> 
>   use Grid_data, ONLY : gr_myPE
>                        1
> Error: Symbol 'gr_mype' referenced at (1) not found in module 'grid_data'
> Grid_bcApplyToRegionSpecialized.F90:546.59:

Ben,

It seems the HydroStatic example is a bit out of date w.r.t. the rest of 
the FLASH code.

See whether the following fixes it:

In the file Grid_bcApplyToRegionSpecialized.F90, replace all occurrences 
of 'gr_myPE' with 'gr_meshMe'.


Klaus



More information about the flash-users mailing list