PGF90-S-0084-Illegal use of symbol.not public entity of modu

Hi, all
While i was compile wrf_var, it shows following errors on the compile.log file:
compilers have been tested are PGI 8.0-5 and 10.0

rm -f module_configure.b module_configure.bb
pgf90 -c -r4 -i4 -O0 -w -Mfree -byteswapio module_configure.f90
PGF90-S-0084-Illegal use of symbol warnings_are_fatal - not public entity of module (da_reporting.f: 5)
PGF90-S-0084-Illegal use of symbol documentation_url - not public entity of module (da_reporting.f: 5)
PGF90-S-0084-Illegal use of symbol use_html - not public entity of module (da_reporting.f: 5)
PGF90-S-0084-Illegal use of symbol stdout - not public entity of module (da_reporting.f: 5)
0 inform, 0 warnings, 4 severes, 0 fatal for da_reporting
make[1]: [da_reporting.o] Error 2 (ignored)

i looked da_reporting.f file:
module da_reporting

use da_control, only : stdout, use_html, documentation_url, &
warnings_are_fatal

seems like compiler has problem to recognize these varibles.

any idea how can i fix this problem or similar experience? appreciated for your time. Thanks!

Hi XiqanDong55855,

What version of WRF are you using? I believe WRF-VAR only works with WRFv2 and would expect these types of errors if you’re using WRFv3.

  • Mat

Hi All,

I have the similar problem. Do you have any solution?
I install WRF-NMM version 3.3.1 and WRFDA version 3.4.

Thanks,

Antonio

Hi Antonio,

The above error was caused when there was a mismatch between versions. The modules being used had differences that caused the errors. Though, your errors could be different.

Can you please give an example of the error and let us know the compiler version and OS you are using?

  • Mat

Hi Mat,

My PGI version is 6.2 and OS is Linux. The following is the error
messages:

rm -f module_configure.b module_configure.bb
mpif90 -f90=pgf90 -c -r8 -i4 -O0 -w -Mfree -byteswapio module_configure.f90
PGF90-S-0076-Subscripts specified for non-array variable as1 (module_configure.f90: 7416)
PGF90-S-0072-Assignment operation illegal to external procedure as1 (module_configure.f90: 7416)
PGF90-S-0000-Internal compiler error. sym_of_ast: unexpected ast 14285 (module_configure.f90: 7416)
PGF90-S-0076-Subscripts specified for non-array variable as2 (module_configure.f90: 7417)
PGF90-S-0072-Assignment operation illegal to external procedure as2 (module_configure.f90: 7417)
PGF90-S-0000-Internal compiler error. sym_of_ast: unexpected ast 14288 (module_configure.f90: 7417)
PGF90-S-0076-Subscripts specified for non-array variable as3 (module_configure.f90: 7418)
PGF90-S-0072-Assignment operation illegal to external procedure as3 (module_configure.f90: 7418)
PGF90-S-0000-Internal compiler error. sym_of_ast: unexpected ast 14290 (module_configure.f90: 7418)
PGF90-S-0076-Subscripts specified for non-array variable as4 (module_configure.f90: 7419)
PGF90-S-0072-Assignment operation illegal to external procedure as4 (module_configure.f90: 7419)
PGF90-S-0000-Internal compiler error. sym_of_ast: unexpected ast 14292 (module_configure.f90: 7419)
PGF90-S-0076-Subscripts specified for non-array variable as5 (module_configure.f90: 7420)
PGF90-S-0072-Assignment operation illegal to external procedure as5 (module_configure.f90: 7420)
PGF90-S-0000-Internal compiler error. sym_of_ast: unexpected ast 14294 (module_configure.f90: 7420)
PGF90-S-0038-Symbol, as1, has not been explicitly declared (module_configure.f90: 5928)
PGF90-S-0038-Symbol, as2, has not been explicitly declared (module_configure.f90: 5928)
PGF90-S-0038-Symbol, as3, has not been explicitly declared (module_configure.f90: 5928)
PGF90-S-0038-Symbol, as4, has not been explicitly declared (module_configure.f90: 5928)
PGF90-S-0038-Symbol, as5, has not been explicitly declared (module_configure.f90: 5928)
0 inform, 0 warnings, 20 severes, 0 fatal for initial_config
make[1]: [module_configure.o] Error 2 (ignored)
rm -f module_alloc_space_9.o


Thanks,

Antonio

Hi Antonio,

I was able to recreate the error, but it looks correct to me. The variables as1, as2, as3, as4, and as5 all get included in module_configure.f90 when DA_CORE is set. However, nowhere do these variables get declared. My guess is that we’re missing some configuration step. If I have time, I’ll look around to see if I can find anything, but you may want to ask the folks at UCAR for help.

  • Mat