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 compiling WRF CHEM w/ KPP in version 4.7.1

William.Hatheway

Active member
Similar to this error with 4.7.1: Unable to compile WRF-Chem V4.7.1

WRF CHEM with KPP fails to build with ./configure and compile using intel llvm dmpar (option 78)

Prior to WRF 4.7.0 and 4.7.1 version 4.6.1 worked without a change. My guess something changed in one of these two versions to cause this issue.

I have attached relevant log files to see if that helps determine the issue.

Things I have tried:

compiling the em_real a second time to see if it solves the linking problems
changed compilers to GNU (error still persists)
 

Attachments

  • chem_kpp_fails_4.7.1.zip
    107.2 KB · Views: 0
Apologies for not seeing this earlier. I have to make a bug fix for this. The issue should be resolved by adding ../ to the tuv_kpp FIRST call in chem/KPP/compile_wkc:
Code:
118  # generate tuv photolysis inc files
119    if( -e $model.tuv.jmap ) then
120      if( $found == 0 ) then
121        $WKC_HOME/util/wkc/tuv_kpp FIRST ../../../../inc/ #!< Extra ../ added here
122        set found = 1
123      endif
124      $WKC_HOME/util/wkc/tuv_kpp $model ../../../../inc/
125    endif
 
Apologies for not seeing this earlier. I have to make a bug fix for this. The issue should be resolved by adding ../ to the tuv_kpp FIRST call in chem/KPP/compile_wkc:
Code:
118  # generate tuv photolysis inc files
119    if( -e $model.tuv.jmap ) then
120      if( $found == 0 ) then
121        $WKC_HOME/util/wkc/tuv_kpp FIRST ../../../../inc/ #!< Extra ../ added here
122        set found = 1
123      endif
124      $WKC_HOME/util/wkc/tuv_kpp $model ../../../../inc/
125    endif
@islas

Will this be a new patch to WRF or just a pull request for the github?
 
Apologies for not seeing this earlier. I have to make a bug fix for this. The issue should be resolved by adding ../ to the tuv_kpp FIRST call in chem/KPP/compile_wkc:
To fix the issue, insert ../ in the tuv_kpp FIRST call in chem/KPP/compile_wkc
 
Top