[FLASH-BUGS] Implicit type errors when compiling included problems
Norbert Flocke
flocke at flash.uchicago.edu
Sun Sep 6 09:13:26 CDT 2020
Hi Catherine,
I think the Shafranov problem is called 'ShafranovShock' in FLASH. So you
should set it up as ./setup ShafranovShock ... Have a look at the users
guide page 541
(http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug_4p62.pdf)
which explains all the setup parameters.
Best,
Norbert
On Sun, 6 Sep 2020, Catherine Feldman wrote:
> Dear FLASH Users,
>
> I am new to FLASH, so I thought I would start by running some of the
> included problems. Unfortunately Iâve been getting errors that certain
> variables have no implicit type.
>
> For example, when trying to compile the Shafranov problem, like this:
>
> ./setup Shafranov -objdir=build/object_Shafranov_TEST âauto
>
> cd build/object_Shafranov_TEST
>
> make
>
> I have gotten errors like this:
>
> /usr/lib64/mpich/bin/mpif90 -I/usr/local/hypre/include -ggdb -c -O2
> -fdefault-real-8 -fdefault-double-8 -Wuninitialized -DMAXBLOCKS=1000
> -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Heatexchange.F90
> Heatexchange.F90:146:41:
>
> 146 | eint2 = solnData(EELE_VAR,i,j,k)
> | 1
> Error: Symbol âeele_varâ at (1) has no IMPLICIT type
> Heatexchange.F90:145:41:
>
> The same error appears for the variables EION_VAR, ERAD_VAR, TELE_VAR,
> TION_VAR, and TRAD_VAR. Other problems have given the same error for
> ENUC_VAR.
>
> These variables are not defined in the Shafranov problem Config files or in
> any of the Heatexchange Config files -- which is strange because every
> Heatexchange.F90 file in the
> source/physics/sourceTerms/Heatexchange/HeatexchangeMain/ folders uses
> these variables!
>
> Do you know where I should define these variables to get these problems to
> compile, and how should I know what to name them (for example, I see that
> DENS_VAR is actually named dens_variable in the Config file)?
>
> Thank you for your help!
>
> Best wishes,
>
> Catherine Feldman
>
More information about the flash-bugs
mailing list