Good afternoon,
My lab mates and I have shifted to the latest version of WRF-Chem, which is 4.7.1. We have been trying to compile this model, but we are all getting the same error.
The error message occurs when trying to compile module_phot_tuv. It reads:
The module_phot_tuv.f90 file is generated when you compile WRF-Chem; in looking at this .f90 file, it becomes apparent that there is a typo in the file. Line 648 SHOULD contain
, but for some reason, that line isn't being produced, even though the module_phot_tuv.F's corresponding code has a line that says "
" When we compared 4.7.1 to a successfully compiled older version of WRF-Chem (V3.9.1), we found that the module_phot_tuv.F code was exactly the same as V4.7.1 in the section where we were getting the error. Yet 3.9.1 had the select case ( config_flags%chem_opt ) in its module_phot_tuv.f90. We are truly at a loss as to why this is happening. Our best guess is that in V4.7.1, something is going wrong in the interim .G and .bb files that are produced before the .f90 and .o files, but we don't know what.
I tried compiling V4.7.0 of WRF-Chem as well to see if the error persists into older versions, and I found that I was indeed getting this error in V4.7.0. This error did not appear when I tried compiling V4.6.1, which would imply that this issue is occurring with the newest versions of WRF-Chem.
Has anyone else run into this issue? We are not sure how to fix this problem.
Thank you!
My lab mates and I have shifted to the latest version of WRF-Chem, which is 4.7.1. We have been trying to compile this model, but we are all getting the same error.
The error message occurs when trying to compile module_phot_tuv. It reads:
Code:
module_phot_tuv.f90(675): error #6609: A case-selector exists without a preceding SELECT CASE statement.
case( mozart_mosaic_4bin_aq_kpp )
-----^
compilation aborted for module_phot_tuv.f90 (code 1)
The module_phot_tuv.f90 file is generated when you compile WRF-Chem; in looking at this .f90 file, it becomes apparent that there is a typo in the file. Line 648 SHOULD contain
Code:
select case ( config_flags%chem_opt )
Code:
select case ( n ).
I tried compiling V4.7.0 of WRF-Chem as well to see if the error persists into older versions, and I found that I was indeed getting this error in V4.7.0. This error did not appear when I tried compiling V4.6.1, which would imply that this issue is occurring with the newest versions of WRF-Chem.
Has anyone else run into this issue? We are not sure how to fix this problem.
Thank you!