arw2arl compilation
Posted: February 22nd, 2016, 12:36 pm
Hello,
Recently, I have been attempting to compile arw2arl function on Ubuntu 14.04 using gfortran.
However, when I try to compile the makefile using 'make' I get the following error message:
Here are the following 'modifications' I have made to the makefile:
-> I specified the file path for the locations of netcdf.so & netcdff.(NETLIB) and the locations of netcdf.h netcdf.inc (NETINC).
-> I changed
into
in order to avoid the "undefined reference ..._ error.
Any help would be greatly appreciated.
M.
Recently, I have been attempting to compile arw2arl function on Ubuntu 14.04 using gfortran.
However, when I try to compile the makefile using 'make' I get the following error message:
Code: Select all
gfortran -o ../../exec/arw2arl -O2 -fconvert=big-endian -frecord-marker=4 -ffree-form -Dgfortran -I/usr/include arw2arl.f libarw.a -I/usr/lib -lnetcdff -I../../library -lhysplit
/usr/bin/ld: cannot find -lhysplit
collect2: error: ld returned 1 exit status
make: *** [arw2arl] Error 1
-> I specified the file path for the locations of netcdf.so & netcdff.(NETLIB) and the locations of netcdf.h netcdf.inc (NETINC).
-> I changed
Code: Select all
LINKS = -L$(NETLIB) -lnetcdff -L../../library -lhysplitCode: Select all
LINKS = -I$(NETLIB) -lnetcdff -I../../library -lhysplitAny help would be greatly appreciated.
M.