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 Building anthro_emis

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.

Hi All,

I am trying to build anthro emissions using the anthro_emis tool.
I am getting the following error while trying to run ./make_anthro.
I attach here the log file of the error.

I would really appreciate any help.


Best, Prerita
 

Attachments

  • anthro.log
    19.1 KB · Views: 108
Hi Prerita,

I have not used this program, but based on a quick look, it seems you have not supplied the netcdf path (i.e., this line "netcdf top level directory = /usr"). Look for your netcdf installation path, and (e.g., in bash), type export NETCDF_DIR=/path/to/your/netcdf/lib.

From the README..

The anthro_emis utility requires the netcdf library and make_anthro
will attempt to locate the libnetcdf.a library. However, this is
not a foolproof process and thus you may need to set the environment variable

NETCDF_DIR

to the directory containing the file lib/libnetcdf.a. As an example
in the ksh shell, if you issued the command :

export NETCDF_DIR=/usr/local/netcdf-4.1.2

then make_anthro would look for the file libnetcdf.a in the
directory /usr/local/netcdf-4.1.2/lib (make_anthro automatically
appends the /lib string to the NETCDF_DIR string.


Hope this helps!

Cheers,

Jordan
 
Top