Page 1 of 1

issues on era52arl - Makefile.inc

Posted: October 14th, 2020, 6:24 pm
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

Re: issues on era52arl - Makefile.inc

Posted: November 10th, 2022, 11:15 am
by dominichr1
Did you solve this? I am struggling to compile the Fortran code.

Re: issues on era52arl - Makefile.inc

Posted: November 14th, 2022, 8:12 am
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