Error in Building anthro_emis

Post Reply
preritaagarwal
Posts: 33
Joined: Thu Mar 12, 2020 11:21 am

Error in Building anthro_emis

Post by preritaagarwal » Fri Jun 12, 2020 4:22 pm

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.09 KiB) Downloaded 35 times

jordanschnell
Posts: 132
Joined: Thu Feb 27, 2020 10:58 pm

Re: Error in Building anthro_emis

Post by jordanschnell » Fri Jun 12, 2020 6:41 pm

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

Post Reply

Return to “Emissions”