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 while compiling WRF-Chem with KPP

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Hi colleagues.

I am experiencing an error when I try compiling WRF Chem along with the KPP library. The error is on the KPP library and it reads:

/usr/local/bin/yacc –d scan.y
Usage: /usr/local/bin/yacc [options] filename

-b file_prefix set filename prefix (default "y.")
-d write definitions (
-g write a graphical description
-l suppress #line directives
-o output_file (default "")
-p symbol_prefix set symbol prefix (default "yy")
-r produce separate code and table files (y.code.c)
-t add debugging support
-v write description (y.output)
-V show version information and exit
make: *** [Makefile:82:] Error 1

When I try compiling WRFChem with out KPP, everything work very well.

How can i solve this error?