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

Compiling WRF-Chem when ERRO says:Error in opening the compiled module file occur.

homi

New member
Hi guys!


I try to compile WRF-Chem 3.9 with intel compiler,and i meet some probelms below:

solve_em.f90(80): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_INPUT_CHEM_DATA]
USE module_input_chem_data
-------^
solve_em.f90(81): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULE_INPUT_TRACER]
USE module_input_tracer
-------^
solve_em.f90(524): error #6404: This name does not have a type, and must have an explicit type. [COUPLER_ON]
IF( coupler_on ) CALL cpl_store_input( grid, config_flags )
-------^
solve_em.f90(524): error #6341: A logical data type is required in this context. [COUPLER_ON]
IF( coupler_on ) CALL cpl_store_input( grid, config_flags )
-------^
solve_em.f90(1105): error #6404: This name does not have a type, and must have an explicit type. [COUPLER_ON]
IF (coupler_on) CALL cpl_settime( curr_secs2 )
-----------^
solve_em.f90(1105): error #6341: A logical data type is required in this context. [COUPLER_ON]
IF (coupler_on) CALL cpl_settime( curr_secs2 )
-----------^
solve_em.f90(6232): error #6404: This name does not have a type, and must have an explicit type. [COUPLER_ON]
IF ( coupler_on ) grid%just_read_auxinput4 = Is_alarm_tstep(grid%domain_clock, grid%alarms(AUXINPUT4_ALARM))
--------^

There are more erros like abvoe in my configure.wrf file.
I have searched for the solution,and found that compiling with command "./compile em_real -j 1 >& compile.log" would work.
But when i tried like that ,the compile program shut suddenly and with erro:"if: Badly formed number". I have attached the compile.log file below.

Can anyone help me with my problem? Thanks very much in advance for any help.
 

Attachments

  • compile.log
    54.4 KB · Views: 1
In line 35 of compile.log, the yacc program is inaccessible due to a permission error:
/public/home/xhuser014/mayy/hzy/zhanggr/software/yacc: Permission denied
then kpp is not compiled and the modules (MODULE_INPUT_CHEM_DATA) are not compiled.
 
In line 35 of compile.log, the yacc program is inaccessible due to a permission error:
/public/home/xhuser014/mayy/hzy/zhanggr/software/yacc: Permission denied
then kpp is not compiled and the modules (MODULE_INPUT_CHEM_DATA) are not compiled.
Thank you for your reply with sicerity.
Alright,i have fixed as you suggested.The problem i met resulted from the sub-directory yacc.
Hope that i can compile successfully this time.
Good luck for you and me.
 
Top