I have successfully installed the latest version of EECODES in /opt/eecdodes, as far as I'm able to run grib_dump and grib_to_netcdf on grib files, and eccodes.mod exists in /opt/eccodes/include .
I have downloaded the latest version of HYSPLIT for CENTOS 7, hysplit.v5.3.0_CentOS7.9.2009 .
In the directory data2arl/era52arl there are three files: era52arl.f, era52arl.o, and Makefile. In Makefile I have just modified two directions pointing to eccodes/lib that now point to eccodes/lib64
When typing sudo make in the era52arl directory I get the following error:
Code: Select all
(base) [jago@isabelc era52arl]$ sudo make
[sudo] password for jago:
gfortran -g -O2 -g -fconvert=big-endian -frecord-marker=4 -fPIC -falign-commons -finit-local-zero -ffree-form -o ../../exec/era52arl era52arl.o -L../../library -lhysplit
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: era52arl.o: en la función `MAIN__':
/home/chrisl/hysplit.v5.3.0_CentOS7.9.2009/data2arl/era52arl/era52arl.f:447: referencia a `__grib_api_MOD_grib_multi_support_on' sin definir
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /home/chrisl/hysplit.v5.3.0_CentOS7.9.2009/data2arl/era52arl/era52arl.f:450: referencia a `__grib_api_MOD_grib_open_file' sin definir
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /home/chrisl/hysplit.v5.3.0_CentOS7.9.2009/data2arl/era52arl/era52arl.f:455: referencia a `__grib_api_MOD_grib_count_in_file' sin definir
...
Thanks again!