Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Error in compiling WRF-Chem V3.9.1

Eric Yip

New member
When I tried to compile WRF-Chem V3.9.1 with WRF_KPP=1, WRF_CHEM=1, WRF_EM_CORE=1, the following errors were recorded in compile.log.

procedure(xsqy), nopass, pointer :: xsqy_sub 1 Error: Fortran 2003: Procedure components at (1) are not yet implemented in gfortran rxn.f90:199.28: the_subs(m)%xsqy_sub => null() 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:223.22: subr(m)%xsqy_sub => r01 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:224.24: subr(m+1)%xsqy_sub => r01 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:234.22: subr(m)%xsqy_sub => r02 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:252.22: subr(m)%xsqy_sub => r03 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:253.24: subr(m+1)%xsqy_sub => r03 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:268.22: subr(m)%xsqy_sub => r04 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:269.24: subr(m+1)%xsqy_sub => r04 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:278.22: subr(m)%xsqy_sub => no_z_dep 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:288.22: subr(m)%xsqy_sub => r06 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:297.22: subr(m)%xsqy_sub => no_z_dep 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:309.22: subr(m)%xsqy_sub => r08 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:319.22: subr(m)%xsqy_sub => r09 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:336.22: subr(m)%xsqy_sub => r11 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:337.24: subr(m+1)%xsqy_sub => r11 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:338.24: subr(m+2)%xsqy_sub => r11 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:350.22: subr(m)%xsqy_sub => r12 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:366.22: subr(m)%xsqy_sub => r13 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:367.24: subr(m+1)%xsqy_sub => r13 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:368.24: subr(m+2)%xsqy_sub => r13 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:378.22: subr(m)%xsqy_sub => r14 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:388.22: subr(m)%xsqy_sub => r15 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:397.22: subr(m)%xsqy_sub => no_z_dep 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure rxn.f90:407.22: subr(m)%xsqy_sub => r17 1 Error: 'xsqy_sub' at (1) is not a member of the 'xsqy_subs' structure Fatal Error: Error count reached limit of 25. 0.03user 0.03system 0:00.08elapsed 84%CPU (0avgtext+0avgdata 6432maxresident)k 0inputs+16outputs (0major+11752minor)pagefaults 0swaps make[2]: [rxn.o] Error 1 (ignored)

Other fatal errors are shown as follow

Fatal Error: Can't open module file 'module_rxn.mod' for reading at (1): No such file or directory 2.51user 0.30system 0:02.82elapsed 99%CPU (0avgtext+0avgdata 18580maxresident)k 0inputs+8outputs (0major+14848minor)pagefaults 0swaps make[2]: [module_phot_tuv.o] Error 1 (ignored) Fatal Error: Can't open module file 'module_phot_tuv.mod' for reading at (1): No such file or directory 5.72user 0.67system 0:06.41elapsed 99%CPU (0avgtext+0avgdata 22432maxresident)k 0inputs+8outputs (0major+15832minor)pagefaults 0swaps make[2]: [chemics_init.o] Error 1 (ignored) ...

The compile.log file is attached.

Does anyone know how to solve these errors and compile WRF-Chem 3.9.1? Many thanks!
 

Attachments

  • compile.log
    1.8 MB · Views: 1
Top