issues on era52arl - Makefile.inc

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
bliucy
Posts: 2
Joined: October 14th, 2020, 6:19 pm
Registered HYSPLIT User: No

issues on era52arl - Makefile.inc

Post by bliucy »

Hi,
Thank you for all the efforts.

When I compiling era52arl, the problem "../../Makefile.inc: No such file or directory" appeared.

Could you please help me on this issue. Thanks.

Bo
dominichr1
Posts: 7
Joined: May 24th, 2022, 9:49 am
Registered HYSPLIT User: Yes

Re: issues on era52arl - Makefile.inc

Post by dominichr1 »

Did you solve this? I am struggling to compile the Fortran code.
sonny.zinn
Posts: 354
Joined: May 8th, 2019, 1:31 pm
Registered HYSPLIT User: Yes

Re: issues on era52arl - Makefile.inc

Post by sonny.zinn »

The Makefile.inc file will need to be created to match your computing environment. You might want to modify the following template which assumes that the ECCODES library is installed to /opt/eccodes. If the library is installed to a different directory, ECCODES_TOPDIR, ECCODESINC, and ECCODESLIBS need to be changed to match the library location:

Code: Select all

# ECCODES library for building the API2ARL and ERA2ARL programs
ECCODES_TOPDIR= /opt/eccodes
ECCODESINC= -I/opt/eccodes/include
ECCODESLIBS= -L/opt/eccodes/lib -leccodes_f90 -leccodes

# Define FORTRAN compiler and its options.
FC=gfortran
FFLAGS_FREEFORM= -ffree-form
FFLAGS=$(OPTIMIZATION) -fconvert=big-endian -frecord-marker=4 -fPIC -falign-commons -finit-local-zero
Post Reply

Return to “Conversion programs”