Problem with compilation

Posts related to the installation of WRF Chemistry

Problem with compilation

Postby miklosera » Thu May 09, 2013 10:17 am

Dear WRF/Chem help

I already had a successfully running version of the WRF model on my computer and i tried to install the chem part as well.
I had the chem folder in the WRFV3 directory and i wrote configure, it happenned or it looks like.
Than if I write compile em_real, I keep getting:



...............
opening Registry/registry.dimspec
including Registry/registry.dimspec
opening Registry/Registry.EM_COMMON
including Registry/Registry.EM_COMMON
opening Registry/registry.io_boilerplate
including Registry/registry.io_boilerplate
opening Registry/io_boilerplate_temporary.inc
including Registry/io_boilerplate_temporary.inc
opening Registry/registry.chem
including Registry/registry.chem
opening Registry/registry.fire
including Registry/registry.fire
opening Registry/registry.avgflx
including Registry/registry.avgflx
opening Registry/registry.stoch
including Registry/registry.stoch
opening Registry/registry.les
including Registry/registry.les
opening Registry/registry.cam
including Registry/registry.cam
opening Registry/registry.ssib
including Registry/registry.ssib
opening Registry/registry.diags
including Registry/registry.diags
Registry warning: some problem with dimstring ij.
Registry warning: some problem with dimstring i+jf
Registry warning: some problem with dimstring i{dust}jf
Registry warning: some problem with dimstring i{dust}jf
Registry warning: some problem with dimstring i]jf
Registry warning: some problem with dimstring i{tz}j{tr}
Registry warning: some problem with dimstring {tc}{tl}k
Registry warning: some problem with dimstring {tl}{tr}{tz}
Registry warning: some problem with dimstring {tr}
Registry warning: some problem with dimstring i{airc}jf
Registry warning: some problem with dimstring ijo
Registry warning: some problem with dimstring ij{nm}
Registry warning: some problem with dimstring i%jf
Registry warning: some problem with dimstring i{ghgv}jf
Registry warning: some problem with dimstring {ghgv}
Registry INFO variable counts: 0d 2066 1d 325 2d 866 3d 701
WARNING: There is no 4D array named emis_ant
WARNING: There is no 4D array named emis_ant
WARNING: There is no 4D array named emis_ant
.......

And than it can make a 40 giga big log file made out of this line:
WARNING: There is no 4D array named emis_ant

How I see it is from the fire module. But I'm trying to compile the chem not the fire could you help me what is happenning?

Thanks,
Best regards,
Erika Miklos
miklosera
 
Posts: 22
Joined: Thu Aug 30, 2012 2:08 pm

Re: Problem with compilation

Postby ahwrf » Thu Oct 17, 2013 3:25 pm

I've had the same problem while installing WRFDA.
Maybe it is the failure of gcc; and changing to other compiler can solve the problem.
ahwrf
 
Posts: 11
Joined: Thu Dec 15, 2011 3:36 am
Location: Persia

Re: Problem with compilation

Postby wrf_utexas » Sat Sep 13, 2014 11:51 pm

Hello guys,

I encountered the same problem. Apparently, this problem was caused by mismatch of registry and compile configuration. Generally speaking, it's safe to compile another case of WRF if you issue command "./clean -all" before doing so. However, switch between WRF and WRF-Chem requires one more step, which is deleting two files in Registry directory:
io_boilerplate_temporary.inc
Registry

These files are auto-generated in your compiling process, so you can delete them without any problem. And then compile you code again. There would be no such errors any more.

The reason is that "./clean -all" actually does not mean completely clean all results from issue of compile command.

Best,
wrf_utexas
wrf_utexas
 
Posts: 4
Joined: Sat Sep 13, 2014 11:31 pm

Re: Problem with compilation

Postby jralisse » Wed Oct 22, 2014 3:12 am

Hi - I have been trying over the last days to switch from WRF to WRF-CHEM and have encountered several problems during the compilation. I have not been able to solve them so I would be glad to receive help from competent users (that perhaps went through the same problems before).

I use option 32 in configure
32. x86_64 Linux, gfortran compiler with gcc (serial)
WRF_CHEM is set to 1 - I do not use for the moment KPP

The compilation of em_real fails due to several errors. The errors seem to be linked to the failure in creation of some mod files, due to compilation problems of the initial fortran files. I used the following version of gcc compiler

gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]

Some of the compilation errors in the compile.log file:

module_add_emiss_burn.f90:353.57:

CASE (MOZART_KPP,MOZCART_KPP,MOZART_MOSAIC_4BIN_KPP, MOZART_MOSAIC_4BIN_A
1
Error: Symbol 'mozart_mosaic_4bin_kpp' at (1) has no IMPLICIT type
module_add_emiss_burn.f90:393.53:

chem_opt .EQ. MOZART_MOSAIC_4BIN_AQ_KPP) THEN
1
Error: Symbol 'mozart_mosaic_4bin_aq_kpp' at (1) has no IMPLICIT type
module_add_emiss_burn.f90:392.50:

IF (chem_opt .EQ. MOZART_MOSAIC_4BIN_KPP .OR. &
1
Error: Symbol 'mozart_mosaic_4bin_kpp' at (1) has no IMPLICIT type
make[2]: [module_add_emiss_burn.o] Error 1 (ignored)


module_mozcart_wetscav.f90:148.59:

IF (config_flags%chem_opt == MOZART_MOSAIC_4BIN_AQ_KPP) THEN
1
Error: Symbol 'mozart_mosaic_4bin_aq_kpp' at (1) has no IMPLICIT type
module_mozcart_wetscav.f90:149.56:

wet_scav_tab(38) = wet_scav( 'cvasoaX', p_cvasoaX, (/0.0e+00, 0., 0., 0.
1
Error: Symbol 'p_cvasoax' at (1) has no IMPLICIT type
module_mozcart_wetscav.f90:154.56:

wet_scav_tab(43) = wet_scav( 'cvbsoaX', p_cvbsoaX, (/0.0e+00, 0., 0., 0.
1
Error: Symbol 'p_cvbsoax' at (1) has no IMPLICIT type
make[2]: [module_mozcart_wetscav.o] Error 1 (ignored)



module_gocart_dust_afwa.f90:176.31:

IF (config_flags%dust_dsr .eq. 1) then
1
Error: 'dust_dsr' at (1) is not a member of the 'grid_config_rec_type' structure
module_gocart_dust_afwa.f90:188.31:

IF (config_flags%dust_veg .eq. 1) then
1
Error: 'dust_veg' at (1) is not a member of the 'grid_config_rec_type' structure
module_gocart_dust_afwa.f90:199.36:

ELSE IF (config_flags%dust_veg .eq. 2) then
1
Error: 'dust_veg' at (1) is not a member of the 'grid_config_rec_type' structure
module_gocart_dust_afwa.f90:205.10:

ELSE
1
Error: Unexpected ELSE statement at (1)
module_gocart_dust_afwa.f90:214.9:

ENDIF
1
Error: Expecting END DO statement at (1)
module_gocart_dust_afwa.f90:228.33:

IF (config_flags%dust_soils .eq. 1) then
1
Error: 'dust_soils' at (1) is not a member of the 'grid_config_rec_type' structure
module_gocart_dust_afwa.f90:236.10:

ELSE
1
Error: Unexpected ELSE statement at (1)
module_gocart_dust_afwa.f90:239.9:

ENDIF
1
Error: Expecting END DO statement at (1)
module_gocart_dust_afwa.f90:287.33:

IF (config_flags%dust_smois == 1) then
1
Error: 'dust_smois' at (1) is not a member of the 'grid_config_rec_type' structure
module_gocart_dust_afwa.f90:302.10:

ELSE
1



module_bioemi_megan2.f90:84.8:

USE module_data_mgn2mech
1
Fatal Error: Can't open module file 'module_data_mgn2mech.mod' for reading at (1): No such file or directory
make[2]: [module_bioemi_megan2.o] Error 1 (ignored)


module_aerosols_soa_vbs.f90:6797.7:

USE module_mosaic_addemiss, only: seasalt_emitfactors_1bin
1
Fatal Error: Can't open module file 'module_mosaic_addemiss.mod' for reading at (1): No such file or directory
make[2]: [module_aerosols_soa_vbs.o] Error 1 (ignored)

Thanks for your help,


Kind regards,

Jean
jralisse
 
Posts: 4
Joined: Wed Oct 22, 2014 2:32 am

Re: Problem with compilation

Postby tomaschor » Mon Nov 10, 2014 1:16 pm

First, check if you have all the libraries you should have when compiling KPP (assuming that you want to compile with KPP), otherwise set the KPP variable to zero.
Another thing is that, whn compiling, you should have the CHEM variable set to 1 in your system. Not only on the configure.wrf file! This is a mistake I made once and it took me a long time to figure that out.

Check those things, try again and post results.
Good luck!
tomaschor
 
Posts: 9
Joined: Fri Jun 27, 2014 2:33 pm

Re: Problem with compilation

Postby los » Fri Nov 21, 2014 5:10 pm

miklosera wrote:Dear WRF/Chem help

I already had a successfully running version of the WRF model on my computer and i tried to install the chem part as well.
I had the chem folder in the WRFV3 directory and i wrote configure, it happenned or it looks like.
Than if I write compile em_real, I keep getting:



...............
opening Registry/registry.dimspec
including Registry/registry.dimspec
opening Registry/Registry.EM_COMMON
including Registry/Registry.EM_COMMON
opening Registry/registry.io_boilerplate
including Registry/registry.io_boilerplate
opening Registry/io_boilerplate_temporary.inc
including Registry/io_boilerplate_temporary.inc
opening Registry/registry.chem
including Registry/registry.chem
opening Registry/registry.fire
including Registry/registry.fire
opening Registry/registry.avgflx
including Registry/registry.avgflx
opening Registry/registry.stoch
including Registry/registry.stoch
opening Registry/registry.les
including Registry/registry.les
opening Registry/registry.cam
including Registry/registry.cam
opening Registry/registry.ssib
including Registry/registry.ssib
opening Registry/registry.diags
including Registry/registry.diags
Registry warning: some problem with dimstring ij.
Registry warning: some problem with dimstring i+jf
Registry warning: some problem with dimstring i{dust}jf
Registry warning: some problem with dimstring i{dust}jf
Registry warning: some problem with dimstring i]jf
Registry warning: some problem with dimstring i{tz}j{tr}
Registry warning: some problem with dimstring {tc}{tl}k
Registry warning: some problem with dimstring {tl}{tr}{tz}
Registry warning: some problem with dimstring {tr}
Registry warning: some problem with dimstring i{airc}jf
Registry warning: some problem with dimstring ijo
Registry warning: some problem with dimstring ij{nm}
Registry warning: some problem with dimstring i%jf
Registry warning: some problem with dimstring i{ghgv}jf
Registry warning: some problem with dimstring {ghgv}
Registry INFO variable counts: 0d 2066 1d 325 2d 866 3d 701
WARNING: There is no 4D array named emis_ant
WARNING: There is no 4D array named emis_ant
WARNING: There is no 4D array named emis_ant
.......

And than it can make a 40 giga big log file made out of this line:
WARNING: There is no 4D array named emis_ant

How I see it is from the fire module. But I'm trying to compile the chem not the fire could you help me what is happenning?

Thanks,
Best regards,
Erika Miklos


Hello Erika,

Could you solve the warning problem? I've tried what wrf_texas mentioned but it didn't work. Actually if I use "./clean -a" it removes the files that he/she mentions but it creates a Registry.backup file.

I have no clue about how to solve this issue, if anyone have solve it, please let me know. Any help would be appreciated.

Carlos
los
 
Posts: 2
Joined: Fri Nov 21, 2014 5:06 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests